------- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-10-25 11:11 ------- (In reply to comment #0) > configure: error: GNU Fortran is not working; the most common reason for that > is that you might have linked it to shared GMP and/or MPFR libraries, and not > set LD_LIBRARY_PATH accordingly. If you suspect any other reason, please > report > a bug in http://gcc.gnu.org/bugzilla, attaching > /home/rogerb/gcc-4.2.2/i686-pc-linux-gnu/libgfortran/config.log
Roger, can you actually attach that file? Other than that, I think you're omitting some valuable information, like, are you trying to build a cross-compiler? (I see you have a host-i686-pc-linux-gnu) Are you building in the source tree? (which is not supported and strongly discouraged, see http://gcc.gnu.org/install/configure.html) Another way of debugging the problem is to manually run the following command on a simple Fortran source: /home/rogerb/gcc-4.2.2/host-i686-pc-linux-gnu/gcc/gfortran -v -B/home/rogerb/gcc-4.2.2/host-i686-pc-linux-gnu/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ and see tell us what happens. (In reply to comment #1) > Try reversing the order here: I don't think that'll fix it; this is only needed for older GMP versions, which still included MPFR. (In reply to comment #2) > Also, you must enable c as well C is automatically added to the list of languages built if you ask for Fortran. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33883