[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: ./configure fails for octave 3.4.0 with gcc 4.6. Error: gfortrangene
From: |
Van Wieren, Peter AVLNA |
Subject: |
RE: ./configure fails for octave 3.4.0 with gcc 4.6. Error: gfortrangenerates correct size integers... no |
Date: |
Mon, 11 Apr 2011 15:25:27 -0400 |
John,
Thank you. A trivial error cause problem:
Compiling gcc, contrary to my expectation, built both 32 bit and 64 bit
libraries. Gcc's "make install" creates ${prefix}/lib64" for the 64
libraries, and ${prefix}/lib for the 32 bit libraries.
My expectation was that only 64 built libraries would be created, and
that the dir "${prefix}/lib" would contained 64bit libraries. Thus the
problem was that LDFLAGS was not set correctly.
Best Regards,
Peter
Peter Van Wieren
Technical Specialist
Multibody Dynamic Simulation and CAE Analysis
address@hidden
Phone: 734.414.9678
Cell: 734.658.8757
Main: 734.414.9600
Fax: 734.414.9690
AVL POWERTRAIN ENGINEERING, INC.
47519 Halyard Drive, Plymouth MI 48170-2438
www.avl.com
"ITAR WARNING - technical data as defined in 22 ? CFR 120.10 of the
International Traffic In Arms Regulations (ITAR) pursuant to the Arms Export
Control Act (Title 22 U.S.C. Sec 2751 et seq.) must not be sent via e-mail to
avl.com. Please contact an AVL representative for file transfer protocol
regarding ITAR controlled technical data."
-----Original Message-----
From: John W. Eaton [mailto:address@hidden
Sent: Monday, April 11, 2011 12:37 PM
To: Van Wieren, Peter AVLNA
Cc: address@hidden
Subject: ./configure fails for octave 3.4.0 with gcc 4.6. Error:
gfortrangenerates correct size integers... no
On 11-Apr-2011, Van Wieren, Peter AVLNA wrote:
| I complied and installed the latest gcc (v4.6), and proceeded to use
it
| to compile octave. The following error message occurs:
|
| checking for Fortran 77 libraries of
| /work/apps/x86_64-rhes5-linux/bin/gfortran...
| -L/work/apps/x86_64-rhes5-linux/lib
| -L/work/apps/x86_64-rhes5-linux/lib/gcc/x86_64-unknown-linux-gnu/4.6.0
|
-L/work/apps/x86_64-rhes5-linux/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/.
| ./../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64
|
-L/work/apps/x86_64-rhes5-linux/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/.
| ./../.. -lpthread -lgfortran -lm -lquadmath
| /work/apps/x86_64-rhes5-linux/lib/libgfortran.a
| /work/apps/x86_64-rhes5-linux/lib/libquadmath.a
| 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 -O
| checking whether /work/apps/x86_64-rhes5-linux/bin/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.
To debug the problem, you need to look at the config.log file to see
why this test failed.
If you want help doing that, then post the relevant part of config.log
here. There's no need to post the whole file, and it would be
rejected for posting here anyway as it will probably be over the limit
for postings sent to the list.
jwe