[R] Error message when building a package

Prof Brian D Ripley ripley at stats.ox.ac.uk
Tue Jan 30 08:21:40 CET 2007


Please update your Xcode tools.  According to

http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html

2.2 or later is needed, and 2.4.1 is current.


On Tue, 30 Jan 2007, C. Lillian Yau wrote:

> I'm trying to build a package. The machine is PowerPC G4 with Mac OS 10.4.8,
> and I'm using R2.4.1.
>
> I get "R CMD build roots" working, and it created roots.tar.gz. But I get
> the following message when I run "R CMD INSTALL -l ../myrlibrary
> roots.tar.gz"
>
> ======================================================================
> * Installing *source* package 'roots' ...
> ** libs
> ** arch - ppc
> gcc-4.0 -arch ppc -std=gnu99
> -I/Library/Frameworks/R.framework/Resources/include
> 
-I/Library/Frameworks/R.framework/Resources/include/ppc
> -I/usr/local/include    -fPIC  -g -O2 -c fifrt.c -o fifrt.o
> gfortran-4.0 -arch ppc   -fPIC  -g -O2 -c fthrt.f -o fthrt.o
> gcc-4.0 -arch ppc -std=gnu99 -dynamiclib -Wl,-macosx_version_min -Wl,10.3
> -undefined dynamic_lookup -single_module -multiply_defined suppress
> -L/usr/local/lib -o roots.so fifrt.o fthrt.o  -lgfortran -lgcc_s
> -lSystemStubs -lmx -lSystem
> -L/Library/Frameworks/R.framework/Resources/lib/ppc -lR -dylib_file
> libRblas.dylib:/Library/Frameworks/R.framework/Resources/lib/ppc/libRblas.dy
> lib
> /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