Hi List,

I try to install rpy2-2.1 package from the setup.py script, which
throws up compilation errors as below. I am using Arch Linux 64 bit.
Any way to get round the problem?

Yo

----


running install
running build
running build_py
running build_ext
building 'rpy2.rinterface.rinterface' extension
gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fPIC
-DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1
-DRIF_HAS_RSIGHAND=1 -Irpy/rinterface -I/usr/include/python3.2mu
-I/usr/include/R/ -c rpy/rinterface/rinterface.c -o
build/temp.linux-x86_64-3.2/rpy/rinterface/rinterface.o
-L/usr/lib/R/lib -lR -llapack -lblas
In file included from /usr/include/python3.2mu/Python.h:8:0,
                 from rpy/rinterface/rinterface.c:55:
/usr/include/python3.2mu/pyconfig.h:1170:0: warning: "_POSIX_C_SOURCE"
redefined [enabled by default]
/usr/include/features.h:215:0: note: this is the location of the
previous definition
In file included from rpy/rinterface/rinterface.c:62:0:
/usr/include/R/Rinternals.h:657:1: warning: function declaration isn’t
a prototype [-Wstrict-prototypes]
In file included from rpy/rinterface/rinterface.c:74:0:
/usr/include/R/R_ext/Rdynload.h:26:1: warning: function declaration
isn’t a prototype [-Wstrict-prototypes]
rpy/rinterface/rinterface.c:86:1: error: unknown type name ‘staticforward’
rpy/rinterface/rinterface.c:86:23: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from rpy/rinterface/rinterface.c:100:0:
rpy/rinterface/na_values.c: In function ‘NAInteger_repr’:
rpy/rinterface/na_values.c:14:5: warning: implicit declaration of
function ‘PyString_FromString’ [-Wimplicit-function-declaration]

[... hundreds of near-identical lines ...]

rpy/rinterface/na_values.c:14:10: warning: assignment makes pointer
from integer without a cast [enabled by default]
rpy/rinterface/na_values.c: In function ‘NA_str’:
rpy/rinterface/na_values.c:25:10: warning: assignment makes pointer
from integer without a cast [enabled by default]
rpy/rinterface/na_values.c: At top level:
 rpy/rinterface/buffer.c:208:1: warning: ‘VectorSexp_getwritebuf’
defined but not used [-Wunused-function]
rpy/rinterface/buffer.c:216:1: warning: ‘VectorSexp_getcharbuf’
defined but not used [-Wunused-function]
rpy/rinterface/rinterface.c:2774:28: warning: ‘externalMethods’
defined but not used [-Wunused-variable]
error: command 'gcc' failed with exit status 1

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to