On Sat, 3 May 2008, Max Pyziur wrote:
On Fedora 8, libblas is installed separately. However, reviewing
your notes below I also installed blas-devel. This caused the
rpmbuild/compilation to go farther. (It might be worthwhile to
this dependency in the spec file).
The difficulty here is this: liblapack is useless without _some_
form of libblas (BLAS = Basic Linear Algebra System), but there
are various blas's. There's the libblas from the same (netlib)
source as lapack itself, and there are versions that are tuned for
best performance on a specific processor. I'd say that it's
really up to the OS/distro to ensure that if you choose to install
lapack, some suitable form of blas is pulled in as a dependency.
Or in other words, this seems like a Fedora packaging bug to me.
The following message registered after the configuration (which
didn't before blas-devel):
Configuration...
[snip]
Build with gnome support: 2.0
So far as the configure script is concerned, then, gnome is OK.
but then it failed with the following:
gcc -o .libs/gretl_x11 [object modules]
-pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2
-lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation
-lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0
-lpango-1.0 -lcairo -lgconf-2 -lORBit-2 -lgthread-2.0 -lrt
-L/usr/src/redhat/BUILD/gretl-1.7.4/gui2/gtksourceview -lgtksourceview-lite
-L/usr/src/redhat/BUILD/gretl-1.7.4/gui2/gtkextra-lite -lgtkextra-lite
../lib/.libs/libgretl-1.0.so -L/usr/lib -llapack -lblas -lgfortran
-L/usr/local/lib -lz -lxml2 -lgmp -lfftw3 -lm -lgdk_pixbuf-2.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgnomeui-2.so when searching for
-lgnomeui-2
[ plus more "skipping incompatible" messages for gnome-related
libraries.]
But so far as the linker is concerned, gnome is a mess! Very
weird. What's wrong with your gnome libraries that the linker
finds them "incompatible"? Is this a 64-bit system?
You could try passing the option "--without-gnome" to configure
(or put it in the .spec file), since the linker is not barfing on
the other libraries that gretl wants. And in fact, you don't lose
much by dropping the gnome linkage.
Allin Cottrell