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
> blas-3_0-2.i386.rpm
> lapack-3_0-2.i386.rpm
> libgfortran41-4.1.2_20061115-5.i586.rpm
> 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.
Allin.
------------------------------------------------------------------------
_______________________________________________
Gretl-devel mailing list
Gretl-devel(a)ricardo.ecn.wfu.edu
http://ricardo.ecn.wfu.edu/mailman/listinfo/gretl-devel
I did install binaries for MPFR and LAPACK.
I will try the development files.
By the way, did you know that LAPACK have a new version since November?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFFv/uMHvesJJ5UqvkRAjFLAJ9a/BGndScplgGO/B1Al3j4oCwS2gCgqNkD
I6BwfNBfztUXT0k6tujm/5g=
=QvQE
-----END PGP SIGNATURE-----