Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142443 - kaffe-1.1.7 fails to build with gtk USE flag disabled
Summary: kaffe-1.1.7 fails to build with gtk USE flag disabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-01 10:27 UTC by Daniel Plaza
Modified: 2006-08-01 21:18 UTC (History)
0 users

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 Daniel Plaza 2006-08-01 10:27:23 UTC
if gtk use flag is disabled kaffe-1.7.7 fails with this error (tested on alpha and x86 without gtk libraries installed):


checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for X... no
configure: error: GTK+ peers requested but no X library available
configure: error: /bin/sh './configure' failed for libraries/javalib/external/classpath

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/kaffe-1.1.7/work/kaffe-1.1.7/config.log

!!! ERROR: dev-java/kaffe-1.1.7 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  kaffe-1.1.7.ebuild, line 88:   Called econf '--disable-dependency-tracking' '--prefix=/opt/kaffe-1.1.7' '--host=alpha-unknown-linux-gnu' '--without-alsa' '--without-esd' '--without-gmp' '--enable-nls' '--without-classpath-gtk-awt'
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


This line should be add to econf to get it working.

$(use_enable gtk gtk-peer)
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-08-01 21:18:22 UTC
Upon further inspection, it looks like there is $(use_with gtk classpath-gtk-awt) passed to econf, but it is no longer recognized by configure.

Removed it in favor of $(use_enable gtk gtk-peer.

Thanks for reporting!