I am trying to emerge kdesdk-3.2.0. It fails during the running of the configure script crying about not having kdelibs. Kdelibs-3.2.0 is already installed. checking for KDE... libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include checking if UIC has KDE plugins available... no configure: error: you need to install kdelibs first. died running ./configure, kde_src_compile:configure * * Your KDE program installation died while running the configure script * !!! ERROR: kde-base/kdesdk-3.2.0 failed. !!! Function configure_die, Line 170, Exitcode 0 !!! (no error message) Where kdelibs can be confirmed: bash-2.05b$ qpkg -i -I kdelibs kde-base/kdelibs-3.1.5 * KDE libraries needed by all kde programs [ http//www.kde.org/ ] kde-base/kdelibs-3.2.0 * KDE libraries needed by all kde programs [ http//www.kde.org/ ] app-doc/kdelibs-apidocs-3.1.4 * API documentation autogenerated from the kde-base/kdelibs package [ http//developer.kde.org/ ] Here is the problem code from the config.log file: configure:27636: checking for KDE configure: 27692: /usr/kde/3.2/include/ksharedptr.h taking that configure: 27722: /usr/kde/3.2/lib/libkio.la taking that configure: 27740: /usr/kde/3.2/lib/kde3/plugins/designer/kdewidgets.la taking that configure:27810: result: libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include configure:27849: checking if UIC has KDE plugins available configure:27876: /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -impl actest.h actest.u i > actest.cpp configure:27879: $? = 0 configure:27893: result: no configure:27896: error: you need to install kdelibs first. I don't even know how to decipher the kde build structure. So any help would be appreciated on how to clear this up. Reproducible: Always Steps to Reproduce: 1. emerge kdesdk Actual Results: Error that I reported in the description section. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 Pentium III (Katmai) Gentoo Base System version 1.4.3.13 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bonobo cdr crypt cups curl encode esd flash foomaticdb gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline sdl slang snmp spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Did you upgrade Qt and not re-emerge kdelibs like the ebuild said?
>>> Did you upgrade Qt and not re-emerge kdelibs like the ebuild said? No. I did most likely the following to upgrade things: emerge -UuvD world. Where was this message suppose to be displayed on the screen? After Qt was upgraded or at the end of the emerge process? If it was at the end I will claim neglect on my part but it was after the Qt was emerged and I am upgrading things after that then I would have most likely not seen it. Is there a way to force re-emerge of dependent packages? For example, if kdelibs is so strongly linked into Qt then if Qt is upgraded then force kdelibs to be re-emerged. I will try to re-emerge kdelibs and see what happens.
Nope, there currently isn't a way to do that. The only resolution I have is to post a message at the end of the emerge. Also there's quite a few threads about this type of upgrade at forums.gentoo.org which tell about this.
just a re-emerge of kdelibs fixes the problem. In the future I will rework the ebuilds to force this so it's not so confusing.