Hi, I'm trying to install rimage on a Mac OS X 10.4 machine. I followed the advice in previous R-help threads and got over the hurdles of having the header files in the right places, among other things. But I can't figure out what to do with this error. ice.pnl.gov:/home/waichler<949>system_profiler -detailLevel mini SPSoftwareDataType Software: System Software Overview: System Version: Mac OS X 10.4.11 (8S165) Kernel Version: Darwin 8.10.0 ice.pnl.gov:/home/waichler<942>echo $C_INCLUDE_PATH /usr/local/include ice.pnl.gov:/home/waichler<946>echo $MACOSX_DEPLOYMENT_TARGET 10.4 ice.pnl.gov:/home/waichler<947>sudo R CMD INSTALL --configure-vars='LDFLAGS=-L/sw/lib CPPFLAGS=-I/sw/include' /Users/ladmin/rimage_0.5-7.tar.gz . . . gcc -arch ppc -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/ppc -g -O2 -I/sw/include-I/usr/local/include -fPIC -g -O2 -c sobel.c -o sobel.o g++ -arch ppc -dynamiclib -Wl,-headerpad_max_install_names -mmacosx-version-min=10.4 -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o rimage.so equalize.o fftw_access_func.o freqfilters.o interface.o jpegio.o laplacian.o matrix.o smooth.o sobel.o -L/sw/lib -ljpeg -lfftw -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: /Library/Frameworks/R.framework/../R.framework/R load command 14 unknown cmd field /usr/bin/libtool: internal link edit command failed make: *** [rimage.so] Error 1 chmod: /Library/Frameworks/R.framework/Versions/2.8/Resources/library/rimage/li bs/ppc/*: No such file or directory ERROR: compilation failed for package 'rimage' (I have also tried to install the package from the Mac GUI for R, but it quits at not being able to find the jpeglib.h file, which I solved in the command line session excerpted above using "setenv C_INCLUDE_PATH /usr/local/include".) Scott Waichler Pacific Northwest National Laboratory scott.waichler at pnl.gov
Simon Urbanek
2008-Nov-12 19:32 UTC
[R] [R-SIG-Mac] rimage doesn't install on Mac OS X 10.4
Scott, can you, please, include sessionInfo() in your output? Without knowing what machine you're running on (and incomplete output you sent) I can only guess that you simply don't have universal binary of your dependent libraries so you cannot build a universal package (somewhat likely given that you're pulling in fink directories). Cheers, Simon On Nov 12, 2008, at 12:45 , Waichler, Scott R wrote:> Hi, > > I'm trying to install rimage on a Mac OS X 10.4 machine. I followed > the > advice in previous R-help threads and got over the hurdles of having > the > header files in the right places, among other things. But I can't > figure out what to do with this error. > > ice.pnl.gov:/home/waichler<949>system_profiler -detailLevel mini > SPSoftwareDataType > Software: System Software Overview: > System Version: Mac OS X 10.4.11 (8S165) > Kernel Version: Darwin 8.10.0 > ice.pnl.gov:/home/waichler<942>echo $C_INCLUDE_PATH > /usr/local/include > ice.pnl.gov:/home/waichler<946>echo $MACOSX_DEPLOYMENT_TARGET > 10.4 > > ice.pnl.gov:/home/waichler<947>sudo R CMD INSTALL > --configure-vars='LDFLAGS=-L/sw/lib CPPFLAGS=-I/sw/include' > /Users/ladmin/rimage_0.5-7.tar.gz > . . . > gcc -arch ppc -std=gnu99 > -I/Library/Frameworks/R.framework/Resources/include > -I/Library/Frameworks/R.framework/Resources/include/ppc -g -O2 > -I/sw/include-I/usr/local/include -fPIC -g -O2 -c sobel.c -o > sobel.o > g++ -arch ppc -dynamiclib -Wl,-headerpad_max_install_names > -mmacosx-version-min=10.4 -undefined dynamic_lookup -single_module > -multiply_defined suppress -L/usr/local/lib -o rimage.so equalize.o > fftw_access_func.o freqfilters.o interface.o jpegio.o laplacian.o > matrix.o smooth.o sobel.o -L/sw/lib -ljpeg -lfftw > -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework > -Wl,CoreFoundation > ld: /Library/Frameworks/R.framework/../R.framework/R load command 14 > unknown cmd field > /usr/bin/libtool: internal link edit command failed > make: *** [rimage.so] Error 1 > chmod: > /Library/Frameworks/R.framework/Versions/2.8/Resources/library/ > rimage/li > bs/ppc/*: No such file or directory > ERROR: compilation failed for package 'rimage' > > (I have also tried to install the package from the Mac GUI for R, > but it > quits at not being able to find the jpeglib.h file, which I solved in > the command line session excerpted above using "setenv C_INCLUDE_PATH > /usr/local/include".) > > Scott Waichler > Pacific Northwest National Laboratory > scott.waichler at pnl.gov > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > >