Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41399 - xmms-kde doesn't compile; can't find qt-mt lib
Summary: xmms-kde doesn't compile; can't find qt-mt lib
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 10:36 UTC by Peter Humphrey
Modified: 2004-04-06 05:49 UTC (History)
1 user (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 Peter Humphrey 2004-02-12 10:36:22 UTC
When trying to emerge xmms-kde the configure stage fails, thus:
wstn root # emerge xmms-kde
Calculating dependencies  ...done!
>>> emerge (1 of 1) media-plugins/xmms-kde-3.1_beta1 to /
>>> md5 src_uri ;-) xmms-kde-3.1beta1.tar.gz
>>> Unpacking source...
>>> Unpacking xmms-kde-3.1beta1.tar.gz to /var/tmp/portage/xmms-kde-3.1_beta1/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
...
[etc]
...
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0.3) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
died running ./configure, kde_src_compile:configure
 *
 * Your KDE program installation died while running the configure script
 *

!!! ERROR: media-plugins/xmms-kde-3.1_beta1 failed.
!!! Function configure_die, Line 170, Exitcode 0
!!! (no error message)

-----------------------

I couldn't find a library with a name like qt-mt, either locally or on packages.gentoo.org.
I looked at the .ebuild file, and it seems to be specifying threading ok. I re-emerged qt after that check, but with the same results on emerge xmms-kde.

Reproducible: Always
Steps to Reproduce:
1. emerge xmms-kde
2.
3.

Actual Results:  
Configure failed as above. 

Expected Results:  
Successful completion. 

root # emerge info 
Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.2-gentoo) 
================================================================= 
System uname: 2.6.2-gentoo x86_64 5 
Gentoo Base System version 1.4.3.13 
Autoconf: sys-devel/autoconf-2.59 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -pipe -fPIC -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O3 -pipe -fPIC -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" 
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr/ 
http://212.219.247.10/sites/www.ibiblio.org/gentoo/ 
http://212.219.56.131/sites/www.ibiblio.org/gentoo/ 
http://194.83.57.2/sites/www.ibiblio.org/gentoo/ 
http://212.219.56.162/sites/www.ibiblio.org/gentoo/" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X alsa amd64 apm arts avi berkdb cdr cups dvd encode esd foomaticdb gdbm gif 
gpm imlib java jpeg kde libg++ libwww mikmod motif mozilla mpeg ncurses nls oggvorbis 
opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd 
truetype xml2 xmms xv zlib"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-02-12 12:22:36 UTC
The configure check fails to find Qt, and when you emerge Qt it fails to find Qt?

Do you use the nvidia drivers?  If so, your gl setup is broken and Qt is linked against nvidia's broken gl implementation.
Comment 2 Peter Humphrey 2004-02-27 11:09:02 UTC
Ok, so I unmerged nvidia-glx and nvidia-kernel, ran opengl-update xfree then re-emerged qt. But emerge xmms-kde still fails at the same point - it can't find the qt-mt library, even though it's there for all to see in /usr/qt/3 as libqt-mt.so.3.3.0.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-02-27 12:58:36 UTC
if you look in the config.log it will show a more detailed message of what's going on:

/var/tmp/portage/xmms-kde-3.1_beta1/work/xmms-kde-3.1_beta1/config.log

Comment 4 Peter Humphrey 2004-02-28 04:24:45 UTC
I'd already done that, but not seen what I needed to see. You made me go and look again, and I found I needed to add a couple of links:

(cd /usr/qt/3; ln -s ./lib ./lib64)
(cd /usr/kde/3.2; ln -s ./lib ./lib64)

Of course I did first check that those directories contained 64-bit code. xmms-kde now compiles ok, though I haven't yet built enough of a system to test it properly. Thanks for the prod.
Comment 5 Daniel Ahlberg (RETIRED) gentoo-dev 2004-03-10 05:26:27 UTC
I've added a patch to CVS that fixes this.
Comment 6 Danny van Dyk (RETIRED) gentoo-dev 2004-03-20 15:40:47 UTC
I've got it installed here
phi root # emerge -pv xmms-kde

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-plugins/xmms-kde-3.1_beta1  +sdl +xmms  0 kB

Total size of downloads: 0 kB

phi root #

Works like a charm ;-)
Comment 7 Jason Huebel (RETIRED) gentoo-dev 2004-03-21 10:44:36 UTC
works for me. unmasking.
Comment 8 Peter Humphrey 2004-04-06 05:49:42 UTC
Also works fine for me now (I raised this bug). Can it now be closed? Thanks to Daniel Ahlberg.