LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2004, 08:00 AM   #1
Roadhog
LQ Newbie
 
Registered: Jan 2004
Location: under my desk
Posts: 22

Rep: Reputation: 15
How to upgrade Kdevelop and QT on RH9


Hi, sorry, I'm a bit of a newb and a very frustrated one to boot. First, there appears to be an issue with Automake and Autoconf on RH9. Something about run aclocal, sorry, no idea other than maybe ediiting config.in or some other file. Now I have been trying to upgrade this machine to run Kdevelop 3.0.0r1 and QT that I found at Redhat. I keep gettind dependency errors so there must be a magic order in which to do this.

Been using rpm's with "rpm -Uvh <filename>

This has been frustrating to say the least as I would really like to use this platform for development. I have been searching for weeks for answers and am near my end. One thing I have found is that all samples, well most won't compile unless I do get this IDE, etc, updated.

HELP!

Note:
this installation has
Automake 1.4, 1.5 and 1.6 installed
Autoconf 2.57

That's right from the installation CD's, also
KDE 3.1-10
KDevelop 2.1.5
QT 3.1
 
Old 02-04-2004, 07:42 AM   #2
Roadhog
LQ Newbie
 
Registered: Jan 2004
Location: under my desk
Posts: 22

Original Poster
Rep: Reputation: 15
I'm a little surprised with this forum beeing so busy with so many knowledgable individuals that no one can help me with this. I'm very frustrated and am pleeding for any help. I believe I downloaded all the rpm's I would need from RedHat but am not sure how to proceed without seeing all these dependency warnings and errors.

Should I have posted this in the Programming section instead?

HELP!
 
Old 02-04-2004, 11:52 AM   #3
YMHiK
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 2.6.5, Slackware 2.6.4, RedHat 9 2.4.20-8
Posts: 23

Rep: Reputation: 15
Not usure about RPM stuff, but you can download rpm and install it. There should be two packages:
qt-<version>
qt-devel-<version>
or alike... And uninstall your existing qt, and then install new one.
You also need to set up your $QTDIR variable so it points where you installed working qt library.. i.e. /usr/lib/qt-<version> or alike...
You also need updated KDELIBS and KDEBASE..., well KDELIBS is a must... and if you are using KDE you need to upgrade it
You can also compile it yourself, but it is a little tricky.

For your problem with aclocal...
Just run it in your source directory so it updates make files. Then it should be ready for compiling...
Also update yor automake, make, autoconf if needed.

QT is a library. Since it is a library some stuff uses it. Therefore if some stuff uses it it should be installed first and then you install other programs that use it.
 
Old 02-04-2004, 12:03 PM   #4
hyperlink1uk
Member
 
Registered: Mar 2003
Posts: 37

Rep: Reputation: 15
HI
You prolly already got this sorted but you might want to think about switching to Fedora Core 1 if you want to use a RedHat based system. Although there are plenty of rpms out there for RedHat 9 and i am sure people well keep making updated ones. The main KDE web site only has Fedora ones. Plus Fedora has many fixes. Anyway if you do want to design programs for KDE you should be using the lastest KDE setup at least KDE 3.2 which has just been released, but you really need to be using KDE CVS to stay up to date. Hope you sort it all out.
 
Old 02-04-2004, 03:35 PM   #5
Roadhog
LQ Newbie
 
Registered: Jan 2004
Location: under my desk
Posts: 22

Original Poster
Rep: Reputation: 15
Fedora would be a good idea except my employer wants a name he is familiar with, hence Redhat, Iknow, I know. I'm a bit of a newb, not totally lost, but have grey areas. I know if I can get Kdevelop 3.0.r1(Gideon) installed, a number of issues would go away. It's available for Redhat and I downloaded art, redhat-artwork, devel, QT, etc. I just end up in a dependency hell and am not confident enough to use --force in the rpm command. I have even downloaded apt, and Synaptic, no go so far.

For the reord, I searched the web for almost three weeks before finally posting here, so I am willing to do the leg work.

Roadhog
 
Old 02-05-2004, 05:41 AM   #6
hyperlink1uk
Member
 
Registered: Mar 2003
Posts: 37

Rep: Reputation: 15
HI,
I take it you installed KDE from the red hat 9 disk? And i assume red hat hat 9 does not come with Kdevel? Can't check since i have moved away from Red Hat and Fedora. If this is the case can you list some of the programs and or libarys that you need and will try to direct you to the right place. You should not have too many problems installing it since most of the dependencies should have been met when you installed KDE.

Is it giving you problems with programs that are not installed or that you just have the wrong version?

Suprised apt could not get it working but I know from my own experience it can make things worse rather than better.
 
Old 02-05-2004, 08:45 AM   #7
Roadhog
LQ Newbie
 
Registered: Jan 2004
Location: under my desk
Posts: 22

Original Poster
Rep: Reputation: 15
Thank you Hyperlink1uk, this may be a long post.

What I did is go to KDevelop.org, clicked on downloads, then RedHat/ Fedora and choose this site as a mirror: mirror site

From there I grabbed.

Arts
Art-devel
KDE-Libs
KDE LIBS-devel
KDE-Utils
KDE-Utils-devel
KDevelop 3.x.x.x
QT-3.2.3.x.x.x
QT-Designer
QT-devel
redhat-artwork

all rmps of course.

Here comes dependency hell working as SU

