I have been trying to install gcc-4.2.3 separately from gcc-4.1. I am working on a project that needs to run gfortran on a Linux cluster (likely using Fedora core 8) at a small university. fc8 comes with gcc-4.1 and the support for gfortran is a bit better in 4.2.3 (I think!). I downloaded the gcc-4.2.3 distribution and unpacked it in /root/gcc42, creating a directory /root/gcc42/gcc-4.2.3. (Note: I have installed gmp-4.2.2 and mpfr-2.3.1.) I created a 'build' directory in gcc-4.2.3 and a script 'buildc' in the /root/gcc42/gcc-4.2.3/build subdirectory. The script is below (with prefix=/opt/gcc42 -- I planned to put the gcc-4.2 files in /opt/gcc42). The options were my best guess at the needed options. #!/bin/sh /root/gcc42/gcc-4.2.3/configure \ --prefix=/opt/gcc42 \ --program-suffix=42 \ --with-local-prefix=/opt/gcc42 \ --enable-shared --enable-threads=posix --enable-checking=release \ --enable-version-specific-runtime-libs \ --enable-__cxa_atexit --disable-libunwind-exceptions \ --enable-languages=c,c++,fortran \ --with-dwarf2 \ --with-system-zlib \ --enable-java-awt=gtk,xlib \ --disable-dssi --enable-plugin \ --with-gmp=/opt/gmp \ --with-mpfr=/opt/mpfr \ In 'build', I then invoked buildc: ...build]# ./buildc This create a Makefile that included the following lines: . . bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin libexecdir = ${exec_prefix}/libexec datadir = ${prefix}/share sysconfdir = ${prefix}/etc sharedstatedir = ${prefix}/com localstatedir = ${prefix}/var libdir = ${exec_prefix}/lib includedir = ${prefix}/include oldincludedir = /usr/include infodir = ${prefix}/info datarootdir = ${prefix}/share docdir = ${datarootdir}/doc htmldir = ${docdir} . . # ------------------------------------------------- # Miscellaneous non-standard autoconf-set variables # ------------------------------------------------- # The gcc driver likes to know the arguments it was configured with. TOPLEVEL_CONFIGURE_ARGUMENTS=/root/gcc42/gcc-4.2.3/configure --prefix=/opt/gcc42 --program-suffix=42 --with-local-prefix=/opt/gcc42 --enable-shared --enable-threads=posix --enable-checking=release --enable-version-specific-runtime-libs --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,fortran --with-dwarf2 --with-system-zlib --enable-java-awt=gtk,xlib --disable-dssi --enable-plugin --with-gmp=/opt/gmp --with-mpfr=/opt/mpfr tooldir = ${exec_prefix}/x86_64-unknown-linux-gnu build_tooldir = ${exec_prefix}/x86_64-unknown-linux-gnu . . ...build]# make . ...build]# make check make[1]: Entering directory `/root/gcc42/build' make[2]: Entering directory `/root/gcc42/build/fixincludes' autogen -T /root/gcc42/gcc-4.2.3/fixincludes/check.tpl /root/gcc42/gcc-4.2.3/fixincludes/inclhack.def make[2]: autogen: Command not found make[2]: *** [check] Error 127 make[2]: Leaving directory `/root/gcc42/build/fixincludes' make[1]: *** [check-fixincludes] Error 2 make[1]: Leaving directory `/root/gcc42/build' make: *** [do-check] Error 2 I tried ...build]# make install After these commands, there were some executables in /opt/gcc42/bin, but no include files in /opt/gcc42/include. Under /opt/gcc42/lib there was libiberty.a and a subdir gcc. This subdirectory contained another subdirectory x86_64-unknown-linux-gnu. Can someone advise me on what I have missed? It would be much appreciated. Regards, Ken McFarlane