Gnucash install

Paulo J. Matos aka PDestroy pocm@rnl.ist.utl.pt
04 Nov 2001 23:38:08 +0000


Hi all,

I'm having problems installing GnuCash-1.6.4
I've downloaded the tar and untarred it.
I've run ./configure but...:
$ ./configure
(...)
checking for guile libraries... -L/usr/lib -lguile -s -lm
checking for guile headers... -I/usr/include
checking whether guile works... yes
checking for gnome-config... (cached) /usr/bin/gnome-config
checking for GNOME-PRINT - version >= 0.21... found 0.25
checking for gnome-config... (cached) /usr/bin/gnome-config
Unknown library `xml'
checking for xmlNewDoc in -lxml... Unknown library `xml'
no
configure: error: Could not link sample xml program


Ok, so... I looked at what could be missing... 
Anyway, I have a libxml installed as rpm...
[root@localhost gnucash-1.6.4]# rpm -q libxml
libxml-1.8.15-1


Ok, maybe it's not enough... I went to gnucash site and searched
for a libxml... So I found a site with a libxml2... I got it,
compiled it and installed it...
I ran ldconfig and I did 'make test'. Everything great!
But still gnucash gives me the same problem.
[root@localhost pdestroy]# locate lib/libxml
/usr/lib/libxmlparse.so.0
/usr/lib/libxmlparse.so.0.1.0
/usr/lib/libxmltok.so.0
/usr/lib/libxmltok.so.0.1.0
/usr/lib/libxml.so.0
/usr/lib/libxml.so.0.0.0
/usr/lib/libxmlparse.a
/usr/lib/libxmlparse.la
/usr/lib/libxmlparse.so
/usr/lib/libxmltok.a
/usr/lib/libxmltok.la
/usr/lib/libxmltok.so
/usr/X11R6/lib/libxml.so.1.8.15
/usr/X11R6/lib/libxml.so.1
/usr/X11R6/lib/libxml.la
/usr/X11R6/lib/libxml.so
/usr/local/lib/libxml2.so.2
/usr/local/lib/libxml2.so.2.4.7
/usr/local/lib/libxml2.so
/usr/local/lib/libxml2.la
/usr/local/lib/libxml2.a


Ok, so I though... let's go into config.log to see what went
wrong...
The following is the tail of config.log:
configure:4104: checking for xmlNewDoc in -lxml
configure:4123: gcc -o conftest -g -O2 -Wall -Wunused    conftest.c -lxml  -lm  1>&5
/usr/bin/ld: cannot find -lxml
collect2: ld returned 1 exit status
configure: failed program was:
#line 4112 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char xmlNewDoc();

int main() {
xmlNewDoc()
; return 0; }


Oh, if it matters, my gcc is:
[root@localhost gnucash-1.6.4]# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/specs
Configured with: ../gcc-3.0.2/configure 
Thread model: single
gcc version 3.0.2


Any ideas?

Best regards,

-- 
Paulo J. Matos aka PDestroy : pocm(_at_)rnl.ist.utl.pt
Instituto Superior Tecnico - Lisbon
Software & Computer Engineering - A.I.
 - > http://www.rnl.ist.utl.pt/~pocm