Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85546 - kdelibs-3.3.2-r7 failed during configure; couldn't find Qt libs
Summary: kdelibs-3.3.2-r7 failed during configure; couldn't find Qt libs
Status: RESOLVED DUPLICATE of bug 67166
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 82775 87146 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-16 11:43 UTC by Daniel J.
Modified: 2005-07-24 02:52 UTC (History)
5 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 Daniel J. 2005-03-16 11:43:59 UTC
When emerging kdelibs-3.3.2-r7, I get the following failure during config:

checking for Qt... configure: error: Qt (>= Qt 3.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!

!!! ERROR: kde-base/kdelibs-3.3.2-r7 failed.
!!! Function kde_src_compile, Line 154, Exitcode 1
!!! died running ./configure, kde_src_compile:configure
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.USE="alsa arts cups -debug doc ipv6 -kdeenablefinal kerberos ldap spell ssl tiff xinerama" emerge =kde-base/kdelibs-3.3.2-r7




Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 10:01:35)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/
ftp://gentoo.mirrors.pair.com/ http://gentoo.seren.com/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb
bitmap-fonts bonobo cdr cgi crypt cscope cups curl dga doc dv dvd dvdr emacs
emboss encode escreen esd ethereal etwin evo faad fam fastcgi fbcon fbdev flac
flash font-server foomaticdb fortran gd gdbm ggi gif gnome gphoto2 gpm gstreamer
gtk gtk2 guile imagemagick imap imlib immqt-bc innodb ipv6 java jbig jikes
joystick jpeg junit justify kde kerberos krb4 lcms ldap leim libg++ libwww mad
maildir memlimit mikmod mmx motif moznocompose moznoirc moznomail mozsvg mp3
mpeg mpi nas ncurses nodrm nptl oav odbc offensive oggvorbis opengl oss pam pda
pdflib perl php pic png pwdb python qt quicktime readline samba sasl scanner sdk
sdl silverxp slang slp snmp socks5 speexspell sqlite sse ssl svg svga tcltk tcpd
tetex tiff truetype truetype-fonts type1-fonts unicode usagi usb videos
virus-scan wxwindows xinerama xml xml2 xmms xv yaz zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-16 12:03:58 UTC
does `revdep-rebuild` help?
Comment 2 Urs Joss 2005-03-16 13:35:21 UTC
Same here. Happens also when I try to compile k3b, kdeaddons (revdep-rebuild doesn't complete due to that).
Comment 3 Kaoru Nagisa 2005-03-16 14:11:53 UTC
same here, I just did revdep-rebuild, but it did not find anything Qt or kde related. I updated to kdelibs-3.3.2-r5 just a few days ago and it worked fine.

My emerge info :

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  2 2005, 23:13:24)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer -ftracer -pipe -ftracer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer -ftracer -pipe -ftracer -ffast-math"
DISTDIR="/admin/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.blueyonder.co.uk/mirrors/gentoo http://gentoo.blueyonder.co.uk"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/admin/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/admin/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl directfb doc dvd dvdr emboss encode esd fam flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde ldap libcaca libg++ libwww mad matroska mikmod mmx mmxext monkey motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia oggvorbis opengl osspam pdflib perl png ppds python qt quicktime readline real scanner sdl slang spell ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xprint xv xvid zlib linguas_en linguas_de linguas_ja linguas_ru"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 4 M3rL7N 2005-03-16 14:13:57 UTC
/usr/qt/3/include/qmap.h:598: error: ISO C++ forbids declaration of `type name' with no type
/usr/qt/3/include/qmap.h:598: error: missing `>' to terminate the template argument list
/usr/qt/3/include/qmap.h:598: error: wrong number of template arguments (1, should be 2)
/usr/qt/3/include/qpair.h:46: error: provided for `template<class T1, class T2> struct QPair'
/usr/qt/3/include/qmap.h:598: error: ISO C++ forbids declaration of `type name' with no type
/usr/qt/3/include/qmap.h:598: error: missing `>' to terminate the template argument list
/usr/qt/3/include/qmap.h:598: error: wrong number of template arguments (1, should be 2)
/usr/qt/3/include/qpair.h:46: error: provided for `template<class T1, class T2> struct QPair'
/usr/qt/3/include/qmap.h:598: error: ISO C++ forbids declaration of `type name' with no type
/usr/qt/3/include/qmap.h:598: error: missing `>' to terminate the template argument list
/usr/qt/3/include/qmap.h:598: error: wrong number of template arguments (1, should be 2)
/usr/qt/3/include/qpair.h:46: error: provided for `template<class T1, class T2> struct QPair'
/usr/qt/3/include/qmap.h:598: error: ISO C++ forbids declaration of `type name' with no type
/usr/qt/3/include/qmap.h:598: error: missing `>' to terminate the template argument list
/usr/qt/3/include/qmap.h:598: error: wrong number of template arguments (1, should be 2)
/usr/qt/3/include/qpair.h:46: error: provided for `template<class T1, class T2> struct QPair'
/usr/qt/3/include/qmap.h:598: error: ISO C++ forbids declaration of `type name' with no type
/usr/qt/3/include/qmap.h:598: error: missing `>' to terminate the template argument list
/usr/qt/3/include/qmap.h:598: error: wrong number of template arguments (1, should be 2)
/usr/qt/3/include/qpair.h:46: error: provided for `template<class T1, class T2> struct QPair'
/usr/qt/3/include/qmap.h:598: error: ISO C++ forbids declaration of `QPair' with no type
/usr/qt/3/include/qmap.h:598: error: expected `;' before '<' token
/usr/qt/3/include/qmap.h:599: error: ISO C++ forbids declaration of `value_type' with no type
/usr/qt/3/include/qmap.h:599: error: expected `;' before '*' token
/usr/qt/3/include/qmap.h:600: error: ISO C++ forbids declaration of `value_type' with no type
/usr/qt/3/include/qmap.h:600: error: expected `;' before '*' token
/usr/qt/3/include/qmap.h:601: error: ISO C++ forbids declaration of `value_type' with no type
/usr/qt/3/include/qmap.h:601: error: expected `;' before '&' token
/usr/qt/3/include/qmap.h:602: error: ISO C++ forbids declaration of `value_type' with no type
/usr/qt/3/include/qmap.h:602: error: expected `;' before '&' token
/usr/qt/3/include/qmap.h:681: error: expected `,' or `...' before '&' token
/usr/qt/3/include/qmap.h:681: error: ISO C++ forbids declaration of `value_type' with no type
/usr/qt/3/include/qmap.h:688: error: expected `,' or `...' before '&' token
/usr/qt/3/include/qmap.h:688: error: ISO C++ forbids declaration of `key_type' with no type
/usr/qt/3/include/qmap.h:689: error: expected `,' or `...' before '&' token
/usr/qt/3/include/qmap.h:689: error: ISO C++ forbids declaration of `key_type' with no type
/usr/qt/3/include/qmap.h:760: error: prototype for `typename QMap<Key, T>::insert_pair QMap<Key, T>::insert(const typename QMap<Key, T>::value_type&)' does not match any in class `QMap<Key, T>'
/usr/qt/3/include/qmap.h:724: error: candidates are: QMapIterator<K, T> QMap<Key, T>::insert(const Key&, const T&, bool)
/usr/qt/3/include/qmap.h:681: error:                 QPair<QMapIterator<K, T>, bool> QMap<Key, T>::insert(int)
/usr/qt/3/include/qmap.h:760: error: template definition of non-template `typename QMap<Key, T>::insert_pair QMap<Key, T>::insert(const typename QMap<Key, T>::value_type&)'
/usr/qt/3/include/qmap.h:774: error: prototype for `void QMap<Key, T>::erase(const Key&)' does not match any in class `QMap<Key, T>'
/usr/qt/3/include/qmap.h:688: error: candidates are: void QMap<Key, T>::erase(int)
/usr/qt/3/include/qmap.h:684: error:                 void QMap<Key, T>::erase(QMapIterator<K, T>)
/usr/qt/3/include/qmap.h:774: error: template definition of non-template `void QMap<Key, T>::erase(const Key&)'
/usr/qt/3/include/qmap.h:783: error: prototype for `typename QMap<Key, T>::size_type QMap<Key, T>::count(const Key&) const' does not match any in class `QMap<Key, T>'
/usr/qt/3/include/qmap.h:706: error: candidates are: size_t QMap<Key, T>::count() const
/usr/qt/3/include/qmap.h:689: error:                 size_t QMap<Key, T>::count(int) const
/usr/qt/3/include/qmap.h:783: error: template definition of non-template `typename QMap<Key, T>::size_type QMap<Key, T>::count(const Key&) const'
make[3]: *** [kstreamsocket.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r7/work/kdelibs-3.3.2/kdecore/network'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r7/work/kdelibs-3.3.2/kdecore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r7/work/kdelibs-3.3.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.3.2-r7 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 5 Ryan May 2005-03-16 15:01:55 UTC
I have the same problem here.  Kdelibs-3.3.2-r7 fails on configure because it can't find Qt, yet I have libqt-mt.so in /usr/qt/3/lib.  kdelibs-3.3.2-r5 installed fine.
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-16 15:06:17 UTC
Since you are using nptl, I assume this is the same as bug 81268 or bug 67166, please see if you can find something useful there (in case we can reopen those bugs).

The problem in comment 4 is different, it should be addressed separately.
Comment 7 Daniel J. 2005-03-16 15:27:16 UTC
I had just emerged glibc-2.3.4.20041102-r1 with +nptl just before encountering this problem.  I'm going to try re-emerging it with -nptl and see if that takes care of the problem.
Comment 8 Ryan May 2005-03-16 16:08:54 UTC
I also updated glibc today and use nptl.  Re-emerging Qt solved the problem, though I'm not quite sure why.  At any rate, kdelibs got past configure and is compiling now...
Comment 9 Daniel J. 2005-03-16 16:20:41 UTC
Re-emerging glibc with USE="nptlonly" allows me to build kdelibs now.  This definitely smells like bug 67166.
Comment 10 Kaoru Nagisa 2005-03-17 14:16:50 UTC
Problem occured after updating glibc to 2.3.4.20041102-r1. Re-emerging qt did help.
Comment 11 Urs Joss 2005-03-17 23:35:28 UTC
Same here: I remerged qt and the problem was gone...
Comment 12 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-18 06:03:18 UTC

*** This bug has been marked as a duplicate of 67166 ***
Comment 13 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-29 13:38:42 UTC
*** Bug 82775 has been marked as a duplicate of this bug. ***
Comment 14 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-29 13:44:17 UTC
*** Bug 87146 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2005-07-24 02:52:53 UTC
*** Bug 100093 has been marked as a duplicate of this bug. ***