RPy2 fails to install on Mac OS X when building against R built from source

Issue #53 resolved
jergosh created an issue

RPy2 insstall dies when trying to build rinterface.c:

building 'rpy2.rinterface.rinterface' extension gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe -DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -Irpy/rinterface -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -c rpy/rinterface/rinterface.c -o build/temp.macosx-10.6-universal-2.6/rpy/rinterface/rinterface.o -F/Library/Frameworks/R.framework/.. -framework R -framework vecLib cc1: error: unrecognized command line option "-framework vecLib" cc1: error: unrecognized command line option "-framework vecLib" cc1: error: unrecognized command line option "-framework vecLib"

This is the case both with R-2.11.1 built from source as well as R-devel.

When building against R installed from package the same part of installation goes as follows:

building 'rpy2.rinterface.rinterface' extension gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe -DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -Irpy/rinterface -I/System/Library/Frameworks/Python.framework/Versions/2.6/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.6-universal-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

That's on Python 2.6.1, Mac OS 10.6.4

Best, Greg

Comments (4)

  1. Log in to comment