Hèlio, I haven't read your message very thoroughly, but AFAIK Suse's
Lapack has always been incomplete and/or problematic. You may want to
compile lapack and related stuff from source. Or use another distro...
(I liked Suse, but left it precisely for that reason.)
-sven
Hélio Guilherme schrieb:
Hi all,
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 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
...
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'
...
make screen output:
...
mkdir .libs
gcc -o .libs/gretlcli gretlcli.o complete.o
../lib/.libs/libgretl-1.0.so -L/usr/local/lib /usr/lib/libxml2.so -ldl
-lz -lm -L/opt/gnome/lib /opt/gnome/lib/libglib-2.0.so -lrt
/usr/lib/libgmp.so -lreadline -lncurses
../lib/.libs/libgretl-1.0.so: undefined reference to `dtrcon_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dspsv_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dpptri_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dpptrf_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dpocon_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dsyev_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dgeev_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dtrtri_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dgetrf_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dgelss_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dorgqr_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dpotrf_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dpotri_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dgeqrf_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dgesvd_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dgetrs_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dgetri_'
collect2: ld returned 1 exit status
make[1]: *** [gretlcli] Error 1
make[1]: Leaving directory `/home/helio/gretl-1.6.0/cli'
make: *** [cli] Error 2
helio@techno:~/gretl-1.6.0>
Thank you,
Hélio Guilherme
_______________________________________________
Gretl-devel mailing list
Gretl-devel(a)ricardo.ecn.wfu.edu
http://ricardo.ecn.wfu.edu/mailman/listinfo/gretl-devel