Hi,
Try using the svn version, rpy2-2.0.0a3 is missing headers.

Nicholas
On Wed, 3 Sep 2008 01:59:07 +0100, "Etuka Onono" <[EMAIL PROTECTED]> said:
> Hello,
> 
> I have the following compile error when trying to build rpy2-2.0.0a3.
>  >>>
> building 'rpy2.rinterface.rinterface' extension
> gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused- 
> madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes - 
> DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe - 
> g -DR_INTERFACE_PTRS=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -I/ 
> Library/Frameworks/R.framework/Resources/include -Irpy/rinterface -I/ 
> System/Library/Frameworks/Python.framework/Versions/2.5/include/ 
> python2.5 -c rpy/rinterface/array.c -o build/temp.macosx-10.5-i386-2.5/ 
> rpy/rinterface/array.o
> rpy/rinterface/array.c:103: error: syntax error before &#8216;*&#8217; token
> rpy/rinterface/array.c:104: warning: function declaration isn&#8217;t a  
> prototype
> rpy/rinterface/array.c: In function &#8216;array_struct_get&#8217;:
> rpy/rinterface/array.c:105: warning: implicit declaration of function  
> &#8216;RPY_SEXP&#8217;
> rpy/rinterface/array.c:105: error: &#8216;self&#8217; undeclared (first use 
> in  
> this function)
> rpy/rinterface/array.c:105: error: (Each undeclared identifier is  
> reported only once
> rpy/rinterface/array.c:105: error: for each function it appears in.)
> rpy/rinterface/array.c:105: warning: initialization makes pointer from  
> integer without a cast
> rpy/rinterface/array.c:103: error: syntax error before &#8216;*&#8217; token
> rpy/rinterface/array.c:104: warning: function declaration isn&#8217;t a  
> prototype
> rpy/rinterface/array.c: In function &#8216;array_struct_get&#8217;:
> rpy/rinterface/array.c:105: warning: implicit declaration of function  
> &#8216;RPY_SEXP&#8217;
> rpy/rinterface/array.c:105: error: &#8216;self&#8217; undeclared (first use 
> in  
> this function)
> rpy/rinterface/array.c:105: error: (Each undeclared identifier is  
> reported only once
> rpy/rinterface/array.c:105: error: for each function it appears in.)
> rpy/rinterface/array.c:105: warning: initialization makes pointer from  
> integer without a cast
> lipo: can't open input file: /var/folders/S0/S0L2IJNaGdqPs3a4cwhVck++ 
> +TI/-Tmp-//ccOoqfmp.out (No such file or directory)
> <<<
> 
> Any help to sort this out would be appreciated.

-------------------------------------------------------------------------
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