How I eventually got the build working (thanks mucho to Kjell Konis who maintains the R port for MacPorts):
+ I had to make a small change to setup.py. In the elif + sys.platform=='darwin': block I added 'Rblas' to the libraries. That + is I changed libraries=['R'] to libraries=['R','Rblas']. Then, after + setting the following 2 environment variables + + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`R RHOME`/lib + export MACOSX_DEPLOYMENT_TARGET=10.4 + + rpy built fine using the Apple supplied gcc 4.0.1. Also there were some linking problems in the rpy so's that I had to fix with otool: BAD: $ otool -L _rpy2050.so _rpy2050.so: libR.dylib (compatibility version 2.5.0, current version 2.5.0) libRblas.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.9) FIX WITH: $ install_name_tool -change libR.dylib /opt/local/lib/R/lib/ libR.dylib _rpy2050.so $ install_name_tool -change libRblas.dylib /opt/local/lib/R/lib/ libRblas.dylib _rpy2050.so JDO ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list