LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 02-05-2004, 03:17 AM   #1
edawad
LQ Newbie
 
Registered: Oct 2003
Location: UCSD
Distribution: Debian
Posts: 29

Rep: Reputation: 15
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
 
Old 02-05-2004, 12:21 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 188Reputation: 188
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

Last edited by jailbait; 02-05-2004 at 12:22 PM.
 
Old 02-06-2004, 03:21 AM   #3
edawad
LQ Newbie
 
Registered: Oct 2003
Location: UCSD
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: 15
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?
 
Old 02-06-2004, 03:41 AM   #4
edawad
LQ Newbie
 
Registered: Oct 2003
Location: UCSD
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 02-06-2004, 03:53 AM   #5
edawad
LQ Newbie
 
Registered: Oct 2003
Location: UCSD
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 02-06-2004, 11:15 AM   #6
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 188Reputation: 188
"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
 
Old 02-06-2004, 01:38 PM   #7
pibby
Member
 
Registered: Oct 2003
Location: Houston, TX
Distribution: Debian Sid
Posts: 100

Rep: Reputation: 15
Quote:
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
 
Old 02-10-2004, 08:30 PM   #8
Aristotle
LQ Newbie
 
Registered: Nov 2003
Posts: 7

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kde dependencies crispyleif Linux - Newbie 11 11-24-2005 07:16 PM
xscreensaver install trouble: library dependencies marquitico Linux - Newbie 4 08-26-2005 09:28 PM
Dependencies blues with KDE 3.4 mebrelith Linux - Software 1 03-19-2005 01:12 PM
Upgrading to KDE-3.2.2, getting around dependencies mikeyt_333 Linux - Software 6 06-05-2004 04:01 AM
Upgrading KDE & dependencies gonzalo76 Slackware 4 05-12-2004 04:04 AM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration