Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43720 - gnucash won't build, wrong libgtkhtml
Summary: gnucash won't build, wrong libgtkhtml
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-04 08:05 UTC by tony den haan
Modified: 2005-04-02 13:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tony den haan 2004-03-04 08:05:46 UTC
emerging gnucash-gnucash-1.8.8 gives:

checking for gtkhtml < 1.1... checking for gtk_html_new in -lgtkhtml... no
configure: error: Cannot find gtkhtml. See the README and config.log for more info

emerging libgtkhtml gives libgtkhtml-3.0.9, so that's not the one.

tried to follow gtk logic and found out emerging gtkhtml-1.1.10-r1 gives
libgtkhtml-1.1.so.3.0.5, which still isn't the one needed by gnucash.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-03-04 19:55:43 UTC
attach the config.log, i'm pretty sure gnucash 1.8.8 works with gnome-extra/gtkhtml-1.1.10.

the deps are right in the ebuild as well since gtkhtml-3 is gnome-extra/libgtkhtml-3 in portage. 

mcvaio gnucash-1.8.8 # for x in /usr/lib/gnucash/*.so; do ldd $x; done | grep gtkhtml   
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x40430000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x40540000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x40a35000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x40a75000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x40792000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x4011b000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x40291000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x4043a000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x408bd000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x408b5000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x40546000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x40990000)
        libgtkhtml-1.1.so.3 => /usr/lib/libgtkhtml-1.1.so.3 (0x40ee2000)


also, please attach all relevent information such as emerge info and the relevent package versions.
Comment 2 tony den haan 2004-03-05 04:27:23 UTC
config.log: 
configure:13646: checking for gtkhtml < 1.1 (!!!!!)
configure:13663: checking for gtk_html_new in -lgtkhtml
configure:13682: gcc -o conftest -march=pentium3 -O3 -pipe     conftest.c -lgtkhtml -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgtkhtml-1.1 -lgal -lgnomeprint -lfreetype -lglade-gnome -lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -laudiofile -ldb1 -lgdk_pixbuf -lgnomecanvaspixbuf -lgconf-gtk-1 -lgconf-1 -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lpopt -lm  -lm 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgtkhtml
collect2: ld returned 1 exit status
configure: failed program was:
#line 13671 "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; }

emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3)
=================================================================
System uname: 2.6.3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.8p1
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
Autoconf: sys-devel/autoconf-2.57a-r1
Automake: sys-devel/automake-1.7.2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.11/sites/www.ibiblio.org/gentoo/ http://212.219.247.12/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portagetemp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gdbm gif gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sdl slang snmp spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"

Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-03-06 04:48:36 UTC
there should be a /usr/lib/libgtkhtml.so symlink to /usr/lib/libgtkhtml-1.1.so.3.0.5 

does that exist on your system?
Comment 4 tony den haan 2004-03-06 07:09:16 UTC
/usr/lib/libgtkhtml-1.1.so.3.0.5  is installed by 
gtkhtml-1.1.10-r1. 

but the config.log shows:

checking for gtkhtml < 1.1... checking for gtk_html_new in -lgtkhtml... no

note the "<"
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-03-06 07:22:32 UTC
don't believe what the print statement says. the check it only checking for -lgtkhtml and the function gtk_html_new, which is present in gtkhtml-1.*

i'm tlaking about the file "/usr/lib/libgtkhtml.so", do you have that or not?
Comment 6 tony den haan 2004-03-06 10:14:26 UTC
> i'm tlaking about the file "/usr/lib/libgtkhtml.so", do you have that or not?

that's a negative! just the libgtkhtml-1.x and -3.x.
Comment 7 foser (RETIRED) gentoo-dev 2004-04-25 11:14:29 UTC
does 'qpkf -f /usr/lib/libgtkhtml.so' give any output ?

This link should be provided by gtkhtml-1 , which you say you have.
Comment 8 tony den haan 2004-04-25 15:38:54 UTC
qpkg -f /usr/lib/libgtkhtml.so said nothing.
to get the thing to build i created a link myself:

/usr/lib/libgtkhtml.so -> libgtkhtml-1.1.so.3.0.5

which seems asking for trouble, since how
can any installer/configure/linker know which
version it's using?
Comment 9 foser (RETIRED) gentoo-dev 2004-08-06 11:47:20 UTC
Sorry it's been so long, got a bit snowed under.

if libgtkhtml.so said nothing, then libgtkhtml-1 didn't install it or libgtkhtml-1 isn't installed. Check by trying to emerge it : 'emerge gtkhtml -vp'.

Every version of gnucash has a dep on gtkhtml-1 , so i don't really see how this could happen.
Comment 10 Ryan Kelly 2004-09-20 22:02:52 UTC
I am having the same problem, with the same error message, trying to emerge both gnucash-1.8.8 and 1.8.9.  Checking the libgtkhtml symlink gives:

mango ~ # qpkg -f /usr/lib/libgtkhtml.so
gnome-extra/gtkhtml *
mango ~ #


I am on an amd64 system, with info as follows.  Any updates on what's causing this behavior?


Portage 2.0.51_rc1 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040918-r0, 2.6.7-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.7-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.rfk.id.au/ ftp://mirror.aarnet.edu.au/pub/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apm avi berkdb bitmap-fonts bonobo cdr crypt dvd encode foomaticdb gd gdbm gif gnome gtk gtk2 gtkhtml imap imlib java jikes jpeg ldap libg++ libwww maildir mikmod motif mpeg mysql ncurses nogcj oggvorbis opengl opie oss pam pdflib png pnp python quicktime readline samba sdl slang spell ssl tcpd tetex theora tiff truetype usb wxwindows xine xml2 xmms xprint xv zlib"



Comment 11 Ryan Kelly 2004-09-25 15:21:14 UTC
Just to follow up on this, I managed to get Gnucash 1.8.9 to compile by re-merging gnome-base/orbit-0.5.17, then gtkhtml, then gnucash.  Dont quite know how it got broken, but maybe this will help some people out :-)

Cheers,

  Ryan
Comment 12 John N. Laliberte (RETIRED) gentoo-dev 2005-03-25 21:04:41 UTC
are you still having this problem with 1.8.9 ? Bug is over a year old.
Comment 13 tony den haan 2005-03-26 05:08:50 UTC
seems the symlink /usr/lib/libgtkhtml.so still doesn't get created, i suppose the problem is in the gtkhtml ebuild, or at least that's where it could be fixed.
Comment 14 John N. Laliberte (RETIRED) gentoo-dev 2005-03-26 06:18:36 UTC
I can't verify this myself because it works fine here.  Can you try re-emerging gnome-extra/gtkhtml, and then gnucash?
Comment 15 tony den haan 2005-04-02 13:50:05 UTC
ok, rebuilding libgtkhtml created the link to libgtkhtml.so -> libgtkhtml-1.1.so.3.0.5