That was indeed the problem, thank you very much for the hint!

BTW, if you run Mac OS 10.5, the default python is OK, but with 10.4
it's too old. And if you run both, do try to remember which machine
you checked the specs on to avoid embarrassment :)

cheers
Cath

2008/11/3 laurent <[EMAIL PROTECTED]>:
> Hint: the Python version you are trying to compile rpy2 against (2.3) is
> not supported.
>
> http://rpy.sourceforge.net/rpy2/doc/html/overview.html#requirements

> On Mon, 2008-11-03 at 16:20 +1100, cajela wrote:
>> Hi,
>>
>> I just downloaded the release candidate rpy2-2.0.0rc1.tar.gz, and it
>> won't build on my mac. Is the problem likely to be at my end, or
>> yours?
>>
>> I have:
>> * Mac OSX 10.4.11 with developer tools
>> * the most recent version of R.app in the Mac binary distribution: R
>> 2.7.2 GUI 1.25 (5217)
>>
>> This is the full output from the install command  (after a clean)
>> python setup.py install
>> =============================================================
>> running install
>> running build
>> running build_py
>> running build_ext
>> building 'rpy2.rinterface.rinterface' extension
>> creating build/temp.darwin-8.11.1-i386-2.3
>> creating build/temp.darwin-8.11.1-i386-2.3/rpy
>> creating build/temp.darwin-8.11.1-i386-2.3/rpy/rinterface
>> gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
>> -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
>> -Wstrict-prototypes -DR_INTERFACE_PTRS=1 -DCSTACK_DEFNS=1
>> -DRIF_HAS_RSIGHAND=1
>> -I/Library/Frameworks/R.framework/Resources/include
>> -I/Library/Frameworks/R.framework/Resources/include/i386
>> -Irpy/rinterface
>> -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3
>> -c rpy/rinterface/array.c -o
>> build/temp.darwin-8.11.1-i386-2.3/rpy/rinterface/array.o
>> gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
>> -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
>> -Wstrict-prototypes -DR_INTERFACE_PTRS=1 -DCSTACK_DEFNS=1
>> -DRIF_HAS_RSIGHAND=1
>> -I/Library/Frameworks/R.framework/Resources/include
>> -I/Library/Frameworks/R.framework/Resources/include/i386
>> -Irpy/rinterface
>> -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3
>> -c rpy/rinterface/rinterface.c -o
>> build/temp.darwin-8.11.1-i386-2.3/rpy/rinterface/rinterface.o
>> In file included from rpy/rinterface/rinterface.c:68:
>> /Library/Frameworks/R.framework/Resources/include/R_ext/Rdynload.h:26:
>> warning: function declaration isn't a prototype
>> rpy/rinterface/rinterface.c: In function 'EmbeddedR_end':
>> rpy/rinterface/rinterface.c:455: error: 'Py_RETURN_NONE' undeclared
>> (first use in this function)
>> rpy/rinterface/rinterface.c:455: error: (Each undeclared identifier is
>> reported only once
>> rpy/rinterface/rinterface.c:455: error: for each function it appears in.)
>> rpy/rinterface/rinterface.c:456: warning: no return statement in
>> function returning non-void
>> rpy/rinterface/rinterface.c: In function 
>> 'EmbeddedR_exception_from_errmessage':
>> rpy/rinterface/rinterface.c:473: warning: initialization discards
>> qualifiers from pointer target type
>> error: command 'gcc' failed with exit status 1
>>
>> ==============================
>>
>>
>> FYI: the older version, rpy-1.0.3.tar.gz, builds fine.
>>
>> Any hints that I could try, or do I have to wait for a big fix?
>>
>> cheers
>> Cath
>
>



-- 
Cath Lawrence    ---  cajela at gmail dot com
http://thecanberracook.blogspot.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to