Skip to content
Prev 6340 / 15075 Next

Error when trying to compile R-devel

On Sep 27, 2009, at 10:42 AM, cstrato wrote:

            
It means that the linker is confused about the 64-bit Intel binary of  
Tcl/Tk (the 64-bit version of Tcl/Tk is only for Leopard so it's not  
that surprising). However, I'm not sure why it's looking at 64-bit  
binaries, because Tiger doesn't have 64-bit X11 so you cannot build 64- 
bit R on Tiger out of the box. I would suggest that you use -arch i386  
when configuring R to make sure the linker is looking at 32-bit only.

This is mostly what the CRAN build uses:

CC="gcc -arch i386 -std=gnu99" CXX="g++ -arch i386" OBJC="gcc -arch  
i386 -std=gnu99" F77="gfortran -arch i386" FC="gfortran -arch i386"

Cheers,
Simon