LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2004, 07:31 PM   #1
massai
LQ Newbie
 
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26

Rep: Reputation: 15
QT error when trying to use ./configure. (was: What is my QT version ?)


Everyone seems to know what their QT version is. How do you people do that ?

What is the official way of checking for versions of something such as QT ?

Also when I try to instal (compile) a theme from kde-look.org the "./configure" command fails with an error:
Code:
checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found
Hense, I am trying to figure my version of QT.

Any ideas ?

Many thanks


P.S. I am running KDE 3.1.5

Last edited by massai; 01-28-2004 at 01:24 AM.
 
Old 01-27-2004, 08:02 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,793

Rep: Reputation: 292Reputation: 292Reputation: 292
"Everyone seems to know what their QT version is. How do you people do that ?"

If you are using a rpm based distribution then try:
rpm -qi qt

Also you can look for /use/share/doc/qt* and the directory name should contain the version number.

"checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found"
You may not have the corresponding qt-devel installed.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 01-27-2004 at 08:04 PM.
 
Old 01-27-2004, 10:16 PM   #3
massai
LQ Newbie
 
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26

Original Poster
Rep: Reputation: 15
I am running Knoppix/Debian....
....as I am checking the directories it seems that there are two:
/usr/share/qt
/usr/share/qt3

Quote:
"checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found"
You may not have the corresponding qt-devel installed.
After doing a search in Kpackage ther are several files with a name close to qt-xx-dev (or similar), but I do not see an exact match "qt-devel"

Does this mean that my QT is broken?
It is my understanding that QT comes as part of KDE (and these two go hand in hand). Should I be worried?
What would be the right steps to make sure QT is in tact and in harmony with KDE ?

Please go easy.... I am a newbie.


Thanks

Last edited by massai; 01-27-2004 at 10:19 PM.
 
Old 01-27-2004, 10:21 PM   #4
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
I just means that you don't have qt3-devel installed. It's a separate package that is needed for compiling qt applications, but it's not necessary to run the base system.
 
Old 01-27-2004, 10:47 PM   #5
massai
LQ Newbie
 
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26

Original Poster
Rep: Reputation: 15
Ok I found a way to check the QT version.
...so this is what is installed right now:

Code:
root@ThisKnoppixBox:/# dpkg -l | grep qt
ii  gtk-engines-qt 0.26-1         QtPixmap GTK1.x theming engine
ii  libqt2         2.3.2-14       Qt GUI Library (runtime version)
ii  libqt3-compat- 3.2.3-2        Qt 1.x and 2.x compatibility includes
ii  libqt3-headers 3.2.3-2        Qt3 header files
ii  libqt3c102-mt  3.2.3-2        Qt GUI Library (Threaded runtime version)
ii  libqthreads-12 1.6.4-4        QuickThreads library for Guile
ii  qt3-designer   3.2.3-2        Qt3 Designer
ii  qt3-dev-tools  3.2.3-2        Qt3 development tools
ii  qtparted       0.3.2-1        A parted frontend using QT
where can I find and install the "qt-devel" ?

Last edited by massai; 01-27-2004 at 10:49 PM.
 
Old 01-27-2004, 11:40 PM   #6
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
It looks like it's already installed...qt3 header files and Qt3 development tools?

Try "env | grep QTDIR" ....does anything come up?
 
Old 01-28-2004, 12:21 AM   #7
massai
LQ Newbie
 
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mikshaw
It looks like it's already installed...qt3 header files and Qt3 development tools?

Try "env | grep QTDIR" ....does anything come up?
Yes, this is what happens:

Code:
root@ThisKnoppixBox:/# env | grep QTDIR
QTDIR=/usr/share/qt3
root@ThisKnoppixBox:/#
But, this only happens not because it wanted to, but because sometime earlier (while troubleshooting) I typed "export QTDIR=/usr/share/qt3"

However, the package still fails to compile:
"checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found"

Last edited by massai; 01-28-2004 at 12:24 AM.
 
Old 01-28-2004, 01:25 AM   #8
massai
LQ Newbie
 
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26

Original Poster
Rep: Reputation: 15
UPDATE:

Did "apt-get instal libqt-dev"

The QT package list now looks like this:

Code:
ii  gtk-engines-qt 0.26-1         QtPixmap GTK1.x theming engine
ii  libqt-dev      2.3.2-14       Qt GUI development files
ii  libqt-mt-dev   2.3.2-14       Qt GUI development files (Threaded version)
ii  libqt2         2.3.2-14       Qt GUI Library (runtime version)
ii  libqt2-mt      2.3.2-14       Qt GUI Library (runtime threaded version)
ii  libqt3-compat- 3.2.3-2        Qt 1.x and 2.x compatibility includes
ii  libqt3-headers 3.2.3-2        Qt3 header files
ii  libqt3c102-mt  3.2.3-2        Qt GUI Library (Threaded runtime version)
ii  libqthreads-12 1.6.4-4        QuickThreads library for Guile
ii  qt2-dev-tools  2.3.2-14       Qt2 development tools
ii  qt3-designer   3.2.3-2        Qt3 Designer
ii  qt3-dev-tools  3.2.3-2        Qt3 development tools
ii  qt3-dev-tools- 3.2.3-2        Conversion utilities for Qt3 development
ii  qtparted       0.3.2-1        A parted frontend using QT
there is still an error when trying to use "./configure"
"checking for Qt... configure: error: Qt (>= Qt 3.0) (library qt-mt) not found"


If I reinstall KDE from scratch is this going to be resolved ?

If so, what is the cleanest way of re-installing KDE ?

Last edited by massai; 01-28-2004 at 01:30 AM.
 
Old 01-28-2004, 02:15 PM   #9
massai
LQ Newbie
 
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26

Original Poster
Rep: Reputation: 15
UPDATE:

I did "apt-get" for every qt3 package listed in the Debian page.
There was a point where "apt" decided to remove the whole KDE (I think because there were like 100 packages in the remove list)

Then I reinstalled KDE with "apt-get install KDE"

Now the QT seems resolved. The compiler no longer complains about QT.
 
  


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
redhat fedora gcc version (compiled for 2.4.20) doesn't match kernel version 2.4.22 start1000 Linux - Software 0 03-16-2004 09:17 PM
Xfree Error (EE) module ABI minor version (7) is newer than the server's version (6) jimdaworm Slackware 0 10-17-2003 06:26 PM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 07:27 PM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 02:40 AM


All times are GMT -5. The time now is 03:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration