Laurent Gautier wrote:

2008/6/18 Tim Axelrod <[EMAIL PROTECTED]>:
Hello,

Just tried to install rpy for the first time, and ran into the following.
Any suggestions?

Would it be working with a more recent version of R ?
I suspect it might. Unfortunately, R 2.7.0 fails to compile on my system, giving wacko assembler messages like:

gcc -std=gnu99 -I. -I../../src/include -I../../src/include -I/usr/X11R6/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c sys-std.c -o sys-std.o
/tmp/ccVMm8Yg.s: Assembler messages:
/tmp/ccVMm8Yg.s:588: Error: Incorrect register `%rax' used with `l' suffix

This is a 64-bit issue which I don't understand. To make a long story short, I've moved over to a 32 bit system where everything is working fine.

Thanks for your reply.

Thanks,
Tim
---------
[EMAIL PROTECTED] rpy-1.0.3]# python setup.py install
RHOMES= []
DEBUG= True
Setting RHOMES to ['/usr/lib64/R']
### Using R verion 2.3.0 installed at /usr/lib64/R ###
RHOME= /usr/lib64/R
copying src/rpymodule.c -> src/rpymodule2030.c
copying src/R_eval.c -> src/R_eval2030.c
copying src/io.c -> src/io2030.c
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.4
copying rpy.py -> build/lib.linux-x86_64-2.4
copying rpy_io.py -> build/lib.linux-x86_64-2.4
copying rpy_version.py -> build/lib.linux-x86_64-2.4
copying rpy_tools.py -> build/lib.linux-x86_64-2.4
copying rpy_options.py -> build/lib.linux-x86_64-2.4
copying rpy_wintools.py -> build/lib.linux-x86_64-2.4
running build_ext
building '_rpy2030' extension
creating build/temp.linux-x86_64-2.4
creating build/temp.linux-x86_64-2.4/src
gcc -pthread -fno-strict-aliasing -g -Wall -fPIC -DWITH_NUMERIC=3
-DPY_ARRAY_TYPES_PREFIX=PyArray_ -DRPY_SHNAME=_rpy2030
-DINIT_RPY=init_rpy2030 -UPRE_2_2 -I/usr/lib64/R/include -Isrc
-I/usr/share/R/include
-I/usr/lib64/python2.4/site-packages/numpy/core/include
-I/usr/include/python2.4 -c src/rpymodule2030.c -o
build/temp.linux-x86_64-2.4/src/rpymodule2030.o -shared
src/rpymodule2030.c: In function 'init_rpy2030':
src/rpymodule2030.c:2038: error: 'R_CStackLimit' undeclared (first use in
this function)
src/rpymodule2030.c:2038: error: (Each undeclared identifier is reported
only once
src/rpymodule2030.c:2038: error: for each function it appears in.)
src/rpymodule2030.c:2038: error: 'uintptr_t' undeclared (first use in this
function)
error: command 'gcc' failed with exit status 1
[EMAIL PROTECTED] rpy-1.0.3]#


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list


begin:vcard
fn:Tim Axelrod
n:Axelrod;Tim
org:Large Synoptic Survey Telescope
adr;dom:Suite 253;;4703 E. Camp Lowell Dr.;Tucson;AZ;85712
email;internet:[EMAIL PROTECTED]
title:Data Management Project Scientist
tel;work:520-626-0817
tel;fax:520-881-2627
x-mozilla-html:TRUE
version:2.1
end:vcard

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to