Support Requests item #1229955, was opened at 2005-06-29 15:54
Message generated for change (Settings changed) made by warnes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453022&aid=1229955&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: None
Group: None
>Status: Deleted
Priority: 5
Private: No
Submitted By: Beth Pritchard (beth_pritchard)
Assigned to: Gregory Warnes (warnes)
Summary: Problems installing RPy 0.4.2.1 on Mac OS X 

Initial Comment:
I'm trying to install RPy 0.4.2.1 on Mac OS X but am
having problems. My system is running Mac OS X version
10.4.1 (Tiger), Python 2.3.5 and R 2.1.1 ( built from
source using the flags -enable-R-shlib  --with-aqua
--with-blas='-framework vecLib' --with-lapack
F77=gfortran ). Both python and R  work properly. 

However I am unable to get RPy to install, after
setting the environment variable LD_LIBRARY_PATH using
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Library/Frameworks/R.framework/Resources/bin
if I then try running python setup.py install i get the
following error:

Building for R version 2.1.1 ...
running install
running build
running build_py
running build_ext
building '_rpy' extension
gcc -Wl,-F. -Wl,-F. -bundle -undefined dynamic_lookup
build/temp.darwin-8.1.0-Power_Macintosh-2.3/src/rpymodule.o
build/temp.darwin-8.1.0-Power_Macintosh-2.3/src/R_eval.o
build/temp.darwin-8.1.0-Power_Macintosh-2.3/src/io.o
-L/Library/Frameworks/R.framework/Resources/Frameworks
-lR -o build/lib.darwin-8.1.0-Power_Macintosh-2.3/_rpy.so
/usr/bin/ld: warning -L: directory name
(/Library/Frameworks/R.framework/Resources/Frameworks)
does not exist
/usr/bin/ld: can't locate file for: -lR
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

I tried changing the line RHOME = get_R_HOME() in
setup.py to RHOME =
"/Library/Frameworks/R.framework/Resources/bin" as
suggested in an reply to a similar problem, reported
with a previous version of RPy, but this didn't fix the
problem and gave the error: 

Building for R version 2.1.1 ...
running install
running build
running build_py
running build_ext
building '_rpy' extension
gcc -Wl,-F. -Wl,-F. -bundle -undefined dynamic_lookup
build/temp.darwin-8.1.0-Power_Macintosh-2.3/src/rpymodule.o
build/temp.darwin-8.1.0-Power_Macintosh-2.3/src/R_eval.o
build/temp.darwin-8.1.0-Power_Macintosh-2.3/src/io.o
-L/Library/Frameworks/R.framework/Resources/bin/Frameworks
-lR -o build/lib.darwin-8.1.0-Power_Macintosh-2.3/_rpy.so
/usr/bin/ld: can't locate file for: -lR
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Any suggestions on how I can fix this would be greatly
appreciated.

Beth.



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

Comment By: Gregory Warnes (warnes)
Date: 2006-06-09 15:14

Message:
Logged In: YES 
user_id=9316

I'll try to look at this next week.

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to