gtkhtml strangeness

cbbrowne@dantzig.brownes.org cbbrowne@dantzig.brownes.org
Fri, 11 Aug 2000 01:04:43 -0500


I'm having ill success at getting the latest CVS archives to compile;
seems to be something odd with gtkhtml.

I seem unable to link to it; some complaint of gtk_html_new() not
being found.  It should surely be there...

configure:5577: checking for gtk_html_new in -lgtkhtml
configure:5596: gcc -o conftest -g -O2 -Wall -Werror-implicit-function-declaration   conftest.c -lgtkhtml   -lm 1>&5
/usr/bin/ld: cannot find -lgtkhtml
collect2: ld returned 1 exit status
configure: failed program was:
#line 5585 "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 gtk_html_new();

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

In compiling by hand:

Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)
 /usr/lib/gcc-lib/i386-linux/2.95.2/collect2 -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o confgtest /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc-lib/i386-linux/2.95.2/crtbegin.o -L/usr/lib/gcc-lib/i386-linux/2.95.2 c.o -lgtkhtml -lm -lgcc -lc -lgcc /usr/lib/gcc-lib/i386-linux/2.95.2/crtend.o /usr/lib/crtn.o
/usr/bin/ld: cannot find -lgtkhtml
collect2: ld returned 1 exit status

I'm quite sure I have the library:

- The debian packages relevant to this:
ii  gtkhtml        0.5-2          HTML rendering/editing library - bonobo comp
ii  libgtkhtml3    0.5-helix3     The gtk html widget

- And the files...
lrwxrwxrwx    1 root     root           19 Jul 28 23:09 /usr/lib/libgtkhtml.so.3 -> libgtkhtml.so.3.0.0
-rw-r--r--    1 root     root       316536 Jul 13 13:03 /usr/lib/libgtkhtml.so.3.0.0

Or could it be that I need a libgtkhtml.a?
--
aa454@freenet.carleton.ca - <http://www.hex.net/~cbbrowne/linux.html>
"I'm sorry, the teleportation booth you have reached is not in service at
this time. Please hand-reassemble your molecules or call an operator to
help you...."