Gregory Warnes <gregory.warnes <at> mac.com> writes:

> 
> Hi John,
> 
> If the gcc's are incompatible, then you may have yet another  
> problem:  python itself will have been built with one, and R the other.

Arggh. Yes, that may be the case, have to cross that bridge when
I come to it.

> Before trying to modify the default compiler options, try running the  
> compler commands that setup.py displays as it tries to work.  It  
> should pick up the created .o files and proceed to the next step when  
> run again.

I tried that (trace below), had some issues with RPY_SHNAME being
undefined. Perhaps you can offer your expert opinion? Thanks for the
reply!

JDO

movenpick 119$ CC=gcc-dp-4.0 python setup.py build
RHOMES= []
Setting RHOMES to  ['/opt/local/lib/R']
### Using R verion 2.5.0 installed at /opt/local/lib/R ###
RHOME= /opt/local/lib/R
copying src/rpymodule.c -> src/rpymodule2050.c
copying src/R_eval.c -> src/R_eval2050.c
copying src/io.c -> src/io2050.c
running build
running build_py
running build_ext
building '_rpy2050' extension
creating build/temp.darwin-8.9.0-Power_Macintosh-2.4
creating build/temp.darwin-8.9.0-Power_Macintosh-2.4/src
gcc-dp-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd
-fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DWITH_NUMERIC
-DRPY_SHNAME="_rpy2050" -DINIT_RPY=init_rpy2050 -UPRE_2_2
-I/opt/local/lib/R/include -Isrc
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
include/python2.4
-I/opt/local/include/python2.4 -c src/rpymodule2050.c -o
build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/rpymodule2050.o
gcc-dp-4.0: unrecognized option '-no-cpp-precomp'
cc1: error: unrecognized command line option "-Wno-long-double"
error: command 'gcc-dp-4.0' failed with exit status 1
movenpick 120$ gcc-dp-4.0 -fno-strict-aliasing -mno-fused-madd 
-fno-common
-fno-common -dynamic -DNDEBUG -g -O3 -Wall -DWITH_NUMERIC
-DRPY_SHNAME="_rpy2050" -DINIT_RPY=init_rpy2050 -UPRE_2_2
-I/opt/local/lib/R/include -Isrc
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
include/python2.4
-I/opt/local/include/python2.4 -c src/rpymodule2050.c -o
build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/rpymodule2050.o
src/rpymodule2050.c: In function 'init_rpy2050':
src/rpymodule2050.c:1736: error: '_rpy2050' undeclared
(first use in this function)
src/rpymodule2050.c:1736: error: (Each undeclared identifier
is reported only once
src/rpymodule2050.c:1736: error: for each function it appears in.)



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to