Support Requests item #2821065, was opened at 2009-07-13 20:16
Message generated for change (Comment added) made by lgautier
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453022&aid=2821065&group_id=48422

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Install Problem (example)
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Mark Moll (mamoll)
>Assigned to: lgautier (lgautier)
Summary: installing RPy on OS X with deps satisfied through MacPorts

Initial Comment:
I have R and python2.6 installed through MacPorts. When I run "python setup.py 
build" in the rpy2-2.0.6 directory, I get the following error:

creating build/temp.macosx-10.5-i386-2.6/rpy/rinterface
/usr/bin/gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv 
-O3 -Wall -Wstrict-prototypes -DR_INTERFACE_PTRS=1 -DCSTACK_DEFNS=1 
-DRIF_HAS_RSIGHAND=1 -I/opt/local/lib/R/include -Irpy/rinterface 
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
-c rpy/rinterface/array.c -o 
build/temp.macosx-10.5-i386-2.6/rpy/rinterface/array.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv 
-O3 -Wall -Wstrict-prototypes -DR_INTERFACE_PTRS=1 -DCSTACK_DEFNS=1 
-DRIF_HAS_RSIGHAND=1 -I/opt/local/lib/R/include -Irpy/rinterface 
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
-c rpy/rinterface/r_utils.c -o 
build/temp.macosx-10.5-i386-2.6/rpy/rinterface/r_utils.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv 
-O3 -Wall -Wstrict-prototypes -DR_INTERFACE_PTRS=1 -DCSTACK_DEFNS=1 
-DRIF_HAS_RSIGHAND=1 -I/opt/local/lib/R/include -Irpy/rinterface 
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
-c rpy/rinterface/rinterface.c -o 
build/temp.macosx-10.5-i386-2.6/rpy/rinterface/rinterface.o
In file included from rpy/rinterface/rinterface.c:69:
/opt/local/lib/R/include/R_ext/Rdynload.h:26: warning: function declaration 
isn’t a prototype
rpy/rinterface/rinterface.c:104: warning: ‘interrupt_R’ defined but not used
rpy/rinterface/rinterface.c:2676: warning: ‘externalMethods’ defined but not 
used
/usr/bin/gcc-4.0 -L/opt/local/lib -bundle -undefined dynamic_lookup 
build/temp.macosx-10.5-i386-2.6/rpy/rinterface/array.o 
build/temp.macosx-10.5-i386-2.6/rpy/rinterface/r_utils.o 
build/temp.macosx-10.5-i386-2.6/rpy/rinterface/rinterface.o 
-L/opt/local/lib/R/lib -L/opt/local/lib/R/modules -L/opt/local/lib/R/lib 
-L/opt/local/lib/R/modules -lR -o 
build/lib.macosx-10.5-i386-2.6/rpy2/rinterface/rinterface.so 
-L/opt/local/lib/R/lib -lR -dylib_file 
libRblas.dylib:/opt/local/lib/R/lib/libRblas.dylib -L/opt/local/lib/R/lib 
-lRlapack -L/opt/local/lib/R/lib -lRblas
ld: library not found for -lR -dylib_file 
libRblas.dylib:/opt/local/lib/R/lib/libRblas.dylib
collect2: ld returned 1 exit status
error: command '/usr/bin/gcc-4.0' failed with exit status 1


If I copy/paste the last gcc command on the command line I do *not* get an 
error. How could this be?

----------------------------------------------------------------------

>Comment By: lgautier (lgautier)
Date: 2012-03-09 04:30

Message:
The 2.0.x series for rpy2 is no longer developed or supported. More recent
versions will hopefully behave better (folks at ActiveState appear to be
able to build binaries straight from the source on Pypi -
http://code.activestate.com/pypm/rpy2/ )

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2012-03-09 04:03

Message:
zz6wRq Great, thanks for sharing this article post.Really looking forward
to read more. Much obliged.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453022&aid=2821065&group_id=48422

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to