I tried to build Rcartogram from Omegahat 
 It requires fftw3 (available from www.fftw.org) to be built and installed on 
the machine
before Rcartogram can be built.
the usual configure/make/sudo install worked without problems on my Mac (OSX 
10.6.3, Xcode 3.2.1, 64bit version)
R CMD INSTALL Rcartogram then gave the following message:

gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names 
-undefined dynamic_lookup -single_module -multiply_defined suppress 
-L/usr/local/lib -o Rcartogram.so Rcart.o cart.o -L/usr/local/lib -lfftw3 
-lfftw3 -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework 
-Wl,CoreFoundation
ld: warning: in /usr/local/lib/libfftw3.a, file is not of required architecture

I have no experience building with Xcode on OSX, but I assume the the problem 
comes from the fact 
that Xcode is the 64bit version.
Is there a switch I can set so that libfftw3 is compiled in a way R can use it?
Is there a way to build both the 32bit and the 64bit version of the library?
What else can I do do make it work?



--
Erich Neuwirth
Didactic Center for Computer Science and Institute for Scientific Computing
University of Vienna





        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to