On 2011-09-15 12:27, Peter Cock wrote: > On Tue, Sep 13, 2011 at 7:23 PM, Laurent Gautier<lgaut...@gmail.com> wrote: >> On 2011-09-13 18:48, Peter Cock wrote: >>> I then fell over what was a new problem for me (/usr/bin/ld: cannot >>> find -lRlapack), but has been reported for rpy2: >>> http://www.mail-archive.com/rpy-list@lists.sourceforge.net/msg01500.html >>> >>> To fix this I edited setup.py to change the lines: >>> >>> libraries=['R','Rlapack'] >>> >>> to: >>> >>> libraries=['R','lapack'] >>> >>> This last change has not yet been made in SVN. >> May be this is because it is install-specific. R can either ship / build >> with its own version of LAPACK or use one already installed on >> the system. A proper fix will have to make it work in all situations. > Looking at rpy2's setup.py you use the function get_rconfig > to ask R how to link to LAPACK, so presumably we need > to backport that to rpy1.
Or take the idea out and put into the existing setup.py for rpy, this might be easier. I rewrote a lot for rpy2 and I am not sure that there much of the original setup.py remaining. > Peter ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list