[R-SIG-Mac] problematic MACOSX_DEPLOYMENT_TARGET

Christoph Heibl christoph.heibl at gmx.net
Wed Oct 22 11:33:35 CEST 2008


Dear list,

after having installed R-2.8.0 on Mac OS 10.4.11, I get an error  
message when I try to install the source of a package (please see  
below). I was trying to find a solution on the web, but my  
understanding of the architecture of Mac OS is to weak to make  
something out of the hints I found. Can someone point me towards an  
easy-understandable solution to the problem? What do I have to change  
exactly and how can I do it?

Thank you in advance!
Christoph Heibl

# The problem ...
# trying to install 'gee'

 > install.packages("gee", type = "source")
trying URL 'http://cran.miroir-francais.fr/src/contrib/ 
gee_4.13-13.tar.gz'
Content type 'application/x-gzip' length 50101 bytes (48 Kb)
opened URL
==================================================
downloaded 48 Kb

WARNING: ignoring environment value of R_HOME
* Installing *source* package 'gee' ...
** libs
** arch - i386
gfortran -arch i386   -fPIC  -g -O2 -c dgedi.f -o dgedi.o
gfortran -arch i386   -fPIC  -g -O2 -c dgefa.f -o dgefa.o
gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/ 
include -I/Library/Frameworks/R.framework/Resources/include/i386  -I/ 
usr/local/include    -fPIC  -g -O2 -c ugee.c -o ugee.o
gcc -arch i386 -std=gnu99 -dynamiclib -Wl,- 
headerpad_max_install_names  -undefined dynamic_lookup -single_module  
-multiply_defined suppress -L/usr/local/lib -o gee.so dgedi.o dgefa.o  
ugee.o -L/Library/Frameworks/R.framework/Resources/lib/i386 -lRblas - 
lgfortran -lgfortran -F/Library/Frameworks/R.framework/.. -framework  
R -Wl,-framework -Wl,CoreFoundation
** arch - ppc
gfortran -arch ppc   -fPIC  -g -O2 -c dgedi.f -o dgedi.o
gfortran -arch ppc   -fPIC  -g -O2 -c dgefa.f -o dgefa.o
gcc -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 ugee.c -o ugee.o
gcc -arch ppc -std=gnu99 -dynamiclib -Wl,- 
headerpad_max_install_names  -undefined dynamic_lookup -single_module  
-multiply_defined suppress -L/usr/local/lib -o gee.so dgedi.o dgefa.o  
ugee.o -L/Library/Frameworks/R.framework/Resources/lib/ppc -lRblas - 
lgfortran -lSystemStubs -lgfortran -lSystemStubs -F/Library/ 
Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: flag: -undefined dynamic_lookup can't be used with  
MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link  
edit command failed
make: *** [gee.so] Error 1
chmod: /Library/Frameworks/R.framework/Versions/2.8/Resources/library/ 
gee/libs/ppc/*: No such file or directory
ERROR: compilation failed for package 'gee'
** Removing '/Library/Frameworks/R.framework/Versions/2.8/Resources/ 
library/gee'

The downloaded packages are in
	/private/tmp/RtmpH8ykpZ/downloaded_packages
Updating HTML index of packages in '.Library'
Warning message:
In install.packages("gee", type = "source") :
   installation of package 'gee' had non-zero exit status


________________________________________________________

Christoph Heibl

Systematic Botany
Ludwig-Maximilians-Universität München
Menzinger Str. 67
D-80638 München
GERMANY

phone:     +49-(0)89-17861-251
e-mail:    heibl at lmu.de

http://www.christophheibl.de/ch-home.html

SAVE PAPER - THINK BEFORE YOU PRINT



More information about the R-SIG-Mac mailing list