Hi all,
I'm getting the following with Python 2.5 under Tiger on a MacBook (Intel),
gcc 4.0.1. I fixed the
src/rpymodule2051.c:1764: error: âR_CStackLimitâ undeclared (first use
in this function) error by editing the C function, but the end result was
the same.
Thanks in advance,
Anand Patil
mws8:~/Desktop/rpy- 1.0-RC3 anand$ python setup.py install
RHOMES= []
Setting RHOMES to ['/Library/Frameworks/R.framework/Resources']
### Using R verion 2.5.1 installed at
/Library/Frameworks/R.framework/Resources ###
RHOME= /Library/Frameworks/R.framework/Resources
copying src/rpymodule.c -> src/rpymodule2051.c
copying src/R_eval.c -> src/R_eval2051.c
copying src/io.c -> src/io2051.c
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/utils.py:89:
DeprecationWarning: get_numpy_include is deprecated, use get_include
DeprecationWarning)
running install
running build
running build_py
running build_ext
building '_rpy2051' extension
C compiler: gcc -DNDEBUG -g -O3 -Wall -arch ppc -arch ppc64 -arch i386 -arch
x86_64 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min= 10.4
compile options: '-DWITH_NUMERIC=3 -DPY_ARRAY_TYPES_PREFIX=PyArray_
-DRPY_SHNAME=_rpy2051 -DINIT_RPY=init_rpy2051 -UPRE_2_2
-I/Library/Frameworks/R.framework/Resources/include -Isrc
-I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c'
gcc: src/rpymodule2051.c
In file included from
/Library/Frameworks/R.framework/Resources/include/R.h:39,
from src/RPy.h:51,
from src/rpymodule2051.c:43:
/Library/Frameworks/R.framework/Resources/include/Rconfig.h:9:27: error:
ppc64/Rconfig.h: No such file or directory
In file included from src/RPy.h:54,
from src/rpymodule2051.c:43:
/Library/Frameworks/R.framework/Resources/include/Rversion.h:9:28: error:
ppc64/Rversion.h: No such file or directory
In file included from
/Library/Frameworks/R.framework/Resources/include/R.h:39,
from src/RPy.h:51,
from src/rpymodule2051.c:43:
/Library/Frameworks/R.framework/Resources/include/Rconfig.h:12:28: error:
x86_64/Rconfig.h: No such file or directory
In file included from src/RPy.h:54,
from src/rpymodule2051.c:43:
/Library/Frameworks/R.framework/Resources/include/Rversion.h:12:29: error:
x86_64/Rversion.h: No such file or directory
src/rpymodule2051.c:1318: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1321: warning: âintargfuncâ is deprecated
src/rpymodule2051.c:1321: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1323: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1318: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1321: warning: âintargfuncâ is deprecated
src/rpymodule2051.c:1321: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1323: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1318: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1321: warning: âintargfuncâ is deprecated
src/rpymodule2051.c:1321: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1323: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1318: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1321: warning: âintargfuncâ is deprecated
src/rpymodule2051.c:1321: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1323: warning: initialization from incompatible pointer
type
src/rpymodule2051.c: In function âinit_rpy2051â:
src/rpymodule2051.c:1764: error: âR_CStackLimitâ undeclared (first use
in this function)
src/rpymodule2051.c:1764: error: (Each undeclared identifier is reported
only once
src/rpymodule2051.c:1764: error: for each function it appears in.)
src/rpymodule2051.c: In function âinit_rpy2051â:
src/rpymodule2051.c:1764: error: âR_CStackLimitâ undeclared (first use
in this function)
src/rpymodule2051.c:1764: error: (Each undeclared identifier is reported
only once
src/rpymodule2051.c:1764: error: for each function it appears in.)
lipo: can't figure out the architecture type of: /var/tmp//ccL5oLCW.out
In file included from
/Library/Frameworks/R.framework/Resources/include/R.h:39,
from src/RPy.h:51,
from src/rpymodule2051.c:43:
/Library/Frameworks/R.framework/Resources/include/Rconfig.h:9:27: error:
ppc64/Rconfig.h: No such file or directory
In file included from src/RPy.h:54,
from src/rpymodule2051.c:43:
/Library/Frameworks/R.framework/Resources/include/Rversion.h:9:28: error:
ppc64/Rversion.h: No such file or directory
In file included from
/Library/Frameworks/R.framework/Resources/include/R.h:39,
from src/RPy.h:51,
from src/rpymodule2051.c:43:
/Library/Frameworks/R.framework/Resources/include/Rconfig.h:12:28: error:
x86_64/Rconfig.h: No such file or directory
In file included from src/RPy.h:54,
from src/rpymodule2051.c:43:
/Library/Frameworks/R.framework/Resources/include/Rversion.h:12:29: error:
x86_64/Rversion.h: No such file or directory
src/rpymodule2051.c:1318: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1321: warning: âintargfuncâ is deprecated
src/rpymodule2051.c:1321: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1323: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1318: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1321: warning: âintargfuncâ is deprecated
src/rpymodule2051.c:1321: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1323: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1318: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1321: warning: âintargfuncâ is deprecated
src/rpymodule2051.c:1321: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1323: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1318: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1321: warning: âintargfuncâ is deprecated
src/rpymodule2051.c:1321: warning: initialization from incompatible pointer
type
src/rpymodule2051.c:1323: warning: initialization from incompatible pointer
type
src/rpymodule2051.c: In function âinit_rpy2051â:
src/rpymodule2051.c:1764: error: âR_CStackLimitâ undeclared (first use
in this function)
src/rpymodule2051.c:1764: error: (Each undeclared identifier is reported
only once
src/rpymodule2051.c:1764: error: for each function it appears in.)
src/rpymodule2051.c: In function âinit_rpy2051â:
src/rpymodule2051.c:1764: error: âR_CStackLimitâ undeclared (first use
in this function)
src/rpymodule2051.c:1764: error: (Each undeclared identifier is reported
only once
src/rpymodule2051.c:1764: error: for each function it appears in.)
lipo: can't figure out the architecture type of: /var/tmp//ccL5oLCW.out
error: Command "gcc -DNDEBUG -g -O3 -Wall -arch ppc -arch ppc64 -arch i386
-arch x86_64 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=
10.4 -DWITH_NUMERIC=3 -DPY_ARRAY_TYPES_PREFIX=PyArray_ -DRPY_SHNAME=_rpy2051
-DINIT_RPY=init_rpy2051 -UPRE_2_2
-I/Library/Frameworks/R.framework/Resources/include -Isrc
-I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
src/rpymodule2051.c -o build/temp.macosx- 10.3-fat-2.5/src/rpymodule2051.o"
failed with exit status 1
mws8:~/Desktop/rpy-1.0-RC3 anand$
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list