help-octave
[Top][All Lists]
Advanced

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

configure fails Fortran octave_idx_type


From: Petilli, Gene
Subject: configure fails Fortran octave_idx_type
Date: Mon, 14 Mar 2016 14:25:05 +0000


I am trying in install Octave 4.1 on a SL6 machine.  I have updated many files (including gcc-4.9.2-6 and gcc-gfortran-4.9.2-6) from ftp://ftp.scientificlinux.org/linux/scientific/6x/external_products/softwarecollections/x86_64/devtoolset/devtoolset-3-*

I still get the dreaded octave_idx_type error when I run configure.

checking for OpenMP flag of C compiler... -fopenmp
checking for OpenMP flag of C++ compiler... -fopenmp
checking for sin in -lm... yes
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking whether a usable Fortran compiler was found... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran...  -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.9.2 -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../.. -lgfortran -lm -lquadmath
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
configure: defining FFLAGS to be -g -O2
checking whether gfortran has the intrinsic function ISNAN... yes
checking whether gfortran generates correct size integers... no
configure: error: your Fortran compiler must have an option to make integers the same size as octave_idx_type (int).  See the file INSTALL for more information.


This thread seems to be closest to my error, but I don’t seem to be able to fix it
http://comments.gmane.org/gmane.comp.gnu.octave.general/35027 

Thoughts on how to proceed?  I would actually prefer a precompiled Octave 4.x for sl6 or el6 .

Gene



reply via email to

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