On Friday 06 October 2006 09:05, JC Denton wrote:
> I try to install lapack on my machine.
>
> This is what I get when I try to emerge lapack:

[SNIP]
> !!! ERROR: sci-libs/lapack-3.0 failed.
[SNIP]

I think bug #146448 [1] is the most relevant bug (which you should be able to 
find on your own). Unfortunately it provides no solutions. This package 
simply isn't prepared for gcc-4.x yet.

> I had problems with blas before, because I could not find g77 on my system
> but I fixed this by writing a shell script called g77 that points to
> "/usr/lib/R/bin/f77". So blas did compile but now lapack fails.
>
> What can I do about this?

Apologize my ignorance... Why do you need this package anyway? No package 
currently in the tree depend on sci-libs/lapack...

[1] https://bugs.gentoo.org/show_bug.cgi?id=146448

....

Hmm.... actually this seems to work for me:

# echo -e '#!/bin/sh\ngfortran -ff2c' > /usr/bin/g77 && chmod +x /usr/bin/g77
# emerge -va sci-libs/lapack
# rm /usr/bin/g77

I strongly suggest that you remove it when you're done since this isn't the 
supported solution. At the very least mention it if you ever file a bug where 
it might have an impact...

-- 
Bo Andresen

Attachment: pgpYjenVRvnnw.pgp
Description: PGP signature

Reply via email to