Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A BLAS detected but found incompatible with Fortran 77
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
legacy
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 144

PostPosted: Thu Aug 02, 2018 1:48 pm    Post subject: A BLAS detected but found incompatible with Fortran 77 Reply with quote

compiling sci-mathematics/octave failed with got this error

Code:

configure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings


I am using
hppa64-unknown-linux-gnu-7.3.0 *
compiled with --enable-languages=c,c++,fortran
(default gentoo setup)

Code:
ldd /usr/lib/blas/reference/libblas.so.0.0.0


Code:
libgfortran.so.4 => /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/libgfortran.so.4 (0xf8192000)         
libm.so.6 => /lib/libm.so.6 (0xf7efa000)         
libgcc_s.so.4 => /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/libgcc_s.so.4 (0xf7dd8000)         
libc.so.6 => /lib/libc.so.6 (0xf7afa000)         
/lib/ld.so.1 (0xf8afa000)


hints?
Back to top
View user's profile Send private message
geeksheik
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2003
Posts: 99
Location: Zürich, Switzerland

PostPosted: Mon Aug 20, 2018 4:53 am    Post subject: Reply with quote

Greetings,

I have the same issue on the x86-64 architecture

Quote:
checking for sgemm_ in -lscs... (cached) no
checking for sgemm_ in -lcomplib.sgimath... (cached) no
checking for sgemm_ in -lblas... (cached) no
checking for sgemm_ in -lblas... (cached) no
configure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2/config.log
* ERROR: sci-mathematics/octave-4.2.2::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 124: Called src_configure


In my case, this would seem to belong on the "Portage and Programming" section of the forum, as I am not on an alternative architecture.

My impression is that this looks manageable to solve with some toolchain investigation and reconfiguration, but it would be nice to find information from someone who's solved it already.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31288
Location: here

PostPosted: Mon Aug 20, 2018 1:26 pm    Post subject: Reply with quote

https://bugs.gentoo.org/649894
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3442
Location: Canada

PostPosted: Tue Aug 21, 2018 1:52 am    Post subject: Re: A BLAS detected but found incompatible with Fortran 77 Reply with quote

legacy wrote:
compiling sci-mathematics/octave failed with got this error

Code:

configure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings


I am using
hppa64-unknown-linux-gnu-7.3.0 *
compiled with --enable-languages=c,c++,fortran
(default gentoo setup)

Code:
ldd /usr/lib/blas/reference/libblas.so.0.0.0


Code:
libgfortran.so.4 => /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/libgfortran.so.4 (0xf8192000)         
libm.so.6 => /lib/libm.so.6 (0xf7efa000)         
libgcc_s.so.4 => /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/libgcc_s.so.4 (0xf7dd8000)         
libc.so.6 => /lib/libc.so.6 (0xf7afa000)         
/lib/ld.so.1 (0xf8afa000)


hints?



You need to re-emerge BLAS (and LAPACK while you are at that)
Back to top
View user's profile Send private message
geeksheik
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2003
Posts: 99
Location: Zürich, Switzerland

PostPosted: Tue Aug 21, 2018 10:54 am    Post subject: Reply with quote

fedeliallalinea wrote:
https://bugs.gentoo.org/649894


This did the trick for me! Thank you! :D

The relevant details were 2 lines at the bottom of the bug report

Quote:
emerge -1qva blas-reference lapack-reference
revdep-rebuild -- -1qva
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum