* [gentoo-user] Building lapack failed
@ 2006-10-06 7:05 JC Denton
2006-10-06 8:49 ` Bo Ørsted Andresen
0 siblings, 1 reply; 4+ messages in thread
From: JC Denton @ 2006-10-06 7:05 UTC (permalink / raw
To: gentoo user
[-- Attachment #1: Type: text/plain, Size: 979 bytes --]
Hi!
I try to install lapack on my machine.
This is what I get when I try to emerge lapack:
...
Source unpacked.
>>> Compiling source in /var/tmp/portage/lapack-3.0/work/LAPACK ...
g77 -O2 -march=i686 -fomit-frame-pointer -c -o cbdsqr.o cbdsqr.f
gfortran: no input files
make: *** [cbdsqr.o] Error 1
!!! ERROR: sci-libs/lapack-3.0 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
lapack-3.0.ebuild, line 22: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
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?
Regards
JC
---------------------------------
Keine Lust auf Tippen? Rufen Sie Ihre Freunde einfach an.
Yahoo! Messenger. Jetzt installieren .
[-- Attachment #2: Type: text/html, Size: 1184 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Building lapack failed
2006-10-06 7:05 [gentoo-user] Building lapack failed JC Denton
@ 2006-10-06 8:49 ` Bo Ørsted Andresen
2006-10-06 10:50 ` Bo Ørsted Andresen
2006-10-10 20:48 ` JC Denton
0 siblings, 2 replies; 4+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-06 8:49 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
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 #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Building lapack failed
2006-10-06 8:49 ` Bo Ørsted Andresen
@ 2006-10-06 10:50 ` Bo Ørsted Andresen
2006-10-10 20:48 ` JC Denton
1 sibling, 0 replies; 4+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-06 10:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 544 bytes --]
On Friday 06 October 2006 10:49, Bo Ørsted Andresen wrote:
> 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.
[SNIP]
> [1] https://bugs.gentoo.org/show_bug.cgi?id=146448
As you can read on the bug those packages are deprecated. Still I've made a
couple of patches (attached on the bug) that makes it compile with
gfortran... (The eclasses really do all the work...)
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Building lapack failed
2006-10-06 8:49 ` Bo Ørsted Andresen
2006-10-06 10:50 ` Bo Ørsted Andresen
@ 2006-10-10 20:48 ` JC Denton
1 sibling, 0 replies; 4+ messages in thread
From: JC Denton @ 2006-10-10 20:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1623 bytes --]
Thank you!
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)
And thanks for the hint to remove the hack !!!
JC
Bo Ørsted Andresen <bo.andresen@zlin.dk> schrieb: 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
---------------------------------
Was Sie schon immer wissen wollten aber nie zu Fragen trauten? Yahoo! Clever hilft Ihnen.
[-- Attachment #2: Type: text/html, Size: 1982 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-10-10 20:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-06 7:05 [gentoo-user] Building lapack failed JC Denton
2006-10-06 8:49 ` Bo Ørsted Andresen
2006-10-06 10:50 ` Bo Ørsted Andresen
2006-10-10 20:48 ` JC Denton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox