[R] rimage don't install on mac OS X 10.5.5
Florencio Gonzalez Blazquez
florencio.gblazquez at gmail.com
Fri Oct 31 09:04:43 CET 2008
Hello, i'm trying to install de rimage package form source. I have
installed fftw2.1.5 and libjpeg, but during compilation appear this
message:
* 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 - i386
g++ -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-
version-min=10.4 -I/Library/Frameworks/R.framework/Resources/include -
I/Library/Frameworks/R.framework/Resources/include/i386 -g -O2 -
msse3 -fPIC -g -O2 -march=nocona -c equalize.cpp -o equalize.o
gcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-
version-min=10.4 -std=gnu99 -I/Library/Frameworks/R.framework/
Resources/include -I/Library/Frameworks/R.framework/Resources/include/
i386 -g -O2 -msse3 -fPIC -g -O2 -march=nocona -c
fftw_access_func.c -o fftw_access_func.o
fftw_access_func.c:10:18: error: fftw.h: No such file or directory
fftw_access_func.c: In function ‘fftw_access_func’:
fftw_access_func.c:20: error: ‘fftwnd_plan’ undeclared (first use in
this function)
fftw_access_func.c:20: error: (Each undeclared identifier is reported
only once
fftw_access_func.c:20: error: for each function it appears in.)
fftw_access_func.c:20: error: syntax error before ‘plan’
fftw_access_func.c:21: error: ‘fftw_complex’ undeclared (first use in
this function)
fftw_access_func.c:21: error: ‘i’ undeclared (first use in this
function)
fftw_access_func.c:21: error: ‘s’ undeclared (first use in this
function)
fftw_access_func.c:32: error: syntax error before ‘)’ token
fftw_access_func.c:33: error: syntax error before ‘)’ token
fftw_access_func.c:39: error: ‘fftw_real’ undeclared (first use in
this function)
fftw_access_func.c:39: error: syntax error before ‘img’
fftw_access_func.c:40: error: syntax error before ‘img’
fftw_access_func.c:43: error: ‘plan’ undeclared (first use in this
function)
fftw_access_func.c:43: warning: implicit declaration of function
‘fftw2d_create_plan’
fftw_access_func.c:43: error: ‘FFTW_ESTIMATE’ undeclared (first use in
this function)
fftw_access_func.c:45: warning: implicit declaration of function
‘fftwnd_one’
fftw_access_func.c:46: warning: implicit declaration of function
‘fftwnd_destroy_plan’
make: *** [fftw_access_func.o] Error 1
chmod: /Library/Frameworks/R.framework/Resources/library/rimage/libs/
i386/*: No such file or directory
** Removing '/Library/Frameworks/R.framework/Resources/library/rimage'
The downloaded packages are in
/private/var/folders/qX/qXlI7THDG4OBxM62gqgvk++++TI/-Tmp-/Rtmpr3rr50/
downloaded_packages
ERROR: compilation failed for package 'rimage'
I'm using R 2.7.0 in a macBook Pro 2.5 GHz Intel Core Duo with Mac OS
X version 10.5.5
I hope somene could explain me what I'm doing wrong
Thanks in advance.
Florencio González Blázquez
More information about the R-help
mailing list