After emerging amarok, I got the "couldn't find configuration, please compile with --prefix=`kde-config --prefix` etc"-error message when I tried to run amarok. This happened with all 1.4-ebuilds, not with the older ones. If I compile amarok from .tar.bz2-source like advised, amarok runs fine. I have added PREFIX=${KDEDIR} in src_compile(), like in the 1.3-ebuilds, and everything works fine now.
Compiles just fine here. Reopen with config.log and emerge --info output.
config.log ------------------------------------------- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-gstreamer10 --enable-mysql --disable-postgresql --with-opengl --with-xmms --without-libvisual --enable-amazon --without-musicbrainz --without-exscalibar --without-libgpod --without-mp4v2 --without-ifp --without-helix --with-xine --without-mas --without-nmm --with-x --enable-mitshm --without-xinerama --with-qt-dir=/usr/qt/3 --enable-mt --with-qt-libraries=/usr/qt/3/lib --disable-dependency-tracking --disable-debug --without-debug --with-arts --with-extra-includes=/usr/kde/3.5/include --with-extra-libs=/usr/kde/3.5/lib --build=i686-pc-linux-gnu emerge --info output: ----------------------------------- Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.15-gentoo-r7 i686) ================================================================= System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://130.59.10.34/mirror/gentoo/ ftp://130.59.10.35/mirror/gentoo/ ftp://130.59.10.34/mirror/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 bzlib cdr crypt cups curl directfb dri dts eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 icq idn imagemagick imlib isdnlog jack java jpeg kde lcms libg++ libwww mad matroska mhash mikmod mmx mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis openal opengl oss pam pcre pdflib perl php png pppd python qt quicktime readline ruby samba sdl speex spell sql sqlite ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis x86 xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
(In reply to comment #2) > config.log Uhm? I meant a completele config.log, not a couple of lines...
From user: echo $KDEDIRS echo $KDEDIR amaroK 1.4 works fine in /usr, if the directories are fine.
(In reply to comment #3) > Uhm? I meant a completele config.log, not a couple of lines... It's 136kb, so i would have to split it into three postings. Should I email it to you? > echo $KDEDIRS > echo $KDEDIR > amaroK 1.4 works fine in /usr, if the directories are fine. $KDEDIRS: /usr:/usr/kde:/usr/share/apps/kdevelop:/usr/kde/3.5 $KDEDIR is not set. It also isn't set in /etc/env.d.
Nevermind the config.log, is not needed. Sounds like the problem are stray .la files in /usr/kde/<kdever> most likely. Try this: find /usr/kde/3.5 -name '*amarok*.la'
(In reply to comment #6) > find /usr/kde/3.5 -name '*amarok*.la' /usr/kde/3.5/lib/kde3/libamarok_void-engine_plugin.la /usr/kde/3.5/lib/kde3/libamarok_gst10engine_plugin.la /usr/kde/3.5/lib/kde3/libamarok_xine-engine.la /usr/kde/3.5/lib/kde3/konqsidebar_universalamarok.la /usr/kde/3.5/lib/kde3/libamarok_vfat-mediadevice.la /usr/kde/3.5/lib/libamarok.la
Assuming you don't have amaroK 1.3 installed (also if I forgot to state that before, sorry), those are leftovers from older amaroK, being touched by fix-libtool-files.sh and thus left there by portage. Delete them, run kbuildsycoca, and restart amarok.
(In reply to comment #8) > Assuming you don't have amaroK 1.3 installed (also if I forgot to state that > before, sorry), those are leftovers from older amaroK, being touched by > fix-libtool-files.sh and thus left there by portage. I don't have it installed > Delete them, run kbuildsycoca, and restart amarok. doesn't work, now amarok says KLibLoader could not load the plugin: libamarok_void-engine_plugin Error message: Library files for "libamarok_void-engine_plugin.la" not found in paths. and similiar messages for the other libraries. Then it displays the old message: amaroK could not find any sound-engine plugins. amaroK is now updating the KDE configuration database. Please wait a couple of minutes, then restart amaroK.
Can you give me the output of qlist amarok ? Or did you install amarok by hand in KDe's prefix perhaps?
(In reply to comment #10) > Or did you install amarok by hand in KDe's prefix perhaps? I propably did with my modified ebuild. Right now I am recompiling amarok with the default ebuild, if it works, I will close the bug. I have nearly the same problems with kdevelop. Should I also try to remove it's .la-files?
I emerged the origional ebuild again. There are no more .la files in /usr/kde/3.5 anymore, but again amarok doesn't start without running kbuildsycoca at first (same with kdevelop), giving the usual error message.
Does it work after running kbuildsycoca? If that's the case, nothing we can do, it's that way by design.
>Does it work after running kbuildsycoca? If that's the case, nothing we can >do, it's that way by design. Yes, but only until I log out. The next time I log in, I have to run kbuildsycoca again. Putting kbuildsycoca in the autostart seems like a bad workaround.
Make sure you didn't mess up with out-of-portage installation in /usr/kde/3.5. If the problem persists, report upstream.
*** Bug 133643 has been marked as a duplicate of this bug. ***
In my case this is a new install and I did not alter anything and this has been a problem for all of 1.4.{0,0-r1,0-r2}. $ env | grep KDEDIR KDEDIRS=/usr # find /usr/kde/3.5 -name '*amarok*.la' returns nothing. Running kbuildsycoca does not help. My emerge --info can be viewed in #133643 (for some reason I wasn't able to locate this bug). I'm not quite sure what to make of this. Should I post config.log or qlist amarok? Any suggestions?
Now I've downgraded to amaroK 1.3.8 which does work, and now I realize that amaroK 1.3.x puts its libs in /usr/kde/3.5/lib whereas amaroK 1.4.x puts them in /usr/lib/kde3. Is this supposed to be so?
I have the exact same problem with amarok 1.4.3-r1. Downgrading to 1.3.8 works, and find /usr/kde/3.5 -name '*amarok*.la' returns nothing. However inserting the following (taken from the 1.3.8 ebuild) in the src_compile section of the 1.4.3-r1 ebuild makes it work: # amarok does not respect kde coding standards, and makes a lot of # assuptions regarding its installation directory. For this reason, # it must be installed in the KDE install directory. PREFIX="${KDEDIR}"
Please don't install in /usr/kde/3.5 or you will lose any kind of support. If you have problems with amarok, open a *new* bug.
*** Bug 148883 has been marked as a duplicate of this bug. ***
*** Bug 149125 has been marked as a duplicate of this bug. ***
rm /usr/kde/3.5/lib/kde3/*amarok*la solved for me
*** Bug 150068 has been marked as a duplicate of this bug. ***
I resolved the issue by removing *every* trace of kde-3.4-stuff in the portage tree and in the file system and recompiling amarok. For some reason some remains were lying around there although I was already using kde 3.5.
*** Bug 150761 has been marked as a duplicate of this bug. ***
*** Bug 151883 has been marked as a duplicate of this bug. ***
*** Bug 155347 has been marked as a duplicate of this bug. ***
*** Bug 155756 has been marked as a duplicate of this bug. ***
*** Bug 159174 has been marked as a duplicate of this bug. ***
*** Bug 168930 has been marked as a duplicate of this bug. ***
*** Bug 190292 has been marked as a duplicate of this bug. ***
Where I can find informations about howto remove a CC?
I has this problem too - on fresh Gentoo install with current versions of Xine and Amarok. After few hours I found my problem - emerge has installed kdelibs as deperdenci, but dont update variables -- "env-update && source /etc/profile" has fixed this... ?maybe you should add this to kdelibs ebuild?