trouble compiling gnucash-1.6.0-1.src.rpm

François Jan fjan@wanadoo.fr
05 Jul 2001 21:45:42 +0200


Hi everybody,

when I try compiling gnucash from source after installing the last
evolution snapshot, I get this message:

configure: error: can't find libgal...

Of course libgal, gal and gal-devel are installed.

When looking at config.log, here is what we can see

configure:6519: checking for main in -lgal
configure:6534: gcc -o conftest -g -O2 -Wall -Wunused  -Wall -Wno-unused
-Werror-implicit-function-declaration   conftest.c -lgal -rdynamic
-L/usr/lib -L/usr/X11R6/lib -lgal -lgnomeprint -lglade-gnome -lglade
-lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgnome
-lgnomesupport -lesd -laudiofile -ldb1 -lgdk_pixbuf -lgtk -lgdk
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgnomecanvaspixbuf -lm  -lm
1>&5
/usr/bin/ld: cannot find -lSM
collect2: ld returned 1 exit status
configure: failed program was:
#line 6527 "configure"
#include "confdefs.h"
...

When I check my libs:
# ldconfig -p | grep libSM
libSM.so.6 (libc6) => /usr/X11R6/lib/libSM.so.6

So I don't know what is wrong and I would appreciate any help !

By the way, I run redhat 7.0 with gnome 1.4 and last evolution, gal and
gtkhtml,... snapshots from ximian.

Thanks in advance,
François