2nd try: can't configure FreeMat4

14 views
Skip to first unread message

charlie shaughnessy

unread,
Apr 19, 2009, 8:06:11 PM4/19/09
to freema...@googlegroups.com

I've checked out FreeMat4 from the svn repository, and am currently at
revision 3593, on Fedora 8. When I run the configure script, it fails.
I have confirmed that I can compile the 3.6 release on the same
machine. I'm at a loss, can anyone help me out?

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)

Samit Basu

unread,
Apr 20, 2009, 1:10:46 AM4/20/09
to freema...@googlegroups.com
Hi Charlie,

The autotools build no longer works. You have to use cmake. I need
to remove the autotools files. Sorry for the confusion.

Samit

charlie shaughnessy

unread,
Apr 20, 2009, 10:09:19 PM4/20/09
to freema...@googlegroups.com
Ok, I have Fedora 10 running in a virtual machine, with cmake installed.
However, it fails as follows:

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

charlie shaughnessy

unread,
Apr 20, 2009, 3:17:15 PM4/20/09
to freema...@googlegroups.com
Thanks Samit, but it looks like this is a non-starter for Fedora 8:

" CMake Error: This project requires version 2.6 of CMake. You are
running version 2.4.8. "

I tried to manually install the cmake rpm package from FC10, whose
version is 2.6.something, but it fails with a glibc++ conflict. I think
I'll just install F10 somewhere and push on from there.

Charlie

Samit Basu

unread,
Apr 20, 2009, 10:38:44 PM4/20/09
to freema...@googlegroups.com
My fault -- I broke the build last nite. Should be OK now.

Samit

c shaughnessy

unread,
Apr 21, 2009, 9:05:21 AM4/21/09
to freema...@googlegroups.com
Thanks. I updated to the latest, and was able to compile and open a
command window.

Charlie
Reply all
Reply to author
Forward
0 new messages