Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130052 - amarok 1.4-beta3 prefix error
Summary: amarok 1.4-beta3 prefix error
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
: 133643 148883 149125 150068 150761 151883 155347 155756 159174 190292 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-15 05:02 UTC by Otto Allmendinger
Modified: 2009-01-04 01:41 UTC (History)
13 users (show)

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 Otto Allmendinger 2006-04-15 05:02:55 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-15 05:04:44 UTC
Compiles just fine here. Reopen with config.log and emerge --info output.
Comment 2 Otto Allmendinger 2006-04-15 07:11:17 UTC
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

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-15 07:21:51 UTC
(In reply to comment #2)
> config.log

Uhm? I meant a completele config.log, not a couple of lines...
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-15 07:28:14 UTC
From user:

echo $KDEDIRS
echo $KDEDIR

amaroK 1.4 works fine in /usr, if the directories are fine.
Comment 5 Otto Allmendinger 2006-04-15 07:54:33 UTC
(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. 
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-15 08:03:48 UTC
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'

Comment 7 Otto Allmendinger 2006-04-15 08:09:10 UTC
(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
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-15 08:12:16 UTC
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.
Comment 9 Otto Allmendinger 2006-04-15 08:23:03 UTC
(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.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-15 08:32:32 UTC
Can you give me the output of

qlist amarok

?

Or did you install amarok by hand in KDe's prefix perhaps?
Comment 11 Otto Allmendinger 2006-04-15 08:54:35 UTC
(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?
Comment 12 Otto Allmendinger 2006-04-15 10:14:16 UTC
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.
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-15 10:18:50 UTC
Does it work after running kbuildsycoca? If that's the case, nothing we can do, it's that way by design.
Comment 14 Otto Allmendinger 2006-04-16 05:03:39 UTC
>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. 
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-21 09:43:30 UTC
Make sure you didn't mess up with out-of-portage installation in /usr/kde/3.5. If the problem persists, report upstream.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-05-17 14:57:51 UTC
*** Bug 133643 has been marked as a duplicate of this bug. ***
Comment 17 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-05-17 15:30:13 UTC
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?
Comment 18 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-05-18 05:24:28 UTC
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?
Comment 19 Klaus S. Madsen 2006-09-16 01:51:19 UTC
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}"
Comment 20 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-16 04:22:03 UTC
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.
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-09-24 00:23:08 UTC
*** Bug 148883 has been marked as a duplicate of this bug. ***
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-09-25 16:01:20 UTC
*** Bug 149125 has been marked as a duplicate of this bug. ***
Comment 23 simone 2006-09-25 16:37:00 UTC
rm /usr/kde/3.5/lib/kde3/*amarok*la
solved for me

Comment 24 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 09:02:55 UTC
*** Bug 150068 has been marked as a duplicate of this bug. ***
Comment 25 Otto Allmendinger 2006-10-04 10:57:02 UTC
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.
Comment 26 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-10 10:52:36 UTC
*** Bug 150761 has been marked as a duplicate of this bug. ***
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2006-10-18 16:03:07 UTC
*** Bug 151883 has been marked as a duplicate of this bug. ***
Comment 28 Jakub Moc (RETIRED) gentoo-dev 2006-11-16 04:31:26 UTC
*** Bug 155347 has been marked as a duplicate of this bug. ***
Comment 29 Jakub Moc (RETIRED) gentoo-dev 2006-11-20 05:25:17 UTC
*** Bug 155756 has been marked as a duplicate of this bug. ***
Comment 30 Jakub Moc (RETIRED) gentoo-dev 2006-12-26 21:42:49 UTC
*** Bug 159174 has been marked as a duplicate of this bug. ***
Comment 31 Jakub Moc (RETIRED) gentoo-dev 2007-03-02 02:26:11 UTC
*** Bug 168930 has been marked as a duplicate of this bug. ***
Comment 32 Jakub Moc (RETIRED) gentoo-dev 2007-08-26 11:27:19 UTC
*** Bug 190292 has been marked as a duplicate of this bug. ***
Comment 33 Tiger 2007-08-26 19:06:25 UTC
Where I can find informations about howto remove a CC? 
Comment 34 kotas9 2009-01-04 01:41:24 UTC
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?