gtkhtml strangeness

Christopher Browne cbbrowne@hex.net
Fri, 11 Aug 2000 07:19:48 -0500


On Fri, 11 Aug 2000 12:49:15 -0000, the world broke into rejoicing as
Jan Schrage <jan.schrage@IWR.Uni-Heidelberg.De>  said:
> --v9Ux+11Zm5mwPlX6
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Fri, Aug 11, 2000 at 01:04:43AM -0500, cbbrowne@dantzig.brownes.org wrot=
> e:
> > I'm having ill success at getting the latest CVS archives to compile;
> > seems to be something odd with gtkhtml.
> >=20
> > I seem unable to link to it; some complaint of gtk_html_new() not
> > being found.  It should surely be there...
> >=20
> After a bit of playing around: the configure script calls gnome-config
> --libs gtkhtml to get what it needs. The following three line in
> gnome-config  (inserted in the appropriate place :-) do the trick for me
> (I had the same problem):
> 
>     gtkhtml)
>         the_libs=3D"$the_libs -L${libdir} -L/usr/local/lib -lgtkhtml -lXpm =
> -ljpeg -lpng -lz -lz -lSM -lICE -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rd=
> ynamic -lgmo dule -lglib -ldl -lXi -lXext -lX11 -lm -lgdk_pixbuf -laudiofil=
> e -lgnome -lgnomesupport -lgtk -lgdk -lgnomeprint -lesd -lxml -lgdk_imlib -=
> lart_lgpl -lgnomecanvaspixbuf"
>         ;;
> 
> It all depends on the included libraries.

Ah.  That _appears_ to hit the crux of the problem, insofar as my
gnome-config had no support for gtkhtml.

Unfortunately, it's not _quite_ there; the test program fails, and
I expect the full one will too:

% gcc -v -o confgtest -g -O2 c.o -rdynamic -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -lgtkhtml -lXpm -ljpeg -lpng -lz -lSM -lICE -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgdk_pixbuf -laudiofile -lgnome -lgnomesupport -lgtk -lgdk -lgnomeprint -lesd -lxml -lgdk_imlib -lart_lgpl -lgnomecanvaspixbuf

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 -export-dynamic -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 -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib/gcc-lib/i386-linux/2.95.2 c.o -lgtkhtml -lXpm -ljpeg -lpng -lz -lSM -lICE -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgdk_pixbuf -laudiofile -lgnome -lgnomesupport -lgtk -lgdk -lgnomeprint -lesd -lxml -lgdk_imlib -lart_lgpl -lgnomecanvaspixbuf -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

My suspicion is that I don't have a fully properly compiled gtkhtml for
development purposes, despite having...
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
--
cbbrowne@acm.org - <http://www.ntlug.org/~cbbrowne/>
Rules of the Evil Overlord #21. "I will hire a talented fashion
designer to create original uniforms for my Legions of Terror, as
opposed to some cheap knock-offs that make them look like Nazi
stormtroopers, Roman footsoldiers, or savage Mongol hordes. All were
eventually defeated and I want my troops to have a more positive
mind-set." <http://www.eviloverlord.com/>