On Thu, Jan 6, 2011 at 9:18 PM, Pengcheng Wu
<address@hidden> wrote:
Forgive me if this is a repost. I searched but ...
Trying to build octave 3.2.4 but it fails at configure:
./configure --prefix=SOME_DIR --without-amd --enable-shared --disable-static
The console complains:
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... -v
checking for Fortran 77 libraries of gfortran... -L/usr/lib64 -L/usr/X11R6/lib -L/home/../bin/lib/gcc/x86_64-unknown-linux-gnu/4.5.2 -L/home/somdir/bin/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/home/somedir/bin/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../.. -lz -lgfortran -lm -lfreetype -lGL -lGLU
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in `./octave-3.2.4':
configure: error: linking to Fortran libraries from C fails
However, the config.log says differently, which I will just list errors:
...
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
...
conftest.c:53:26: fatal error: minix/config.h: No such file or directory
...
g++: Carbon: No such file or directory
cc1plus: error: unrecognized command line option "-framework"
...
conftest.c:66:27: fatal error: qhull/qhull_a.h: No such file or directory
...
conftest.c:34:18: fatal error: pcre.h: No such file or directory
...
conftest.c:70:19: fatal error: fftw3.h: No such file or directory
...
The machine runs Redhat linux 2.6.9_5-9-0-0, gcc version is 4.5.2.
Thanks for any help in advance!
-Pengcheng