Trouble with KDE 3.2 (QT Dependencies)
Hey,
When I try installing KDE I get the following: [root@echuong KDE32]# rpm -Uvh kdelibs-3.2.0-0.1.i386.rpm error: Failed dependencies: qt >= 1:3.2.3 is needed by kdelibs-3.2.0-0.1 [root@echuong KDE32]# This also happened whenever I tried to ./configure themes I downloaded for KDE 3.1x. I went to trolltech and downloaded their QT and ./configure and make'd (took over an hour!) and it looks right in its path, but I guess it still doesn't work? Is there anyway I can double check the versions? yum claims that I have the latest qt already. Thanks, Ed |
Your problem is that the rpm data base is not being updated when you compile Qt from source. When the rpm program checks dependencies it does not look in /usr or whatever to see what version of Qt is installed. It looks in the rpm data base which still records the old version of Qt. You can verify what version of Qt is in your rpm data base with:
rpm -qi qt There are two possible ways to solve this problem. 1. Use checkinstall to create a rpm package from your source compile. The procedure is usually: ./configure make checkinstall Then install your new rpm. http://proyectos.glo.org.mx/checkinstall/ 2. If you are sure that a package is installed but simply not recorded in the rpm data base then you can safely use the rpm --nodeps parameter to bypass the problem: rpm --nodeps -i /pathname/packagename.rpm See: man rpm ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
Hey,
Thanks for the reply. The rpm -qi qt gives me version qt-3.1.2-14, which I assume is the latest on the yum/synaptic databases too because both of them say I'm already updated. I followed the instructions on ftp://ftp.trolltech.com/qt/source/INSTALL. I've made sure that the qt folders are in my $PATH. I don't want to risk breaking anything by skipping over the dependency.. how do I make sure the new QT 3.3 is installed? |
Well I tried it actually
and I get this: [root@echuong KDE32]# rpm --nodeps -Uvh kdelibs-3.2.0-0.1.i386.rpm Preparing... ########################################### [100%] file /usr/bin/kfmexec from install of kdelibs-3.2.0-0.1 conflicts with file from package kdebase-3.1.4-6 Similar error (except a huge list of files instead of just one) occurs with -ivh. I tried install checkinstall from both RPM and source. When I install the rpm, it installs fine but it says "checkinstall: command not found". When I install from source, I make, make install, ./checkinstall (saying 'checkinstall' as the INSTALL says gives me command not found), enter R for RPMS, and it gives me a long path to run install, which I can do but it seems to hang during that rpm isntallation. Thanks, Ed |
Nevermind, I didnt' realize there was a qt rpm in the KDE 3.2 download. I'm now getting the
error: Failed dependencies: /usr/lib/qt-3.1 is needed by (installed) redhat-artwork-0.88-1 thing though, if anyone knows how to fix it. Thanks, Ed |
"error: Failed dependencies:
/usr/lib/qt-3.1 is needed by (installed) redhat-artwork-0.88-1" You can either find a later version of redhat-artwork or you can assume that redhat-artwork will work with a later version of Qt (it might) and install using rpm --nodeps. See: man rpm ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
Quote:
then cd to the directory where you did the ./configure and make then checkinstall :) |
There's a redhat-artwork package here that is compatible with Qt-3.2.3
http://rpm.pbone.net/index.php3/stat....i386.rpm.html Just install qt with nodeps and then install redhat-artwork and things should work. I'm trying it now. |
All times are GMT -5. The time now is 11:31 PM. |