View previous topic :: View next topic |
Author |
Message |
mystified l33t
Joined: 14 Feb 2004 Posts: 771
|
Posted: Fri Nov 14, 2008 4:21 pm Post subject: kdelibs fails [solved] |
|
|
kdelibs fails with the following:
Code: | [ 12%] Generating org.kde.KWallet.xml
/usr/bin/qdbuscpp2xml: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory
make[2]: *** [kdeui/org.kde.KWallet.xml] Error 127
make[1]: *** [kdeui/CMakeFiles/kdeui.dir/all] Error 2
make: *** [all] Error 2
*
* ERROR: kde-base/kdelibs-4.1.3-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3035: Called kde4-base_src_compile
* environment, line 2286: Called kde4-base_src_make
* environment, line 2321: Called cmake-utils_src_make
* environment, line 813: Called die
* The specific snippet of code:
* emake "$@" || die "Make failed!";
|
Here's my emerge info
Code: | debian / # emerge --info
Portage 2.2_rc14 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-4-686 i686)
=================================================================
System uname: Linux-2.6.18-4-686-i686-with-glibc2.0
Timestamp of tree: Thu, 13 Nov 2008 16:30:01 +0000
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r13, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: 2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r2
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
Thanks
Last edited by mystified on Mon Nov 17, 2008 8:17 pm; edited 1 time in total |
|
Back to top |
|
|
druggo Apprentice
Joined: 24 Sep 2003 Posts: 289 Location: Hangzhou, China
|
Posted: Fri Nov 14, 2008 5:26 pm Post subject: |
|
|
look at this:
Quote: | /usr/bin/qdbuscpp2xml: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory |
something is missing, try to install x11-libs/qt-dbus _________________ HighWayToHell(blog)
http://blog.druggo.org/ |
|
Back to top |
|
|
thestick Guru
Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Fri Nov 14, 2008 5:26 pm Post subject: |
|
|
add dbus to your USE flags
emerge -NvDu world
retry whatever is failing
kde4 relies on dbus, instead of the old dcop. |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Sat Nov 15, 2008 1:17 am Post subject: |
|
|
... you will need more than dbus in your use flags. I think ou should probably switch to a desktop profile. |
|
Back to top |
|
|
mystified l33t
Joined: 14 Feb 2004 Posts: 771
|
Posted: Sat Nov 15, 2008 9:10 am Post subject: |
|
|
It failed with the same results. How do I switch to a desktop profile? |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Sat Nov 15, 2008 9:12 am Post subject: |
|
|
i'd try revdep-rebuild, then emerge -avuDN world. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
mystified l33t
Joined: 14 Feb 2004 Posts: 771
|
Posted: Sat Nov 15, 2008 12:59 pm Post subject: |
|
|
kdelibs is still failing with this:
Code: | /usr/bin/qdbuscpp2xml: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory
make[2]: *** [kdeui/org.kde.KWallet.xml] Error 127
make[1]: *** [kdeui/CMakeFiles/kdeui.dir/all] Error 2
make: *** [all] Error 2
|
|
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Sat Nov 15, 2008 2:24 pm Post subject: |
|
|
mystified wrote: | .... How do I switch to a desktop profile? |
Code: | eselect profile list
eselect profile set <number> |
Then run emerge -uDN world to update your system. |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Sat Nov 15, 2008 2:43 pm Post subject: |
|
|
check if dbus has been merged and the ---dbus.so.4 is present.
as bunder said run revdep-rebuild and emerge -DNav world.
switch to gcc-4.3.2
these things will help. _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
mystified l33t
Joined: 14 Feb 2004 Posts: 771
|
Posted: Sat Nov 15, 2008 3:07 pm Post subject: |
|
|
dbus is merged. dbus.so.4 is not present. I did revdep-rebuild and the only thing that merged was kbd. The latest stable version of gcc I have is 4.1.2. I did emerge -uDNav world and kdelibs still fails. I also switched my profile to desktop. I checked for libQtDBus.so.4 which is what it's failing and I have this:
Code: | debian / # slocate libQtDBus.so.4
/usr/lib/qt4/libQtDBus.so.4
/usr/lib/qt4/libQtDBus.so.4.3.3
/usr/lib/qt4/libQtDBus.so.4.4.2
/usr/lib/qt4/libQtDBus.so.4.3
/usr/lib/qt4/libQtDBus.so.4.4
|
|
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Sat Nov 15, 2008 3:27 pm Post subject: |
|
|
I also have no dbus.so.4 and my box runs very nicely.
Did you run env-update && source /etc/profile ? Because the qt files in /etc/env.d point your system to the LDPATH. |
|
Back to top |
|
|
mystified l33t
Joined: 14 Feb 2004 Posts: 771
|
Posted: Sat Nov 15, 2008 3:47 pm Post subject: |
|
|
Yes I did. And this is the error message where it fails:
Code: | [ 13%] Generating org.kde.KWallet.xml
/usr/bin/qdbuscpp2xml: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory
|
|
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Sun Nov 16, 2008 2:13 am Post subject: |
|
|
the gcc-4.3.2 is necessary for emerging kde4 and qt4 core.
you have only gcc-4.1.2 means you have not run emerge --sync before doing -uDNav world.
sync the portage and emerge -Du av world it is to bring in gcc-4.3.2 and the base system files uptodate.
gcc-config -l will show you if you have other gcc bersions. _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
mystified l33t
Joined: 14 Feb 2004 Posts: 771
|
Posted: Sun Nov 16, 2008 9:38 am Post subject: |
|
|
I did an emerge sync and what I have is the latest version in portage. Are you using an ~x86 version of gcc? |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Sun Nov 16, 2008 2:15 pm Post subject: |
|
|
yes i used ACCEPT_KEYWORDS
kde4 is also keyword masked. _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
mystified l33t
Joined: 14 Feb 2004 Posts: 771
|
Posted: Sun Nov 16, 2008 6:03 pm Post subject: |
|
|
I upgraded gcc and then ran gcc-config and switched to the new version and kdelibs still fails
Code: | /usr/bin/qdbuscpp2xml: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory
|
|
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Mon Nov 17, 2008 6:35 am Post subject: |
|
|
in my system i find this libQtDBus.so.4 in /usr/lib/qt4/
as shown below.
Code: | padoor ~ # dir /usr/lib/qt4
libQt3Support.la libQtGui.prl libQtSvg.la
libQt3Support.prl libQtGui.so libQtSvg.prl
libQt3Support.so libQtGui.so.4 libQtSvg.so
libQt3Support.so.4 libQtGui.so.4.4 libQtSvg.so.4
libQt3Support.so.4.4 libQtGui.so.4.4.2 libQtSvg.so.4.4
libQt3Support.so.4.4.2 libQtNetwork.la libQtSvg.so.4.4.2
libQtCore.la libQtNetwork.prl libQtTest.la
libQtCore.prl libQtNetwork.so libQtTest.prl
libQtCore.so libQtNetwork.so.4 libQtTest.so
libQtCore.so.4 libQtNetwork.so.4.4 libQtTest.so.4
libQtCore.so.4.4 libQtNetwork.so.4.4.2 libQtTest.so.4.4
libQtCore.so.4.4.2 libQtOpenGL.la libQtTest.so.4.4.2
libQtDBus.la libQtOpenGL.prl libQtUiTools.a
libQtDBus.prl libQtOpenGL.so libQtUiTools.prl
libQtDBus.so libQtOpenGL.so.4 libQtWebKit.la
libQtDBus.so.4 libQtOpenGL.so.4.4 libQtWebKit.prl
libQtDBus.so.4.4 libQtOpenGL.so.4.4.2 libQtWebKit.so
libQtDBus.so.4.4.2 libQtScript.la libQtWebKit.so.4
libQtDesigner.prl libQtScript.prl libQtWebKit.so.4.4
libQtDesigner.so libQtScript.so libQtWebKit.so.4.4.2
libQtDesigner.so.4 libQtScript.so.4 libQtXml.la
libQtDesigner.so.4.4 libQtScript.so.4.4 libQtXml.prl
libQtDesigner.so.4.4.2 libQtScript.so.4.4.2 libQtXml.so
libQtDesignerComponents.prl libQtSql.la libQtXml.so.4
libQtDesignerComponents.so libQtSql.prl libQtXml.so.4.4
libQtDesignerComponents.so.4 libQtSql.so libQtXml.so.4.4.2
libQtDesignerComponents.so.4.4 libQtSql.so.4 plugins
libQtDesignerComponents.so.4.4.2 libQtSql.so.4.4
libQtGui.la libQtSql.so.4.4.2
padoor ~ # |
what profile you use?
this is my desktop so i use 2008.0/desktop profile.
compare the use flags
Code: | padoor ~ # eix kdelibs --installed-with-use
[D] kde-base/kdelibs
Available versions:
(3.5) 3.5.8-r4!t (~)3.5.9!t (~)3.5.9-r1!t (~)3.5.9-r2!t (~)3.5.9-r3!t 3.5.9-r4!t (~)3.5.10-r1!t (~)3.5.10-r2!t
(4.1) (~)4.1.2!t (~)4.1.2-r1!t (~)4.1.3!t
{3dnow acl alsa altivec arts avahi bindist branding bzip2 cups debug doc elibc_FreeBSD fam htmlhandbook jpeg2k kdeenablefinal kdehiddenvisibility kdeprefix kerberos kernel_linux legacyssl lua mmx nls openexr opengl semantic-desktop spell sse sse2 ssl test tiff utempter xinerama zeroconf}
Installed versions: 3.5.10-r2(3.5)!t(23:07:20 10/30/08)(acl alsa arts branding cups fam kerberos kernel_linux spell tiff utempter -avahi -bindist -debug -doc -elibc_FreeBSD -jpeg2k -kdehiddenvisibility -legacyssl -lua -openexr)
4.1.3-r1(4.1)!t(16:50:54 11/14/08)(acl alsa bzip2 fam nls opengl semantic-desktop spell ssl -3dnow -altivec -bindist -debug -doc -htmlhandbook -jpeg2k -kdeprefix -kerberos -mmx -openexr -sse -sse2 -test -zeroconf)
Homepage: http://www.kde.org/
Description: KDE libraries needed by all KDE programs.
padoor ~ # |
Code: | padoor ~ # eix x11-libs/qt --installed-with-use
[U] x11-libs/qt
Available versions:
(3) 3.3.8-r4 (~)3.3.8b
(4) 4.3.3 (~)4.3.4-r1 (~)4.3.5 [M](~)4.4.0 (~)4.4.1 (~)4.4.1-r1 (~)4.4.2
{accessibility cups dbus debug doc examples firebird gif glib immqt immqt-bc input_devices_wacom ipv6 jpeg mng mysql nas nis odbc opengl pch png postgres qt3support sqlite sqlite3 ssl tiff xinerama zlib}
Installed versions: 3.3.8b(3)(17:46:36 10/26/08)(cups ipv6 opengl -debug -doc -examples -firebird -immqt -immqt-bc -mysql -nas -nis -odbc -postgres -sqlite -xinerama)
Homepage: http://www.trolltech.com/
Description: The Qt toolkit is a comprehensive C++ application development framework.
* x11-libs/qt-assistant
Available versions: (4) [M](~)4.4.0-r1 (~)4.4.1 (~)4.4.2
{debug pch webkit}
Homepage: http://www.trolltech.com/
Description: The assistant help module for the Qt toolkit.
[I] x11-libs/qt-core
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.1-r1 (~)4.4.2
{debug doc glib pch qt3support ssl}
Installed versions: 4.4.2(4)(13:15:39 10/26/08)(qt3support ssl -debug -doc -glib -pch)
Homepage: http://www.trolltech.com/
Description: The Qt toolkit is a comprehensive C++ application development framework.
[I] x11-libs/qt-dbus
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{debug pch}
Installed versions: 4.4.2(4)(20:00:13 10/26/08)(-debug -pch)
Homepage: http://www.trolltech.com/
Description: The DBus module for the Qt toolkit.
* x11-libs/qt-demo
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{debug pch}
Homepage: http://www.trolltech.com/
Description: Demonstration module of the Qt toolkit.
* x11-libs/qt-embedded
Available versions: (3) (~)3.3.8
{cups debug doc firebird gif ipv6 mysql nis odbc opengl postgres sqlite}
Homepage: http://www.trolltech.com/products/embedded/
Description: Embedded Linux port of Qt
[I] x11-libs/qt-gui
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{accessibility cups dbus debug glib input_devices_wacom mng nas nis pch qt3support tiff xinerama}
Installed versions: 4.4.2(4)(20:38:34 10/26/08)(accessibility cups dbus qt3support tiff -debug -glib -input_devices_wacom -mng -nas -nis -pch -xinerama)
Homepage: http://www.trolltech.com/
Description: The GUI module(s) for the Qt toolkit.
[I] x11-libs/qt-opengl
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{debug pch qt3support}
Installed versions: 4.4.2(4)(16:59:01 10/26/08)(qt3support -debug -pch)
Homepage: http://www.trolltech.com/
Description: The OpenGL module for the Qt toolkit.
* x11-libs/qt-phonon
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.1-r1 (~)4.4.2
{dbus debug pch}
Homepage: http://www.trolltech.com/
Description: The Phonon module for the Qt toolkit.
[I] x11-libs/qt-qt3support
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{accessibility debug pch}
Installed versions: 4.4.2(4)(20:50:10 10/26/08)(accessibility -debug -pch)
Homepage: http://www.trolltech.com/
Description: The Qt3 support module for the Qt toolkit.
[I] x11-libs/qt-script
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{debug pch}
Installed versions: 4.4.2(4)(13:42:02 10/26/08)(-debug -pch)
Homepage: http://www.trolltech.com/
Description: The ECMAScript module for the Qt toolkit
[I] x11-libs/qt-sql
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{debug firebird mysql odbc pch postgres qt3support sqlite}
Installed versions: 4.4.2(4)(20:02:06 10/26/08)(qt3support sqlite -debug -firebird -mysql -odbc -pch -postgres)
Homepage: http://www.trolltech.com/
Description: The SQL module for the Qt toolkit.
[I] x11-libs/qt-svg
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{debug pch}
Installed versions: 4.4.2(4)(21:40:47 10/26/08)(-debug -pch)
Homepage: http://www.trolltech.com/
Description: The SVG module for the Qt toolkit.
[I] x11-libs/qt-test
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{debug pch}
Installed versions: 4.4.2(4)(13:38:20 10/26/08)(-debug -pch)
Homepage: http://www.trolltech.com/
Description: The testing framework module for the Qt toolkit.
[I] x11-libs/qt-webkit
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{debug pch}
Installed versions: 4.4.2(4)(21:10:26 10/26/08)(-debug -pch)
Homepage: http://www.trolltech.com/
Description: The Webkit module for the Qt toolkit.
* x11-libs/qt-xmlpatterns
Available versions: (4) [M](~)4.4.0 (~)4.4.1 (~)4.4.2
{debug pch}
Homepage: http://www.trolltech.com/
Description: The patternist module for the Qt toolkit.
Found 16 matches.
padoor ~ # |
this may help
edit the dependencies were automatically found by emerge kde-4.1.3 _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
mystified l33t
Joined: 14 Feb 2004 Posts: 771
|
Posted: Mon Nov 17, 2008 8:16 pm Post subject: |
|
|
After I upgraded gcc I did emerge -eav system and then emerge -eav world and kdelibs compiled. I still have almost 300 packages to compile and then I'll see if I can boot into kde. Thanks for the help! |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Tue Nov 18, 2008 2:18 am Post subject: |
|
|
thats an awful lot of emergeing done by -e and still more for kde.
anyway the boost qt4 and kdelibs are the major hurdles to cross during install of kde-4*
you are on the way already.enjoy your new desktop. _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
|