[R] Problem installing rgdal on Mac OS X

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Apr 5 05:45:52 CEST 2007


On Wed, 4 Apr 2007, Thomas Adams wrote:

> Please forgive me for posting this here if it is not appropriate (where
> should this question be posed?)?

The R posting guide asked you to ask the maintainer, but as this is a 
MacOS X issue, on the R-sig-mac list.  It's not appropriate for R-help 
because of

'Questions likely to prompt discussion unintelligible to non-programmers 
should go to to R-devel.'  (R posting guide.)

Also R-sig-geo would be appropriate for support questions for this 
package.

> I am attempting to install rgdal (from source, since there is no binary)
> on Mac OS X 10.4.9 on a PowerPC G3 Macintosh. I have R version 2.4.1
> (2006-12-18) installed. Following the install directions suggested at:

You need a later version of the Xcode tools. 
RSiteSearch("-macosx_version_min") got me there on the first hit.

[... error was]

> g++-4.0 -arch ppc -dynamiclib -Wl,-macosx_version_min -Wl,10.3
> -undefined dynamic_lookup -single_module -multiply_defined suppress
> -L/usr/local/lib -o rgdal.so OGR_write.o gdal-bindings.o ogr_geom.o
> ogr_proj.o ogrdrivers.o ogrsource.o projectit.o
> -L/Library/Frameworks/PROJ.framework/Versions/4.5/unix/lib
> -L/Library/Frameworks/GDAL.framework/unix/lib -lgdal -lproj
> -L/Library/Frameworks/R.framework/Resources/lib/ppc -lR -dylib_file
> libRblas.dylib:/Library/Frameworks/R.framework/Resources/lib/ppc/libRblas.dylib
> /usr/bin/libtool: unknown option character `m' in: -macosx_version_min


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list