I was wondering if anyone knew a way around this installation problem that happened during ./configure. I was trying to install an application called Kguitar in /usr/local/Kguitar-0.4 The installation can not find the necessary QT files even though my system does have them. Kguitar looks for these files in a series of directories, but none of these directories is correct. My QT is in: /usr/lib/qt-2.3.0/include All the QT files that Kguitar says are missing are in this directory. How do I get Kguitar to find the necessary QT files to install? Should I move all the QT files into one of the directories Kguitar is searching? Or is there a way to point Kguitar towards the correct directory? I send in bug-report a couple weeks ago, go a reply saying this was 'strange' but otherwise no answer. I can't blame them. It's free software and I'm sure they all have jobs and families to tend too, especially so near Christmas. And Happy Christmass to you all!
Here are some details:
My system is.. Red Hat 7.1 kernel 2.4.2-2 KDE 2.1.1 QT 2.3.0 error during ./configure stated in config.log if ! ( QT_VERSION >= 2.2.1 ) error 1 #endif
Here is the end of the Kguitar 0.4 config.log
configure:5273: checking for Qt tried NO tried /usr/local/qt/lib tried /usr/local/qt tried /usr/lib/qt2/lib tried /usr/lib/qt2 tried /usr/lib/qt/lib tried /usr/lib/qt tried /usr/X11R6/lib tried /usr/lib tried /usr/local/qt/lib tried /usr/X11R6/lib configure:5434: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -INO -I/usr/X11R6/include -LNONE -L/usr/X11R6/lib conftest.C -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM -lICE 1>&5 conftest.C:2:21: qglobal.h: No such file or directory conftest.C:3:26: qapplication.h: No such file or directory conftest.C:4:18: qapp.h: No such file or directory conftest.C:5:22: qobjcoll.h: No such file or directory conftest.C:6:20: qevent.h: No such file or directory conftest.C:7:21: qstring.h: No such file or directory conftest.C:8:20: qstyle.h: No such file or directory conftest.C:8:20: qstyle.h: No such file or directory conftest.C:9:23: qiconview.h: No such file or directory conftest.C:11:2: #error 1 #endif
int main() { QStringList *t = new QStringList(); QIconView iv(0); iv.setWordWrapIconText(false); QString s; s.setLatin1("Elvis is alive", 14); int magnolia = QEvent::Speech; /* new in 2.2 beta2 */ return 0; } #include <qapp.h> #include <qobjcoll.h> #include <qevent.h> #include <qstring.h> #include <qstyle.h> #include <qiconview.h> #if ! (QT_VERSION >= 222) #error 1
author wrote:
I was wondering if anyone knew a way around this installation problem that happened during ./configure. I was trying to install an application called Kguitar in /usr/local/Kguitar-0.4 The installation can not find the necessary QT files even though my system does have them. Kguitar looks for these files in a series of directories, but none of these directories is correct. My QT is in: /usr/lib/that Kguitar says are missing are in this directory.
I think you could modify configure.in to point to qt-2.3.0 but you could also just put a link in /usr/lib ln -s qt-2.3.0 qt2