On Wed, May 14, 2008 at 01:06:38PM -0400, Gregory Warnes wrote:
> Too bad.
> 
> I guess I'll have to either add code to look for
> 
>       libRlapack.so
> 
> in the appropriate directory.  Know of any simple way to do this?

Glad you asked :) I remembered that 'R CMD ...' added the new command
'config' not too long ago. Asking for the linker options didn't do it,
but you can query individual variables -- such as LAPACK_LIBS.

So on my Ubuntu 7.10 system with the older Rlapack:

        $ R CMD config LAPACK_LIBS
        -L/usr/lib/R/lib -lRlapack

whereas my Debian system with newer Atlas etc pp has 

        $ R CMD config LAPACK_LIBS
        -llapack

So maybe you'll have setup.py talk to 'R CMD config LAPACK_LIBS' ?

Dirk

-- 
Three out of two people have difficulties with fractions.

-------------------------------------------------------------------------
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