LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-20-2006, 11:09 AM   #1
cemzafer
Member
 
Registered: Apr 2006
Distribution: Debian
Posts: 34

Rep: Reputation: 15
compile error


Hi all,

I am going to compile komport application,
but I got this error.

checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

Any help.
 
Old 06-20-2006, 11:16 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Install the qt devel packages.
 
Old 06-20-2006, 12:34 PM   #3
cemzafer
Member
 
Registered: Apr 2006
Distribution: Debian
Posts: 34

Original Poster
Rep: Reputation: 15
What are the names of these devel packages?
 
Old 06-20-2006, 01:08 PM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Code:
apt-get install libqt4-dev
or
Code:
apt-get install libqt3-mt-dev
 
Old 06-20-2006, 01:28 PM   #5
cemzafer
Member
 
Registered: Apr 2006
Distribution: Debian
Posts: 34

Original Poster
Rep: Reputation: 15
I have installed that packages as you mentioned,
but I got the same error.
Something I missed about the QTDIR or something different.
Also what is your QTDIR environment variable value?
 
Old 06-20-2006, 04:06 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by cemzafer
I have installed that packages as you mentioned,
but I got the same error.
Something I missed about the QTDIR or something different.
Also what is your QTDIR environment variable value?
Try installing the qt3 not qt4 packages.
 
Old 06-21-2006, 04:48 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by cemzafer
I have installed that packages as you mentioned,
but I got the same error.
Something I missed about the QTDIR or something different.
Also what is your QTDIR environment variable value?
Well, I hope that by installing libqt, it doesn't touch my environment (if you are talking of export variables defined even out of the makefile).
So you should edit your configure file and look for QTDIR.

A clean config would use pkg-config --libs qt-mt

QTDIR should be /usr/lib . To be more precise the qt libs are /usr/lib, so depending on how the configure script works (edit it and search for when QTDIR is checked or look at ./configure --help to use ./configure --qtdir=/usr/lib), it could be either /usr/lib or lib, in case they check for /usr/$QTDIR

as a general advice:
install apt-file (apt-get install apt-file)
then apt-file list libqt3-mt-dev will give you the lists of files included in this package (even if you don't have this package installed yet. dlocate does the same quicker but for installed one only)
from the list, you find either the .so (dynamic libraries) or the .a (static librairies) and then you have the path.

Last edited by nx5000; 06-21-2006 at 05:01 AM.
 
  


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
qt compile error cemzafer Debian 1 06-20-2006 11:31 AM
Compile madwifi, ... compile error , how can i do. ERBRMN Linux - Networking 3 03-08-2006 07:56 PM
compile error... apenguinlinux Programming 0 02-07-2005 05:06 AM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:51 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