LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-02-2004, 12:21 AM   #1
jmw83
LQ Newbie
 
Registered: May 2004
Location: Longview, WA
Distribution: Mandrake 10.0
Posts: 29

Rep: Reputation: 15
kernel 2.6.6 and QT Devlopment Pacage.


I am running Mandrake 10.0 and am using http://www.linuxheadquarters.com/ for the HOWTO on how to install the new kernel.

Ok I was about to config the kernel 2.6.6 and it gives me this error:

[joseph@localhost joseph]$ su
Password:
[root@localhost joseph]# cd /usr/src/linux
[root@localhost linux]# make xconfig
*
* 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
[root@localhost linux]#


After I got this error I installed QT. Or what I thought was QT:

qtc-3.2-1mdk.i586.rpm

I tried to install it and said I needed these to other files:

libkdec1-3.2-1mdk.i586.rpm
libqtc1-3.2-1mdk.i586.rpm

So I got them installed and I am still getting that error. Did I install the wrong packages? Or is it in the wrong location?

Thanks
Joseph
 
Old 06-02-2004, 09:38 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,532

Rep: Reputation: 132Reputation: 132
did u export the QTDIR in your ~/.bashrc? Seems to be missing.
 
Old 06-02-2004, 11:38 AM   #3
jmw83
LQ Newbie
 
Registered: May 2004
Location: Longview, WA
Distribution: Mandrake 10.0
Posts: 29

Original Poster
Rep: Reputation: 15
i just installed the RPMs. How do I export the QTDIR?
 
