RE: fortran library error



From the error messages, it seems like gfortran command is not present
in ur Redhat server. This command comes with gcc-gfortran RPM which will
be present in ur Redhat repository. Install this package and try to
compile the program again !

Thanks,
Krishnaprasad


-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of shivesh kumar
Sent: Thursday, February 21, 2008 3:15 PM
To: redhat-list@xxxxxxxxxx
Subject: fortran library error

Dear all,
We are trying to install CCP4 in our new version of Red
hat.Duringconfiguration,it is showing the following
error.We have checked the fortran library,f77 and g77 is
there.Pleasesuggest about the problem and its solution...Thanx in
advance...

configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... no
checking if gfortran supports -c -o file.o... no
checking whether the gfortran linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... ./configure: line 15032:
gfortran: command not found
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for perl... perl
checking whether we are using the GNU Fortran 77 compiler... (cached) no
checking whether gfortran accepts -g... (cached) no
checking how to get verbose linking output from gfortran... configure:
WARNING: compilation failed

checking for Fortran 77 libraries...
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... configure: error: cannot
compile a simple Fortran program
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Libraries compiled modules
    ... Is it possible to create and install libraries of Fortran modules? ... If I compile such a file with Portland, I get an object "toto.o" and ...
    (comp.lang.fortran)
  • Re: Trouble using GQOPT
    ... I am able to compile the program properly but when I try to ... >Build GQOPT.exe which contains my fortran program file, ... >program that uses the same library function from GQOPT, namely OPT, it ... Compare the libraries in here ...
    (comp.lang.fortran)
  • fortran library error
    ... appending configuration tag "CXX" to libtool ... checking if libtool supports shared libraries... ... checking for gfortran option to produce PIC... ... checking whether we are using the GNU Fortran 77 compiler... ...
    (RedHat)
  • Re: gfortran "porting"
    ... I'm trying to compile a legacy project with gfortran, ... it's gonna requiring a lot of code changes? ... I'd also recommend sending email to "fortran at gcc.gnu.org". ...
    (comp.lang.fortran)
  • Re: using dot_product from c++
    ... + Second question(just curious about to give a try to file processing) ... I should still link some fortran related library I guess, ... You need to either link using gfortran, ... This is what the libraries are in the root folder of lib: ...
    (comp.lang.fortran)