Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 39449

Summary: gnucash-1.8.8 configure requires gconf-gtk-1 from gnome-base/gconf-1.x
Product: Gentoo Linux Reporter: Chris Bainbridge (RETIRED) <chrb>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Bainbridge (RETIRED) gentoo-dev 2004-01-26 06:56:21 UTC
Trying to emerge gnucash-1.8.8 does:

checking for GNOME-PRINT - version >= 0.21... found 0.35
checking for libglade-config... /usr/bin/libglade-config
checking for libglade... yes
checking for main in -lgal... yes
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.

!!! ERROR: app-office/gnucash-1.8.8 failed.
!!! Function econf, Line 339, Exitcode 1
!!! econf failed


config.log shows:

configure:13646: checking for gtkhtml < 1.1
configure:13663: checking for gtk_html_new in -lgtkhtml
configure:13682: gcc -o conftest -march=pentium4 -mcpu=pentium4 -mfpmath=sse -msse2 -mmmx -O2 -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.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgconf-gtk-1
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; }

This test is failing because it can't link with gconf-gtk-1, as this system has gconf-2.4.0.1 installed. As gconf is SLOT enabled, a DEPEND for gconf-1 should be added. Maybe the configure script could be patched to work with gconf 2 as well?
Comment 1 foser (RETIRED) gentoo-dev 2004-01-26 11:50:15 UTC
As it clearly states it is the gtkhtml test that is failing, so look there for problems : gnucash deps on gtkhtml deps on gconf-1 .

There is no other conclusion than that you have removed gconf-1 yourself in some way. Packages are slotted for a reason, don't remove versions just because they might seem obsolete. Try recompiling gtkhtml yourself to get its deps right.

Closing INVALID unless strong evidence suggests otherwise.
Comment 2 tony den haan 2004-02-22 09:14:36 UTC
on my system i get the same "checking for gtkhtml < 1.1... checking for gtk_html_new in -lgtkhtml... no"
but config.log shows nothing about gconf, just 
"/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgtkhtml"

i have gtkhtml-1.1.10-r1 installed, so i can imagine the
"checking for gtkhtml < 1.1." makes sense :)

didn't manage to parse the configure script though