help-octave
[Top][All Lists]
Advanced

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

Re: Fortran issue when trying to compile octave


From: Jaroslav Hajek
Subject: Re: Fortran issue when trying to compile octave
Date: Tue, 9 Feb 2010 13:32:06 +0100

On Tue, Feb 9, 2010 at 1:25 PM, Bigler Stéphane <address@hidden> wrote:
> Dear members,
>
> I try to compile octave to have make it usable for Slitaz users (a really 
> nice light linux based).
>
> I have gcc installed and gfortran (I thougth it was needed but not sure).
>
> I am faced to the following message when running:
> $./configure
> ...
> checking for gfortran... gfortran
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether gfortran accepts -g... no
> checking how to get verbose linking output from gfortran... configure: 
> WARNING: compilation failed
>
> checking for Fortran 77 libraries of gfortran...
> checking for dummy main to link with Fortran 77 libraries... none
> checking for Fortran 77 name-mangling scheme... configure: error: in 
> `/home/sbigler/Téléchargements/octave-3.2.4':
> configure: error: cannot compile a simple Fortran program
> See `config.log' for more details.
> $
>
> Here is a portion of config.log saying:
> ...
> configure:10008: checking for Fortran 77 libraries of gfortran
> configure:10031: gfortran -o conftest -O conftest.f -lm
> /usr/local/gfortran/libexec/gcc/i686-pc-linux-gnu/4.5.0/f951: error while 
> loading shared libraries: libmpc.so.2: cannot open shared object file: No 
> such file or directory
> ...
>
> Obviously, libmpc.so.2 is missing. And I found that this library is 
> apparently supplied by:
> http://www.multiprecision.org/
>
> Could anyone give me advices on how to make running octave?
>
> Thank you for helping
> Stéphane
>

Your gfortran installation is broken. Try reinstalling. It might be a
problem if your gfortran package version doesn't match your gcc
package version.

regards

-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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