[Pythonmac-SIG] Building rpy
Craig Amundsen
amundsen463 at yahoo.com
Wed Jun 23 12:08:54 EDT 2004
i -
I"m trying to build rpy on a reasonably vanilla OSX
(10.3.4) system.
I"ve installed the 10.3 Python extras and used
PackMan to install
Numeric.
I built R 1.9.0 using the Mac specific config options
(--with-blas="-framework vecLib" --with-lapack
--with-aqua) and
--enable-R-shlib as the rpy docs require.
I have RHOME pointing to
/Library/Frameworks/R.framework/Resources/bin
I have a link in /usr/local/bin R@ ->
/Library/Frameworks/R.framework/Resources/bin/R
and on in /usr/local/lib libR.dylib@ ->
/Library/Frameworks/R.framework/Resources/bin/libR.dylib
When I try to build rpy (python setup.py build) I get
the following
errors:
building "_rpy" extension
gcc -fno-strict-aliasing -Wno-long-double
-no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3
-Wall -DPRE_2_2
-DR_HOME="/Library/Frameworks/R.framework/Resources"
-DWITH_NUMERIC
-I/Library/Frameworks/R.framework/Resources/include
-Isrc
-I/System/Library/Frameworks/Python.framework/Versions/2.3/include/
python2.3 -c src/rpymodule.c -o
build/temp.darwin-7.4.0-Power_Macintosh-2.3/src/rpymodule.o
In file included from src/rpymodule.c:24:
src/RPy.h:39:33: Numeric/arrayobject.h: No such file
or directory
src/rpymodule.c: In function `to_Rarray":
src/rpymodule.c:247: error: `PyArrayObject"
undeclared (first use in
this function)
src/rpymodule.c:247: error: (Each undeclared
identifier is reported
only once
src/rpymodule.c:247: error: for each function it
appears in.)
src/rpymodule.c:247: error: `obj" undeclared (first
use in this
function)
It looks like I"m not finding Numeric during the
compilation. I
installed Numeric with PackMan using the source, is
there something
else I need to do for this work?
TIA,
-Craig
More information about the Pythonmac-SIG
mailing list