This may be a problem with autoconf, and not GnuCash.  But anyway ...

Using the 1.5.2 that's in CVS, and the latest Gnome stuff from Helix,
I did "autogen.sh", and saw this:

    checking for gtk_html_new in -lgtkhtml... no
    configure: error: Cannot find gtkhtml.  See the README for more info.

In `config.log', I found this evidence:

    configure:6008: checking for gtk_html_new in -lgtkhtml
    configure:6027: gcc -o conftest -g -O2 -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations  -Wall -Werror-implicit-function-declaration   conftest.c 
-lgtkhtml -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgtkhtml -lgdk_pixbuf -ltiff -ljpeg 
-lpng -lgnomeprint -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule 
-lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl -lxml 
-lz -lm  -lm 1>&5
    /usr/lib/libgnomeprint.so: undefined reference to `unicode_iconv_open'
    /usr/lib/libgnomeprint.so: undefined reference to `unicode_init'
    /usr/lib/libgnomeprint.so: undefined reference to `unicode_iconv'
    collect2: ld returned 1 exit status

I figured the problem was simply that configure wasn't passing
"-lunicode" to the linker.  So I edited "configure" by changing the
line 

        LIBS="-lgtkhtml $GTKHTML_LIBS $LIBS"

to

        LIBS="-lgtkhtml $GTKHTML_LIBS $LIBS -lunicode"

That worked, but of course it's not a real fix; it's just a
workaround.  I suspect that "autoconf" doesn't realize that gtkhtml
requires -lunicode.  And if I'm right, I guess I should report this as
a bug against autoconf.  Have I in fact understood the problem
correctly?

-- 
PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5  C8BD 6337 0041 C01C 5276

_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

Reply via email to