View previous topic :: View next topic |
Author |
Message |
Zonker n00b
Joined: 08 Feb 2004 Posts: 9
|
Posted: Thu Feb 12, 2004 9:54 am Post subject: Problems with emerge kde |
|
|
I've tried using "emerge kde" and "emerge kdebase", but every single time, it ends up ginving me this:
"g++ "{ global:" > .libs/libfam.ver
g++: { global:: No such file or directory
g++: no input file
make[2]: *** [libfam.la] Error 1
make[2]: Leaving directory '/var/tmp/portage/fam-2.7.0/work/fam-2.7.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/fam-2.7.0/work/fam-2.7.0'
make: *** [all] Error 2
!!! ERROR: app-admin/fam-2.7.0 failed.
!!! Function src_compile, Line 418, Exitcode 2
!!! emake failed"
Any help would be greatly appreciated |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Thu Feb 12, 2004 10:04 am Post subject: |
|
|
It's a fam problem. Replacing the fam ebuild with this one I got from copeja in another thread did the trick to me. https://forums.gentoo.org/viewtopic.php?t=113225&highlight=fam+2+7+0
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/app-admin/fam/fam-2.7.0.ebuild,v 1.7 2004/02/09 15:38:26 gustavoz Exp $
inherit libtool eutils
DESCRIPTION="FAM, the File Alteration Monitor"
HOMEPAGE="http://oss.sgi.com/projects/fam/"
SRC_URI="ftp://oss.sgi.com/projects/fam/download/stable/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="x86 ppc ~alpha sparc hppa ~amd64 ~ia64"
DEPEND=">=net-nds/portmap-5b-r6"
src_unpack() {
unpack ${A}
# fix permission problems with user* in FEATURES (#35307)
chmod u+w ${S}/configure
}
src_install() {
einstall || die
dosed "s:local_only = false:local_only = true:g" conf/fam.conf
exeinto /etc/init.d
doexe ${FILESDIR}/famd
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS TODO README
}
pkg_postinst() {
einfo "To enable fam on boot you will have to add it to the"
einfo "default profile, issue the following command as root to do so."
echo
einfo "rc-update add famd default"
# temporary warning for people upgrading
# 6-12-03 foser <foser@gentoo.org>
echo
echo
ewarn "IMPORTANT INFO FOR USERS UPGRADING FROM OLDER (<2.7.0) FAM VERSIONS :"
echo
einfo "With the 2.7.0 version the fam daemon moved to sbin and was"
einfo "renamed from 'fam' to 'famd'. These changes are for consistency"
einfo "reasons also applied to the Gentoo init script. This means you"
einfo "will have to remove fam from the default runlevel and add famd."
einfo "This can be done by issueing the following commands :"
echo
einfo "rc-update del fam"
einfo "rc-update add famd default"
einfo "rm /etc/init.d/fam"
echo
einfo "The last command removes the old init script."
} |
|
Back to top |
|
|
Zonker n00b
Joined: 08 Feb 2004 Posts: 9
|
Posted: Thu Feb 12, 2004 10:08 am Post subject: |
|
|
Thanks for the fast reply, I'de try it now, but I'm just about the pass out from exhaustion |
|
Back to top |
|
|
|