I recently upgraded R to 2.8.0 and built it with -enable-R-shlib. When I
tried to re-build rpy 1.0.3, I get the following error, which I assume means
something changed in R 2.8.0 that is not accounted for by rpy 1.0.3. I
tried rpy 1.0.2 and got the same error. I have never had a previous issue
re-installing rpy when I upgraded R in the past. Could you let me know if
there is a workaround; otherwise I'll just have to fall back to the previous
R version (and hope that fixes the issue!). rpy2 looks like a nice upgrade,
but right now I don't have time to do the migration and the testing to
ensure the migration is error-free. thanks,
Paul
execute: python setup.py install
RHOMES= []
DEBUG= True
Setting RHOMES to ['/usr/local/lib64/R']
### Using R verion 2.8.0 installed at /usr/local/lib64/R ###
RHOME= /usr/local/lib64/R
copying src/rpymodule.c -> src/rpymodule2080.c
copying src/R_eval.c -> src/R_eval2080.c
copying src/io.c -> src/io2080.c
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.5
copying rpy.py -> build/lib.linux-x86_64-2.5
copying rpy_io.py -> build/lib.linux-x86_64-2.5
copying rpy_version.py -> build/lib.linux-x86_64-2.5
copying rpy_tools.py -> build/lib.linux-x86_64-2.5
copying rpy_options.py -> build/lib.linux-x86_64-2.5
copying rpy_wintools.py -> build/lib.linux-x86_64-2.5
running build_ext
building '_rpy2080' extension
creating build/temp.linux-x86_64-2.5
creating build/temp.linux-x86_64-2.5/src
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -DWITH_NUMERIC=3 -DPY_ARRAY_TYPES_PREFIX=PyArray_
-DRPY_SHNAME=_rpy2080 -DINIT_RPY=init_rpy2080 -UPRE_2_2
-I/usr/local/lib64/R/include -Isrc -I/usr/share/R/include
-I/usr/local/lib/python2.5/site-packages/numpy/core/include
-I/usr/local/include/python2.5 -c src/rpymodule2080.c -o
build/temp.linux-x86_64-2.5/src/rpymodule2080.o -shared
In file included from src/RPy.h:57,
from src/rpymodule2080.c:51:
/usr/local/lib64/R/include/R_ext/Rdynload.h:26: warning: function
declaration isn't a prototype
In file included from /usr/local/lib64/R/include/R_ext/GraphicsEngine.h:183,
from /usr/local/lib64/R/include/Rdevices.h:37,
from src/RPy.h:77,
from src/rpymodule2080.c:51:
/usr/local/lib64/R/include/R_ext/GraphicsDevice.h:83: error: conflicting
types for 'DevDesc'
/usr/local/lib64/R/include/Rgraphics.h:73: error: previous declaration of
'DevDesc' was here
/usr/local/lib64/R/include/R_ext/GraphicsDevice.h:253: warning: function
declaration isn't a prototype
src/rpymodule2080.c:1565: warning: initialization from incompatible pointer
type
src/rpymodule2080.c:1568: warning: 'intargfunc' is deprecated
src/rpymodule2080.c:1568: warning: initialization from incompatible pointer
type
src/rpymodule2080.c:1569: warning: 'intintargfunc' is deprecated
src/rpymodule2080.c:1569: warning: initialization from incompatible pointer
type
src/rpymodule2080.c:1570: warning: initialization from incompatible pointer
type
src/rpymodule2080.c: In function 'r_finalize':
src/rpymodule2080.c:1781: warning: implicit declaration of function
'KillAllDevices'
src/rpymodule2080.c:1784: warning: implicit declaration of function
'R_CleanTempDir'
src/rpymodule2080.c:1776: warning: unused variable 'tmpdir'
src/rpymodule2080.c:1775: warning: unused variable 'buf'
error: command 'gcc' failed with exit status 1
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list