Re: [R] Error message when building a package

From: Prof Brian D Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue 30 Jan 2007 - 07:21:40 GMT

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@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 Tue Jan 30 18:31:14 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 Tue 30 Jan 2007 - 09:30:25 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.