Gentoo Archives: gentoo-user

From: JC Denton <jcdentonmail@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Building lapack failed
Date: Tue, 10 Oct 2006 20:54:22
Message-Id: 20061010204839.86596.qmail@web86913.mail.ukl.yahoo.com
In Reply to: Re: [gentoo-user] Building lapack failed by "Bo Ørsted Andresen"
1 Thank you!
2
3 I need the lapack stuff becaus I am going to try some FEM tools like elmer, salome and netgen. ;) (This is the reason for the trouble)
4
5 And thanks for the hint to remove the hack !!!
6
7 JC
8
9 Bo Ørsted Andresen <bo.andresen@××××.dk> schrieb: On Friday 06 October 2006 09:05, JC Denton wrote:
10 > I try to install lapack on my machine.
11 >
12 > This is what I get when I try to emerge lapack:
13
14 [SNIP]
15 > !!! ERROR: sci-libs/lapack-3.0 failed.
16 [SNIP]
17
18 I think bug #146448 [1] is the most relevant bug (which you should be able to
19 find on your own). Unfortunately it provides no solutions. This package
20 simply isn't prepared for gcc-4.x yet.
21
22 > I had problems with blas before, because I could not find g77 on my system
23 > but I fixed this by writing a shell script called g77 that points to
24 > "/usr/lib/R/bin/f77". So blas did compile but now lapack fails.
25 >
26 > What can I do about this?
27
28 Apologize my ignorance... Why do you need this package anyway? No package
29 currently in the tree depend on sci-libs/lapack...
30
31 [1] https://bugs.gentoo.org/show_bug.cgi?id=146448
32
33 ....
34
35 Hmm.... actually this seems to work for me:
36
37 # echo -e '#!/bin/sh\ngfortran -ff2c' > /usr/bin/g77 && chmod +x /usr/bin/g77
38 # emerge -va sci-libs/lapack
39 # rm /usr/bin/g77
40
41 I strongly suggest that you remove it when you're done since this isn't the
42 supported solution. At the very least mention it if you ever file a bug where
43 it might have an impact...
44
45 --
46 Bo Andresen
47
48
49
50 ---------------------------------
51 Was Sie schon immer wissen wollten aber nie zu Fragen trauten? Yahoo! Clever hilft Ihnen.