Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95 - dev-util/uml emerge aborts
Summary: dev-util/uml emerge aborts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-09 08:57 UTC by Charles Kerr
Modified: 2002-01-09 13:03 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 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 <darks@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/dev-util/uml/uml-1.0.1.ebuild,v 1.2 
2001/11/10 12:45:09 hallski Exp

S=${WORKDIR}/${P}

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

need-kde 2

DESCRIPTION="KDE 2.2 UML Drawing Utility"
SRC_URI="http://prdownloads.sourceforge.net/uml/${P}.tar.gz"
HOMEPAGE="http://uml.sourceforge.net"

RDEPEND=">=kde-base/kdebase-2.2"

DEPEND="${RDEPEND}
        virtual/glibc"

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 || 
die

#       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.