[R-SIG-Mac] rimage doesn't install on Mac OS X 10.4

Waichler, Scott R Scott.Waichler at pnl.gov
Wed Nov 12 21:33:39 CET 2008


> 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).

Here is the sessionInfo() output from my ssh session on the Mac:

> sessionInfo()
R version 2.8.0 (2008-10-20)
powerpc-apple-darwin8.11.1

locale:
C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base


And here's the complete output from my install attempt:

ice.pnl.gov:/home/waichler<952>sudo R CMD INSTALL
--configure-vars='LDFLAGS=-L/sw/lib CPPFLAGS=-I/sw/include'
/Users/ladmin/rimage_0.5-7.tar.gz
Password:
* Installing to library
'/Library/Frameworks/R.framework/Resources/library'
* Installing *source* package 'rimage' ...
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fftw.h usability... yes
checking fftw.h presence... yes
checking for fftw.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
** arch - ppc
g++ -arch ppc -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 equalize.cpp -o
equalize.o
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 fftw_access_func.c
-o fftw_access_func.o
g++ -arch ppc -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 freqfilters.cpp
-o freqfilters.o
g++ -arch ppc -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 interface.cpp -o
interface.o
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 jpegio.c -o
jpegio.o
jpegio.c: In function 'read_JPEG_file':
jpegio.c:108: warning: pointer targets in assignment differ in
signedness
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 laplacian.c -o
laplacian.o
laplacian.c: In function 'laplacian':
laplacian.c:14: warning: implicit declaration of function 'clearFrame'
g++ -arch ppc -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 matrix.cpp -o
matrix.o
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 smooth.c -o
smooth.o
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'
** Removing
'/Library/Frameworks/R.framework/Versions/2.8/Resources/library/rimage'
ice.pnl.gov:/home/waichler<953>                   

Scott



More information about the R-SIG-Mac mailing list