help-octave
[Top][All Lists]
Advanced

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

Re: Install Error using 3.4.2


From: Rick T
Subject: Re: Install Error using 3.4.2
Date: Sat, 24 Sep 2011 05:58:29 -1000



2011/9/24 Ben Abbott <address@hidden>

On Sep 24, 2011, at 10:55 AM, Jordi Gutiérrez Hermoso wrote:

> On 24 September 2011 07:05, Rick T <address@hidden> wrote:
>
>> I'm getting this error when trying to install on ubuntu 10.04
>> Cannot open file debug.h
>> /usr/bin/f77: aborting compilation
>> make[2]: *** [arpack/src/libcruft_la-cgetv0.lo] Error 1
>> make[2]: Leaving directory `/home/ubu32sc/Downloads/octave-3.4.2/libcruft'
>> make[1]: *** [install-recursive] Error 1
>> make[1]: Leaving directory `/home/ubu32sc/Downloads/octave-3.4.2'
>> make: *** [install] Error 2
>> This link says to use the gfortran compiler but how does one switch to it?
>
>    apt-get install gfortran
>
> Where did you get f77 indeed? "dpkg -S /usr/bin/f777" should tell you
> which package brought it in. Remove that package.
>
> HTH,
> - Jordi G. H.

Does ...

       apt-get build-dep octave3.2

... include gfortran? If so, then run that command (it will not install Octave, but will install the packages Octave requires to build and run).

Ben


I did a pkg -S /usr/bin/f77 and it says "dpkg: /usr/bin/f77 not found."
So I'm not sure why it's coming back with this error message?

Cannot open file debug.h
/usr/bin/f77: aborting compilation
make[2]: *** [arpack/src/libcruft_la-cgetv0.lo] Error 1
make[2]: Leaving directory `/home/ubu32sc/Downloads/octave-3.4.2/libcruft'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/ubu32sc/Downloads/octave-3.4.2'
make: *** [install] Error 2

And I checked and gfortran is installed, but it's not using it it's trying to use the f77 one how can I change this so I can get octave 3.4.2 to compile and not use the f77 compiler?

Thanks


reply via email to

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