On Friday 19 June 2009 03:40:08 Alan McKinnon wrote:
> On Friday 19 June 2009 02:09:21 Daniel D Jones wrote:
> > I'm getting lots of errors like the following:
> >
> > * ERROR: app-office/karbon-1.6.2 failed.
> > * Call stack:
> > * ebuild.sh, line 49: Called src_unpack
> > * environment, line 4471: Called kde-meta_src_unpack
> > 'unpack' * environment, line 3153: Called die
> > * The specific snippet of code:
> > * die "Can't find library ${libname} under
> > ${PREFIX}/$(get_libdir)/";
> > * The die message:
> > * Can't find library libkopainter under /usr/kde/3.5/lib/
> >
> > The missing library is under /usr/lib/ rather than /usr/kde/3.5/lib/
> >
> > If I create a symlink to the lib under /usr/kde/3.5/lib/, that line
> > passes but if fails on another library. I'd like to find out why the lib
> > is in a different place from where it's expected and fix the problem
> > rather than patch the issue with lots of symlinks. Is this a
> > misconfiguration on my system?
>
> Definitely something wrong on your box.
> KDE-3.5 libs always go in /usr/kde/3.5/lib
> KDE-4 libs go in /usr/lib or /usr/kde/4/lib depending on your
> "USE=kdeprefix"
>
> Symlinks are not likely to work, as karbon-1.6.2 wants to build against
> KDE-3.5 stuff.
>
> Lets start with your make.conf and emerge --info plus "eix kdelibs"
Thanks for the response. Requested info follows.
ROOT / # cat /etc/make.conf
CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="widescreen -gnome offensive slang unicode mozdevelop kde kdecards \
xinerama opengl X arts avi live matroska mpeg ogg vorbis real \
theora xanim aac sdl xv dvd dvdnav dvdread 3dnow 3dnow2 mmx \
mmx2 mmxext sse 3dnowext a52 svg glitz truetype type1 alsa mp3 \
jpeg png curl gif gtk dbus -qt3 qt4 vesa wind32codecs \
-firefox mikmod cairo xulrunner oss esd mysql webkit glib xcb spell \
mng -sse2 useithreads encode"
VIDEO_CARDS="radeon"
INPUT_DEVICES="keyboard mouse"
ROOT / # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1,
2.6.26-gentoo-r4 i686)
=
System uname: Linux-2.6.26-gentoo-r4-i686-AMD_Athlon-tm-
_64_X2_Dual_Core_Processor_6000+-with-glibc2.0
Timestamp of tree: Sat, 20 Jun 2009 06:00:01 +
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python: 2.5.4-r2
dev-util/cmake: 2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.6-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo";
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --
compress --force --whole-file --delete --stats --timeout=180 --
exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnow2 3dnowext X a52 aac acl alsa arts avi berkdb bzip2 cairo cli
cracklib crypt cups curl dbus dri dvd dvdnav dvdread encode esd fortran gdbm
gif glib glitz gpm gtk iconv ipv6 isdnlog jpeg kde kdecards live matroska midi
mikmod mmx mmx2 mmxext mng mozdevelop mp3 mpeg mudflap mysql ncurses nls nptl
nptlonly offensive ogg opengl openmp oss pam pcre perl png pppd python qt4
readline reflection sdl session slang spell spl sse ssl svg sysfs tcpd theora
truetype type1 unicode useithreads vesa vorbis webkit widescreen wind32codecs
x86 xanim xcb xinerama xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371
es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm