FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
[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.
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.
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
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.
"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
Originally posted by edawad 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
To run checkinstall make sure you su -
then cd to the directory where you did the ./configure and make
then checkinstall
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.