help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trouble installing octave (version 3.4.2) on ubuntu linux 11.04


From: Dario Cardini
Subject: Re: trouble installing octave (version 3.4.2) on ubuntu linux 11.04
Date: Fri, 9 Sep 2011 14:32:35 +0200

John,
thank you again.
I checked that I have gfortran installed, as well as this f77 compiler:

which gfortran
/usr/bin/gfortran

which f77
/usr/bin/f77

To my understanding, gfortran should have precedence on f77, but this is not what happens, because the configure script looks for f77.

Do you know how I could force the usage of gfortran ?

Thank you,
Kind Regards

Dario


On Fri, Sep 9, 2011 at 1:18 PM, John W. Eaton <address@hidden> wrote:
On  9-Sep-2011, Dario Cardini wrote:

| John,
| thanks to your suggestion configure command runs without errors.
| I do have an error while running make:
|
| /bin/bash ../libtool  --tag=F77   --mode=compile f77  -O -mieee-fp -c -o
| arpack/src/libcruft_la-cgetv0.lo `test -f 'arpack/src/cgetv0.f' || echo './'
| `arpack/src/cgetv0.f
| libtool: compile:  f77 -O -mieee-fp -c arpack/src/cgetv0.f  -fPIC -o arpack/
| src/.libs/libcruft_la-cgetv0.o
|    cgetv0:
| Cannot open file debug.h
| /usr/bin/f77: aborting compilation
| make[2]: *** [arpack/src/libcruft_la-cgetv0.lo] Error 1
| make[2]: Leaving directory `/tools/octave/octave-3.4.2/libcruft'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/tools/octave/octave-3.4.2'
| make: *** [all] Error 2
|
| For sake of completeness I send attached the log of configure and of make.

You don't want /usr/bin/f77, whatever that is.  You should be using
gfortran.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]