LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-24-2006, 04:42 AM   #1
shahidawan
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Rep: Reputation: 0
Question installing qt-1.44 on Fedora core 4


Hi all i m using Fedora Core 4.
fedora core 4 uses Qt-3.0.3 for KDE GUIs.
I want to install Qt-1.44 older version that is basically for RedHat 6.x on Fedora Core 4.

Give me suggestions how should unistall the newer version and then install the older one.

Thanx for ur help.

Rashid Mahmood
 
Old 04-24-2006, 04:26 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Uninstalling 3.x doesn't seem to be a good idea. KDE (and many programs) will simply stop working.

You may have both versions installed in the same system. 3.x may be in standard directories, when 1.x in /usr/local/qt1-44, for example. It's a compilation option.
 
Old 04-25-2006, 12:41 AM   #3
shahidawan
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thanx Mara,

But i m a newbie to linux so when i tried to install qt-1.44 on the same machine having qt-3.x then a message "Package Already Installed prompts".

Please give me guidelines how can i install different versions of the same package on the same machine.

Also while compiling how can i set the specific version for compilation.

Thanx again.

Rashid Mahmood
 
Old 04-25-2006, 04:43 AM   #4
shahidawan
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Original Poster
Rep: Reputation: 0
i think the response time on this forum is very slow.

Please help me i m in trouble from last couple of weeks.
 
Old 04-26-2006, 04:39 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You can't have two different versions installed from packages at the same time. Removing 3.x is a very bad idea, so the way to go is to install 1.44 from source. Note that it's not an easy task. Qt requires quite many libraries and it may be (or, rather, it is) that 1.44 requires much older versions than the ones you have. It'll require you to install old versions of the libraries also from source, not packages.

I assume you know how to deal with gcc and that you have make, automake and similar tools from Development section. You probably also have Qt 1.44 source. If not, download from Trolltech site. Now, choose a directory you want to buld it to. It may be in your home dir. Unpack Qt 1.44 to the choosen location.

I don't remember Qt 1.44 copiling options, but in the older versions you had to set QTDIR. Set it. Example: when you have it unpackaged to /home/yourname/qt, QTDIR should be set this way:
Code:
export QTDIR=/home/yourname/qt
Now try to compile it. First run ./configure, then make. You may get into dependencies problems during the process. Read error messages carefully. If you get one about missing libraries, note down the required version, download it and compile like the instruction says (usually ./configure, make, make install).

Note: You may choose to remove Qt 3 and install 1.44 instead. It'll cause KDE and many other apps to be removed as well, however.
 
  


Reply



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
Installing Fedora Core seanbee Linux - Newbie 4 09-26-2005 08:48 AM
Help Installing Fedora Core Michael Davont Linux - Newbie 7 01-19-2005 10:33 AM
Installing Fedora Core 3 Magicplayr2000 Linux - Newbie 7 01-06-2005 04:25 PM
Installing R on Fedora Core 2 strobart Linux - Software 2 09-02-2004 11:30 AM
Installing fedora core awan8019 Fedora - Installation 2 06-30-2004 11:46 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:17 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
Open Source Consulting | Domain Registration