On 21 May 2010 at 13:09, Gaubitzer Erwin wrote: | Package: python-rpy2 | Version: 2.1.1-1 | Severity: normal | | There are no files in | /usr/lib/python2.5/site-packages | | because compilation fails, as checked by | apt-get -b source python-rpy2 | | with following output | | .... | for python in python2.5 python2.6; \ | do $python setup.py install --root=debian/python-rpy2; \ | done | running install | running build | running build_py | running build_ext | building 'rpy2.rinterface.rinterface' extension | gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall | -Wstrict-prototypes -g -O2 -fPIC -DR_INTERFACE_PTRS=1 | -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 | -Irpy/rinterface -I/usr/include/python2.5 -I/usr/share/R/include -c | rpy/rinterface/rinterface.c -o | build/temp.linux-x86_64-2.5/rpy/rinterface/rinterface.o | -L/usr/lib64/R/lib -lR -llapack -lblas | In file included from /usr/include/python2.5/Python.h:8, | from rpy/rinterface/rinterface.c:55: | /usr/include/python2.5/pyconfig.h:970:1: warning: "_POSIX_C_SOURCE" | redefined | In file included from /usr/include/signal.h:29, | from rpy/rinterface/rinterface.c:51: | /usr/include/features.h:210:1: warning: this is the location of the | previous definition | In file included from rpy/rinterface/rinterface.c:74: | /usr/share/R/include/R_ext/Rdynload.h:26: warning: function declaration | isn’t a prototype | In file included from rpy/rinterface/rinterface.c:100: | rpy/rinterface/na_values.c: In function ‘NAInteger_tp_new’: | rpy/rinterface/na_values.c:179: warning: implicit declaration of | function ‘Py_SIZE’ | rpy/rinterface/na_values.c:188: error: lvalue required as left operand | of assignment | In file included from rpy/rinterface/rinterface.c:105: | rpy/rinterface/sequence.c: In function ‘VectorSexp_ass_slice’: | rpy/rinterface/sequence.c:447: warning: unused variable ‘sexp_item’ | rpy/rinterface/sequence.c:447: warning: unused variable ‘tmp’ | rpy/rinterface/sequence.c:446: warning: unused variable ‘vs’ | rpy/rinterface/sequence.c:386: warning: unused variable ‘self_typeof’ | rpy/rinterface/rinterface.c: In function ‘EmbeddedR_end’: | rpy/rinterface/rinterface.c:1112: warning: unused variable ‘str’ | error: command 'gcc' failed with exit status 1 | .... | | In the following python2.6 modules get compiled without problem into | /usr/lib/python2.6/dist-packages/rpy2
I suspect that is an error with the newer gcc and the older, less maintainmed rpy. I will take a look once I get back home (as I am currently in Vienna for some R related work). Dirk | | Thanks | Erwin | | | | -- System Information: | Debian Release: squeeze/sid | APT prefers testing | APT policy: (900, 'testing'), (300, 'stable'), (100, 'unstable') | Architecture: amd64 (x86_64) | | Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) | Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8) | Shell: /bin/sh linked to /bin/dash | | Versions of packages python-rpy2 depends on: | ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib | ii python 2.5.4-9 An interactive high-level object-o | ii python-central 0.6.14+nmu2 register and build utility for Pyt | ii python-fann [python] 20091015-1 Package created with checkinstall | ii python-numpy 1:1.3.0-3+b1 Numerical Python adds a fast array | ii r-base-core 2.11.0-1 GNU R core of statistical computat | | python-rpy2 recommends no packages. | | Versions of packages python-rpy2 suggests: | pn python-rpy-docs <none> (no description available) | | -- no debconf information | | -- Regards, Dirk -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

