[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling octave-3.4.3
From: |
Bart Vandewoestyne |
Subject: |
Re: Compiling octave-3.4.3 |
Date: |
Thu, 09 Feb 2012 14:31:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
On 02/09/2012 02:02 PM, Jordi GutiƩrrez Hermoso wrote:
Can someone confirm that Octave 3.4.3 should compile with these versions of
gcc/g++/gfortran?
No, probably not. I remember a lot of reports of people being unable
to compile Octave on older versions of Red Hat precisely due to these.
Hmm... stubborn as I am, I am still giving it a try... just to make sure
that it really isn't possible ;-) So I'm using
address@hidden:~$ gcc --version | head -1
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51)
address@hidden:~$ g++ --version | head -1
g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51)
address@hidden:~$ gfortran --version | head -1
GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51)
If I then configure with
address@hidden:~/octave-3.4.3$ ./configure
--prefix=/users/vandewoe/software/octave/octave-3.4.3
I get
configure: error: A BLAS library was detected but found incompatible
with your Fortran 77 compiler settings.
I know I can solve this with
export FFLAGS="-ff2c"
but I'm not sure if this is the 'clean' solution. If somebody confirms
that setting FFLAGS to -ff2c is the best thing I can do here, then I'll
continue...
Regards,
Bart