2008/8/7 Warnes, Gregory R. <[EMAIL PROTECTED]>: > I get a similar error on my Mac Leopard system: > > > [Crooked-2:~/src/rpy_nextgen] warnes% python setup.py build > running build > running build_py > creating build > creating build/lib.darwin-9.4.0-i386-2.4 > creating build/lib.darwin-9.4.0-i386-2.4/rpy2 > copying rpy/__init__.py -> build/lib.darwin-9.4.0-i386-2.4/rpy2 (...) > build/temp.darwin-9.4.0-i386-2.4/rpy/rinterface/array.o > In file included from rpy/rinterface/array.c:7: > rpy/rinterface/rinterface.h:16: error: syntax error before 'Py_ssize_t'
Uh, uh... forget my earlier post. Py_ssize_t is only existing since Python 2.5, I think. > rpy/rinterface/rinterface.h:16: warning: no semicolon at end of struct > or union > rpy/rinterface/rinterface.h:19: error: syntax error before '}' token > rpy/rinterface/rinterface.h:19: warning: type defaults to 'int' in > declaration of 'SexpObject' > rpy/rinterface/rinterface.h:19: warning: data definition has no type or > storage class > rpy/rinterface/rinterface.h:24: error: syntax error before 'SexpObject' > rpy/rinterface/rinterface.h:24: warning: no semicolon at end of struct > or union > rpy/rinterface/rinterface.h:26: warning: type defaults to 'int' in > declaration of 'PySexpObject' > rpy/rinterface/rinterface.h:26: warning: data definition has no type or > storage class > rpy/rinterface/array.c:103: error: syntax error before '*' token > rpy/rinterface/array.c:104: warning: function declaration isn't a > prototype > rpy/rinterface/array.c: In function 'array_struct_get': > rpy/rinterface/array.c:105: error: 'self' 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.) > error: command 'gcc' failed with exit status 1 > > > Where my gcc is: > > [Crooked-2:~/src/rpy_nextgen] warnes% gcc --version > i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484) > Copyright (C) 2005 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is > NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > > > -Greg > ------------------------------------------------------------------------- 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