On Mon, 29 Jan 2007, Hélio Guilherme wrote:
I formatted the disc and installed OpenSuse 10.2.
Even in the previous system I was having error messages when compiling
Gretl. This new fresh installation serves also to test Gretl dependencies.
I installed in this order:
gretl-1.6.0.tar.bz2 - Extracted in home
gcc-fortran (using Suse installer)
mpfr (using Suse installer)
gnuplot (using Suse installer)
libplot (dependencies from gnuplot)
With these the configure creates required files (Makefiles, ...), but
reports missing MPFR >= 2.2.0 and LAPACK.
I'm not sure how SuSE does this, but in distros I'm more familiar
with you would need also the "dev" rpms for the above (well, for
lapack and mpfr, certainly).
I did solve before the LAPACK test by changing the order of linker
options "-l", and the compilation completes then.
But now I run out of hypothesis, so I ask for your help.
MPFR, config.log part:
configure:24396: checking for MPFR - version >= 2.2.0
configure:24479: gcc -o conftest -g -O2 -I/include conftest.c -L/lib
- -lmpfr -lc -lc -lm >&5
conftest.c:56:18: error: mpfr.h: No such file or directory
Where is mpfr.h on your system?
LAPACK, config.log part:
configure:24845: checking for LAPACK
configure:24884: gcc -o conftest -I./lib/src -g -O2 conftest.c
- -L/usr/lib -llapack -lblas -lgfor
tran -lc -lc -lm >&5
/usr/lib/liblapack.so: undefined reference to `s_stop'
/usr/lib/liblapack.so: undefined reference to `s_wsfe'
/usr/lib/liblapack.so: undefined reference to `r_lg10'
It seems like these symbols should be supplied by libgfortran, but
since apparently they are not, you might try adding -lg2c to the
LAPACK_LIBS line in lib/Makefile.