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 |
did u export the QTDIR in your ~/.bashrc? Seems to be missing.
|
i just installed the RPMs. How do I export the QTDIR?
|
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 |
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 |
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]# |
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 |
Quote:
echo $QTDIR display? If it doesn't display /usr/lib/qt3 then change it to that |
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? |
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 |
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?
|
Someone? Anyone?
|
All times are GMT -5. The time now is 09:29 AM. |