rpm -Uvh kdevelop-3.0.0r1-0.1.i386.rpm
error: Failed dependencies:
kdelibs-devel >= 6:3.1.95 is needed by kdevelop-3.0.0r1-0.1
libdb-4.1.so is needed by kdevelop-3.0.0r1-0.1
libkmdi.so.1 is needed by kdevelop-3.0.0r1-0.1
libkwalletclient.so.1 is needed by kdevelop-3.0.0r1-0.1
qt-designer >= 1:3.2.2 is needed by kdevelop-3.0.0r1-0.1

okay so now I
rpm -Uvh kdelibs-devel-3.1.95-0.2.i386.rpm
error: Failed dependencies:
kdelibs = 6:3.1.95-0.2 is needed by kdelibs-devel-3.1.95-0.2
qt-devel >= 1:3.2.2 is needed by kdelibs-devel-3.1.95-0.2

okay, try libs
rpm -Uvh kdelibs-3.1.95-0.2.i386.rpm
error: Failed dependencies:
qt >= 1:3.2.2 is needed by kdelibs-3.1.95-0.2
redhat-artwork >= 0.83 is needed by kdelibs-3.1.95-0.2
kdelibs = 6:3.1-12 is needed by (installed) kdelibs-devel-3.1-12

okay
rpm -Uvh arts-1.1.95-0.1.i386.rpm
Preparing... ########################################### [100%]
package arts-1.1.95-0.1 is already installed

Is there a picture forming here or what. I'm really beginning to appreciate Linux while at the same time have these moments of pure dispise for it. I feel it will all pay off in the end, but getting there is the challenge.

Hopefully I have provided enough information here for you to identify the issue and may point to some suggestions. I know I am imposing on your free time and want to say thank you in advance, no matter what the outcome.

Roadhog
 
Old 02-05-2004, 09:49 PM   #8
Roadhog
LQ Newbie
 
Registered: Jan 2004
Location: under my desk
Posts: 22

Original Poster
Rep: Reputation: 15
Man this is a busy place, my post got buried. Hope I have provided enough info for some ideas
 
Old 02-06-2004, 12:02 AM   #9
YMHiK
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 2.6.5, Slackware 2.6.4, RedHat 9 2.4.20-8
Posts: 23

Rep: Reputation: 15
You may need go to console to do this( init 3 or without graphical login).
First, you need to upgrade your qt library since it is what KDE mainly depends upon.
Make sure you are able or you already have KDE stuff downloaded.
1. Uninstall your current KDE packages: kdepim, kdeartwork, kdeutils, kdeadmin, kdeedu, kdegames, kdegraphics, kdemultimedia, kdenetworkd, kdetoys, quanta, kdebase, kdebase-devel, kdelibs, kdelibs-deve, arts, arts-devel. Hm, should be all. Just do uninstall in a similar pattern as above(just to remember that kdelibs and kdebase are the base for KDE).
2. Uninstall your qt and qt-devel. Do not pay attention to the stuff that says it still requires old qt since what you want is to replace (take out old and put new) your qt library. To ressolve dependency with qt itself install rpms altogether such that: rpm -ihv qt-<version> qt-devel-<version>.
3. If you got installed qt, proceed with installing KDE. Since version 3.2 is out there may be rpms already available to install. Then install first: arts, arts-devel, kdelibs, kdelibs-devel, kdebase, kdebase-devel, and so on.
4. Install your KDevelop. You may want do download and install some additional packages that KDevelop needs... doxygen ang graphviz(documentation and class tree redrawing respectivly).

If you are stuck and feel way helpless, then uninstall your stuff you just did and install rpms from your installation cdrom, but I hope that doesn't happen. Remember LIBRARIES first, then the stuff that will use those libraries.
 
Old 02-06-2004, 08:40 AM   #10
Roadhog
LQ Newbie
 
Registered: Jan 2004
Location: under my desk
Posts: 22

Original Poster
Rep: Reputation: 15
Sounds like a plan, but may I ask this? I am about to install RH9 at home and basically use it as a test bed. So if I do something wrong, well, you know, not such a big deal. Now the base workStation install does not install KDE, KDevelop, or QT. I have a fast connection so I could download all that you have mentioned first, then back out of the GUI to the prompt.

Would this be a better way to proceed and if so, is there anything I should be leary of, as in extra careful about?

As in, is KDE 3.2 truly stabe? Appears that some are having probs.

Note, still a NEWB, but getting a handle on things, a little more each day.

Roadhog
 
Old 02-28-2004, 01:04 PM   #11
hyperlink1uk
Member
 
Registered: Mar 2003
Posts: 37

Rep: Reputation: 15
Hi, sorry been busy

Did you try overriding the dependancy and seeing if it would work. use --force2 on the command line
 
  


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
kdevelop upgrade ? \/@$H Linux - Software 1 09-30-2005 11:30 AM
QT & KDevelop. Any good tutorials fr the v.s with rh9? CrazyPilot Red Hat 2 03-25-2004 01:59 AM
upgrade RH8 to RH9 - upgrade or clean install PAB Linux - General 0 03-13-2004 04:55 PM
Upgrade to RH9 inon^ Red Hat 8 10-16-2003 12:10 PM
RH9 and KDevelop Issues g_goblin Linux - Software 1 10-02-2003 04:33 PM


All times are GMT -5. The time now is 03:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration