>>>>> Teemu Rinne <[EMAIL PROTECTED]> (TR) wrote: >TR> Hi, >TR> Based on google searches, it seems that rpy (interface for R) should build >TR> ok on 10.3.9... how to do it? Is there a binary installer available >TR> (compatible with pythonmac.org/packages/)?
>TR> Building for R version 2.1.1 ... >TR> running build >TR> running build_py >TR> running build_ext >TR> building '_rpy' extension >TR> gcc -Wl,-F. -Wl,-F. -bundle -framework Python >TR> build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/rpymodule.o >TR> build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/R_eval.o >TR> build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/io.o >TR> -L/Library/Frameworks/R.framework/Resources/Frameworks -lR -o >TR> build/lib.darwin-7.9.0-Power_Macintosh-2.3/_rpy.so >TR> ld: warning -L: directory name >TR> (/Library/Frameworks/R.framework/Resources/Frameworks) does not exist I tried this also. It appears that the required lib is in /Library/Frameworks/R.framework/Resources/lib rather than /Library/Frameworks/R.framework/Resources/Frameworks. You can either make a symbolic link from lib to Frameworks or issue the following command (all in one line): /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config/PantherPythonFix/run-gcc -Wl,-F. -Wl,-F. -bundle -undefined dynamic_lookup build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/rpymodule.o build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/R_eval.o build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/io.o -L/Library/Frameworks/R.framework/Resources/lib -lR -o build/lib.darwin-7.9.0-Power_Macintosh-2.3/_rpy.so and redo the python setup.py install afterwards. -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4] Private email: [EMAIL PROTECTED] _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig