Here is some output from configure:
checking for gfortran... gfortran
configure: WARNING: In the future, Autoconf will not detect cross-
tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to auto...@gnu.org.
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking how to get verbose linking output from gfortran... configure:
WARNING: cannot determine how to obtain linking information from
gfortran
checking for Fortran 77 libraries of gfortran...
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details.
********************************
Here is the result of grep -i error config.log
f951: error: unrecognized command line option "-mthreads"
f951: error: unrecognized command line option "-mthreads"
f951: error: unrecognized command line option "-mthreads"
f951: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-mthreads"
configure:7601: error: linking to Fortran libraries from C fails
*********************************
Here is the output of gcc -v ( or gfortran -v)
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --enable-shared --enable-threads=posix --
enable-checking=release --with-system-zlib --enable-__cxa_atexit --
disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c+
+,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-
plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --
enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/
usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=x86_64-redhat-
linux
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
CMake Error in libs/libGraphics/CMakeLists.txt:
Cannot find source file "trackball.cpp".
Is this a missing dependency? There is a trackball.c and .h in the
native/ogl directory of FreeMat-3.6, but nothing for FreeMat4.
Charlie