Re: [R] Problem installing rgdal on Mac OS X

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu 05 Apr 2007 - 03:45:52 GMT

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@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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu Apr 05 13:49:41 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 05 Apr 2007 - 06:30:50 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.