Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BLAS library incompatible with Fortran 77 compiler settings

I'm trying to install Octave-3.6.2 from source on Ubuntu 12.04 with KDE desktop but when I run the Octave configure script I get this error

BLAS library was detected but found incompatible with your Fortran 77 
compiler settings

I used ./configure F77=gfortran as was suggested by numerous web searches and I've ensured that the alternatives system F77 files are moved out of harms way as per the comments in this SO post. The installed BLAS libraries are those installed by the package manager.

What does the error mean and how do I remedy it?

like image 700
babelproofreader Avatar asked Sep 24 '12 23:09

babelproofreader


1 Answers

Try installing the Package liblapack-dev, libblas-dev, and if it exists, libblas-64. While not Ubuntu, I had the same issue and needed to install the fedora fc20 equivalent packages which are blas-devel, blas64-devel, lapack-devel, and lapack64-devel. The standard routine for getting the build dependencies is

sudo yum-builddep octave

While that installed most of the dependencies, I needed to follow with the following before it would completely configure. This is from an almost scratch Fedora fc20 install with updates as of 10/23/2014.

sudo yum install lapack64-devel lapack64 
sudo yum install gl2ps-devel qrupdate-devel qt-devel qscintilla-devel java-devel

Although I did not explicitly list the blas-devel and blas64-devel packages, they were installed as dependencies of the libpack packages as was libpack-devel and plain libpack.

I suppose for Ubuntu it may be apt-get. Either way, here is another post that talks about an earlier version of Ubuntu.

BLAS and LAPACK libraries required for compiling

like image 139
R Schultz Avatar answered Oct 12 '22 20:10

R Schultz