GCC-4.1.2: gfortran not getting installed

Sangamesh B forum.san@gmail.com
Wed Oct 22 11:19:00 GMT 2008


Hi All,

    I'm trying to install GCC-4.1.2 package, with all available
utilities C, C++. FORTRAN, OBJ C etc on Rocks-4.2 Linux cluster.
(Rocks is a clustering tool, built on Cent OS 4.5).

   The configure is not able to install Fortran. And I don't see
option to enable Fortran (such as --languages=FORTRAN).

The output of configure is:

# ./configure
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... /usr/bin/gcc4
checking whether the C compiler (/usr/bin/gcc4  ) works... yes
checking whether the C compiler (/usr/bin/gcc4  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/bin/gcc4 accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp
--ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no

What is this gmp.h about?

The following languages will be built: c,c++,java,objc
*** This configuration is not supported in the following subdirectories:
     target-libada gnattools target-libgfortran
    (Any other directories should still work fine.)

Why its not building FORTRAN?


checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... no
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... ar
checking for x86_64-unknown-linux-gnu-as... no
checking for as... as
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking for x86_64-unknown-linux-gnu-ld... no
checking for ld... ld
checking for x86_64-unknown-linux-gnu-lipo... no
checking for lipo... no
checking for x86_64-unknown-linux-gnu-nm... no
checking for nm... nm
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-unknown-linux-gnu-windres... no
checking for windres... no
checking for x86_64-unknown-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for x86_64-unknown-linux-gnu-objdump... no
checking for objdump... objdump
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... ar
checking for x86_64-unknown-linux-gnu-as... no
checking for as... as
checking for x86_64-unknown-linux-gnu-cc... no
checking for cc... cc
checking for x86_64-unknown-linux-gnu-c++... no
checking for c++... c++
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking for x86_64-unknown-linux-gnu-gcc... no
checking for gcc... gcc
checking for x86_64-unknown-linux-gnu-gcj... no
checking for gcj... no
checking for x86_64-unknown-linux-gnu-gfortran... no
checking for gfortran... gfortran
checking for x86_64-unknown-linux-gnu-ld... no
checking for ld... ld
checking for x86_64-unknown-linux-gnu-lipo... no
checking for lipo... no
checking for x86_64-unknown-linux-gnu-nm... no
checking for nm... nm
checking for x86_64-unknown-linux-gnu-objdump... no
checking for objdump... objdump
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-unknown-linux-gnu-windres... no
checking for windres... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... just compiled
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile

After "make", the installed directory contains:

# ls bin/
addr2name.awk412  gcc412         gcov412     grmiregistry412
       x86_64-unknown-linux-gnu-g++412
c++412            gccbug412      gij412      jcf-dump412
       x86_64-unknown-linux-gnu-gcc412
cpp412            gcj412         gjnih412    jv-convert412
       x86_64-unknown-linux-gnu-gcc-4.1.2
fastjar412        gcj-dbtool412  grepjar412  jv-scan412
       x86_64-unknown-linux-gnu-gcj412
g++412            gcjh412        grmic412
x86_64-unknown-linux-gnu-c++412  x86_64-unknown-linux-gnu-gcjh412


Please someone help me to install gfortran along with other binaries.

Find some more details in config.log attached herewith.

Thanks,
Sangamesh
Consultant, HPC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log_GCC412
Type: application/octet-stream
Size: 5445 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20081022/c6a9cf0b/attachment.obj>


More information about the Gcc-help mailing list