[Pythonmac-SIG] building rpy

Bob Ippolito bob at redivi.com
Sat Jul 9 20:34:24 CEST 2005


On Jul 9, 2005, at 7:08 AM, Teemu Rinne wrote:

> Based on google searches, it seems that rpy (interface for R)  
> should build
> ok on 10.3.9... how to do it? Is there a binary installer available
> (compatible with pythonmac.org/packages/)?
>
> Building for R version 2.1.1 ...
> running build
> running build_py
> running build_ext
> building '_rpy' extension
> gcc -Wl,-F. -Wl,-F. -bundle -framework Python
> build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/rpymodule.o
> build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/R_eval.o
> build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/io.o
> -L/Library/Frameworks/R.framework/Resources/Frameworks -lR -o
> build/lib.darwin-7.9.0-Power_Macintosh-2.3/_rpy.so
> ld: warning -L: directory name
> (/Library/Frameworks/R.framework/Resources/Frameworks) does not exist
> ld: can't locate file for: -lR
> error: command 'gcc' failed with exit status 1

It looks like you need to install R.

-bob



More information about the Pythonmac-SIG mailing list