I just compiled the most recent version of the GNU compilers (4.4.2).
It turned out that running the configure script succeeds providing:
./configure --prefix=/opt/openmpi F77=/opt/gcc/lib/gcc4.4/bin/gfortran FC=/opt/gcc/lib/gcc4.4/bin/gfortran
Note that I did not changed the c/c++ compilers - as soon as I changed them to the new /opt/gcc/lib/gcc4.4/bin/gcc the script would declare them as broked, just as it did with gfortran.
(This is also true if I provide the shipped 4.2.1 version of gcc.)
So far everything seams to work but i think this solution is rather kludgy.
Hope this helps fixing this problem.
Begin forwarded message:
From: "von Tycowicz, Christoph" <Christoph.vonTycowicz_at_[hidden]<mailto:Christoph.vonTycowicz_at_[hidden]>>
Date: 14. Januar 2010 01:09:10 MEZ
To: "users_at_[hidden]<mailto:users_at_[hidden]>" <users_at_[hidden]<mailto:users_at_[hidden]>>
Subject: configure script fails
when running the configure script it breaks with:
configure: error: Could not run a simple Fortran 77 program. Aborting.
(logs with details attached)
I don't know how to interpret this error since I already successfully compiled fortran code using these compilers(gcc/gfortran 4.5).
If would be really grateful for any clues on this.