Old 06-02-2004, 12:44 PM   #4
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
in .bashrc add the location of Qt into your path (for me its /usr/lib/qt3. If it's not that for you, try locate qt3).
For example, in my .bashrc I have
Code:
export PATH=$PATH:/usr/lib/qt3
Good luck!
 
Old 06-02-2004, 01:28 PM   #5
jmw83
LQ Newbie
 
Registered: May 2004
Location: Longview, WA
Distribution: Mandrake 10.0
Posts: 29

Original Poster
Rep: Reputation: 15
Ok I added it to .bashrc and heres what it all looks like:

# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

export PATH=$PATH:/usr/lib/qt3



But I am still getting this error:

[joseph@localhost joseph]$ su
Password:
[root@localhost joseph]# cd /usr/src/linux
[root@localhost linux]# make xconfig
*
* 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
[root@localhost linux]#

Did I set up the .bashrc incorrectly?


Joseph
 
Old 06-02-2004, 01:30 PM   #6
jmw83
LQ Newbie
 
Registered: May 2004
Location: Longview, WA
Distribution: Mandrake 10.0
Posts: 29

Original Poster
Rep: Reputation: 15
Oh I forgot and I ran 'locate qt3' and got this error:

[joseph@localhost joseph]$ su
Password:
[root@localhost joseph]# locate qt3
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
[root@localhost joseph]#
 
Old 06-02-2004, 03:36 PM   #7
jmw83
LQ Newbie
 
Registered: May 2004
Location: Longview, WA
Distribution: Mandrake 10.0
Posts: 29

Original Poster
Rep: Reputation: 15
Ok I did the 'updatedb' and then did the 'locate qt3' and it did this:

[joseph@localhost joseph]$ su
Password:
[root@localhost joseph]# updatedb
[root@localhost joseph]# locate qt3
/usr/lib/qt3
/usr/lib/qt3/plugins
/usr/lib/qt3/plugins/styles
/usr/lib/qt3/plugins/styles/libqcompactstyle.so
/usr/lib/qt3/plugins/styles/libqcdestyle.so
/usr/lib/qt3/plugins/styles/libqmotifplusstyle.so
/usr/lib/qt3/plugins/styles/libqmotifstyle.so
/usr/lib/qt3/plugins/styles/libqplatinumstyle.so
/usr/lib/qt3/plugins/styles/libqsgistyle.so
/usr/lib/qt3/plugins/sqldrivers
/usr/lib/qt3/lib
/usr/lib/qt3/lib/libqassistantclient.a
/usr/lib/qt3/lib/libdesignercore.a
/usr/lib/qt3/lib/libdesignercore.prl
/usr/lib/qt3/lib/libeditor.a
/usr/lib/qt3/lib/libeditor.prl
/usr/lib/qt3/lib/libqassistantclient.prl
/usr/lib/qt3/lib/libqt-mt.la
/usr/lib/qt3/lib/libqt-mt.prl
/usr/lib/qt3/lib/libqt-mt.so.3
/usr/lib/qt3/lib/libqt-mt.so.3.2
/usr/lib/qt3/lib/libqt-mt.so.3.2.3
/usr/lib/qt3/lib/libqui.prl
/usr/lib/qt3/lib/libqui.so.1
/usr/lib/qt3/lib/libqui.so.1.0
/usr/lib/qt3/lib/libqui.so.1.0.0
/usr/lib/qt3/bin
/usr/lib/qt3/bin/qtconfig
/usr/lib/qt3/phrasebooks
[root@localhost linux]# locate qt3
/usr/lib/qt3
/usr/lib/qt3/plugins
/usr/lib/qt3/plugins/styles
/usr/lib/qt3/plugins/styles/libqcompactstyle.so
/usr/lib/qt3/plugins/styles/libqcdestyle.so
/usr/lib/qt3/plugins/styles/libqmotifplusstyle.so
/usr/lib/qt3/plugins/styles/libqmotifstyle.so
/usr/lib/qt3/plugins/styles/libqplatinumstyle.so
/usr/lib/qt3/plugins/styles/libqsgistyle.so
/usr/lib/qt3/plugins/sqldrivers
/usr/lib/qt3/lib
/usr/lib/qt3/lib/libqassistantclient.a
/usr/lib/qt3/lib/libdesignercore.a
/usr/lib/qt3/lib/libdesignercore.prl
/usr/lib/qt3/lib/libeditor.a
/usr/lib/qt3/lib/libeditor.prl
/usr/lib/qt3/lib/libqassistantclient.prl
/usr/lib/qt3/lib/libqt-mt.la
/usr/lib/qt3/lib/libqt-mt.prl
/usr/lib/qt3/lib/libqt-mt.so.3
/usr/lib/qt3/lib/libqt-mt.so.3.2
/usr/lib/qt3/lib/libqt-mt.so.3.2.3
/usr/lib/qt3/lib/libqui.prl
/usr/lib/qt3/lib/libqui.so.1
/usr/lib/qt3/lib/libqui.so.1.0
/usr/lib/qt3/lib/libqui.so.1.0.0
/usr/lib/qt3/bin
/usr/lib/qt3/bin/qtconfig
/usr/lib/qt3/phrasebooks
/usr/lib/qt3/phrasebooks/norwegian.qph
/usr/lib/qt3/phrasebooks/danish.qph
/usr/lib/qt3/phrasebooks/dutch.qph
/usr/lib/qt3/phrasebooks/finnish.qph
/usr/lib/qt3/phrasebooks/french.qph
/usr/lib/qt3/phrasebooks/german.qph
/usr/lib/qt3/phrasebooks/italian.qph
/usr/lib/qt3/phrasebooks/russian.qph
/usr/lib/qt3/phrasebooks/spanish.qph
/usr/lib/qt3/phrasebooks/swedish.qph
/usr/lib/qt3/translations
/usr/lib/qt3/translations/assistant_de.qm
/usr/lib/qt3/translations/qt_ar.qm
/usr/lib/qt3/translations/qt_de.qm
/usr/lib/qt3/translations/qt_fr.qm
/usr/lib/qt3/translations/qt_iw.qm
/usr/lib/qt3/translations/qt_ru.qm
[root@localhost linux]#


then I tried the make xconfig for the kernel but got the same error I have been getting
 
Old 06-02-2004, 03:55 PM   #8
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
Quote:
* 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.
Ahh ok, it doesn't want it in your path. what does
echo $QTDIR
display? If it doesn't display /usr/lib/qt3 then change it to that
 
Old 06-02-2004, 04:32 PM   #9
jmw83
LQ Newbie
 
Registered: May 2004
Location: Longview, WA
Distribution: Mandrake 10.0
Posts: 29

Original Poster
Rep: Reputation: 15
Heres what it said for the 'echo $QTDIR' :

[joseph@localhost joseph]$ echo $QTDIR
/usr/lib/qt3/
[joseph@localhost joseph]$


Ok now I am starting to get confused. What should I try next?
 
Old 06-02-2004, 06:00 PM   #10
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
I'm not too sure. Maybe its looking for the libraries and not finding them, thats happened to me a couple of times before. Try adding /usr/lib/qt3/lib to /etc/ld.so.conf -
Code:
su root
echo /usr/lib/qt3/lib >> /etc/ld.so.conf
If this doesn't work, d'you have any more information? Compile logs?
 
Old 06-02-2004, 06:30 PM   #11
jmw83
LQ Newbie
 
Registered: May 2004
Location: Longview, WA
Distribution: Mandrake 10.0
Posts: 29

Original Poster
Rep: Reputation: 15
I went to ld.so.conf and /usr/lib/qt3/lib was already in there. Compile logs, for QT or the kernel? For the QT I just installed the RPM. Would the RPM have a compile log? If so how do I find it?
 
Old 06-03-2004, 12:44 PM   #12
jmw83
LQ Newbie
 
Registered: May 2004
Location: Longview, WA
Distribution: Mandrake 10.0
Posts: 29

Original Poster
Rep: Reputation: 15
Someone? Anyone?
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
tty driver devlopment outoolcoe Programming 1 08-02-2005 05:16 PM
Web Devlopment software? carlosinfl Linux - Software 5 02-18-2005 10:01 PM
Install kernel devlopment package ust Linux - Software 0 01-25-2005 09:24 AM
Kernel devlopment sathu Programming 1 01-17-2003 03:16 AM


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