LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-10-2005, 04:59 PM   #1
jordban
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Rep: Reputation: 0
QT not showing up as installed


Hello,
I have QT installed version 3.3 and its stored in /usr/lib/qt-3.3/
I am trying to compile a new kernel and i need to use the xconfig so i compile it by typing
make xconfig
but i get the following error

*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [xconfig] Error 2


so i set the QTDIR variable
export QTDIR=/usr/lib/qt-3.3/

but i still get the same error when i try and run
make xconfig

Anyone know what im doing wrong?

Thanks.
Jordan

ps. i noticed it said the QT development package, so i installed that too and it still doesnt work
 
Old 01-10-2005, 05:36 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to install the development package as well, it should be named "qt-devel".
 
Old 01-10-2005, 07:44 PM   #3
jordban
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Re: QT not showing up as installed

Quote:
Originally posted by jordban
ps. i noticed it said the QT development package, so i installed that too and it still doesnt work
Thanks for the help though!
 
Old 01-10-2005, 10:55 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
One possibility:
Did you remember to run (as root) ldconfig after installing the libraries?

Although, I pulled open the kernel's makefile, and that seems unlikely to be the answer. You should probably do it anyway as a safeguard. The kernel is checking for a specific file when it prints that message. Specifically, it's looking for qconfig.h. It looks for (in this order):

Code:
$QTDIR/include/qconfig.h
/usr/share/qt*/include/qconfig.h
/usr/lib/qt*/include/qconfig.h
You need to verify that file exists. If it doesn't, then qt-devel is not properly installed, or at least, not in one of the paths the kernel is looking for. Also, since your QTDIR is simply repeating one of the default search paths, you don't need to use it (unless the qconfig.h is in a different spot). If you do need to set QTDIR, it would be easier and cleaner to do something like this:
make xconfig QTDIR=/usr/lib/qt-3.3
 
Old 01-14-2005, 07:30 AM   #5
jordban
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
alright thanks for the help, i got it to work by adding the exports to .bashrc
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ndiswrapper installed driver installed, hardware present, but modprobe doesn't likeit Flukey Linux - Hardware 1 04-14-2007 11:22 AM
Have installed PHP for Apache2 but source code showing Tomo3000 SUSE / openSUSE 4 08-04-2005 07:14 PM
I have Redhat 3.0 factory installed on my Dell hardware. I have installed JDK 1.4.2 vcvinith Red Hat 2 04-18-2005 07:09 AM
Why is Debian showing up when I installed CL over it? GabrielP Linux - Newbie 1 06-08-2004 11:18 PM
Installed Fedora, which installed Grub - how to boot to Knoppix? squall14716 Linux - General 3 03-15-2004 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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