Hi Wes, [more below]
On 03/10/10 06:27, Wes McKinney wrote: > I've been having an extremely difficult time building rpy2 on Snow > Leopard with 64-bit EPD 6.2.2 What version of rpy2 are you trying to build ? (seems that it is rpy2-2.2.x-dev one of the comment below, but better be explicit). > running build > running build_py > running build_ext > building 'rpy2.rinterface.rinterface' extension > gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -arch > x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk > -I/Library/Frameworks/EPD64.framework/Versions/6.2/include > -DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1 > -DRIF_HAS_RSIGHAND=1 -I./rpy/rinterface > -I/Library/Frameworks/EPD64.framework/Versions/6.2/include/python2.6 > -I/Library/Frameworks/R.framework/Resources/include > -I/Library/Frameworks/R.framework/Resources/include/x86_64 -c > ./rpy/rinterface/rinterface.c -o > build/temp.macosx-10.5-x86_64-2.6/./rpy/rinterface/rinterface.o > -F/Library/Frameworks/R.framework/.. -framework R > -L/Library/Frameworks/R.framework/Resources/lib/x86_64 -lRlapack > -L/Library/Frameworks/R.framework/Resources/lib/x86_64 -lRblas > In file included from ./rpy/rinterface/rinterface.c:111: > ./rpy/rinterface/rexternalptr.c: In function ‘ExtPtrSexp_init’: > ./rpy/rinterface/rexternalptr.c:33: warning: return makes pointer from > integer without a cast > ./rpy/rinterface/rexternalptr.c:45: warning: return makes pointer from > integer without a cast > ./rpy/rinterface/rinterface.c: In function ‘EmbeddedR_init’: > ./rpy/rinterface/rinterface.c:1075: warning: passing argument 2 of > ‘Rf_initialize_R’ from incompatible pointer type > ./rpy/rinterface/rinterface.c: In function ‘initrinterface’: > ./rpy/rinterface/rinterface.c:3177: warning: ‘return’ with a value, in > function returning void > i686-apple-darwin10-gcc-4.2.1: -lRlapack: linker input file unused > because linking not done > i686-apple-darwin10-gcc-4.2.1: -lRblas: linker input file unused > because linking not done > gcc -g -arch x86_64 -L/usr/local/lib > -L/Library/Frameworks/EPD64.framework/Versions/6.2/lib -bundle > -undefined dynamic_lookup -arch x86_64 > build/temp.macosx-10.5-x86_64-2.6/./rpy/rinterface/rinterface.o > -L-F/Library/Frameworks/R.framework/.. -L-framework -LR > -L/Library/Frameworks/R.framework/Resources/modules -lR -o > build/lib.macosx-10.5-x86_64-2.6/rpy2/rinterface/rinterface.so > ld: warning: directory '-F/Library/Frameworks/R.framework/..' > following -L not found > ld: warning: directory '-framework' following -L not found > ld: warning: directory 'R' following -L not found > ld: library not found for -lR > collect2: ld returned 1 exit status > error: command 'gcc' failed with exit status 1 > > I don't know what's the story with those linker flags. Getting same > error with 32-bit EPD as well. I got rpy2 tip to compile about a month > ago but I was getting bus errors when running code importing the > library (the same code worked fine on my 64-bit Ubuntu desktop). rpy2 is currently primarily developed on Linux, and unless sponsored support on other OS will lag behind. We can discuss this further off-list if you are interested. > Tried building R from source but entered a whole world of hurt with > various dyld errors (and still couldn't get rpy2 to build, so now I'm > back to the official CRAN binary). > > Any suggestions (other than giving up on OS 10.6?)? File a bug report, and keep an eye on the bug report status. Laurent > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list