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

Bug 95

Summary: dev-util/uml emerge aborts
Product: Gentoo Linux Reporter: Charles Kerr <punt>
Component: [OLD] KDEAssignee: Dan Armak (RETIRED) <danarmak>
Severity: normal    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Charles Kerr 2002-01-09 08:57:48 UTC
emerge of dev-util/um results in the following error:

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 1, Exitcode 1
!!! (no error message)

!!! emerge aborting on  /usr/portage/dev-util/uml/uml-1.0.1.ebuild .
Comment 1 Charles Kerr 2002-01-09 11:11:33 UTC
Basicaly it looks like kde apps must use the eclass approach?  Anyway, 
following kdbg as an example, the following ebuild appears to work:

# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Holger Brueckner <>
# /space/gentoo/cvsroot/gentoo-x86/dev-util/uml/uml-1.0.1.ebuild,v 1.2 
2001/11/10 12:45:09 hallski Exp


. /usr/portage/eclass/inherit.eclass || die
inherit kde-base || die

need-kde 2

DESCRIPTION="KDE 2.2 UML Drawing Utility"



src_compile() {
        kde_src_compile myconf
        myconf="$myconf --with-kde-version=2"
        kde_src_compile configure make

#       ./configure --prefix=/usr --disable-debug --mandir=${D}/usr/share/man || 

#       emake || die

#src_install() {
#       make DESTDIR=${D} install || die
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-01-09 13:03:16 UTC
OK, I've made a proper inheriting ebuild and it emerges and runs here. About 
to commit.