1 |
On Friday 06 October 2006 09:05, JC Denton wrote: |
2 |
> I try to install lapack on my machine. |
3 |
> |
4 |
> This is what I get when I try to emerge lapack: |
5 |
|
6 |
[SNIP] |
7 |
> !!! ERROR: sci-libs/lapack-3.0 failed. |
8 |
[SNIP] |
9 |
|
10 |
I think bug #146448 [1] is the most relevant bug (which you should be able to |
11 |
find on your own). Unfortunately it provides no solutions. This package |
12 |
simply isn't prepared for gcc-4.x yet. |
13 |
|
14 |
> I had problems with blas before, because I could not find g77 on my system |
15 |
> but I fixed this by writing a shell script called g77 that points to |
16 |
> "/usr/lib/R/bin/f77". So blas did compile but now lapack fails. |
17 |
> |
18 |
> What can I do about this? |
19 |
|
20 |
Apologize my ignorance... Why do you need this package anyway? No package |
21 |
currently in the tree depend on sci-libs/lapack... |
22 |
|
23 |
[1] https://bugs.gentoo.org/show_bug.cgi?id=146448 |
24 |
|
25 |
.... |
26 |
|
27 |
Hmm.... actually this seems to work for me: |
28 |
|
29 |
# echo -e '#!/bin/sh\ngfortran -ff2c' > /usr/bin/g77 && chmod +x /usr/bin/g77 |
30 |
# emerge -va sci-libs/lapack |
31 |
# rm /usr/bin/g77 |
32 |
|
33 |
I strongly suggest that you remove it when you're done since this isn't the |
34 |
supported solution. At the very least mention it if you ever file a bug where |
35 |
it might have an impact... |
36 |
|
37 |
-- |
38 |
Bo Andresen |