Кто-нибудь, помогите разобраться в чем дело. Пол дня убил, так и не разобрался.
В общем сабж и все тут :((( Переменная QTPATH равна /usr/lib/qt-3.0.3 Запускаю так: $ configure --with-qt-dir=/usr/lib/qt-3.0.3 --with-qt-includes=/usr/lib/qt-3.0.3/include --with-qt-libraries=/usr/lib/qt-3.0.3/lib
Без ключей эффект тот же: error: Qt (>= Qt 3.0.3) (library qt-mt) not found.
Вот некотоорая инфа по установленным пакетам: $ rpm -qa | grep qt qt1x-GL-1.45-16 qt2-2.3.1-3 qt-MySQL-3.0.3-11 qt2-devel-2.3.1-3 qt-Xt-3.0.3-11 qt1x-1.45-16 qt-designer-3.0.3-11 qt2-static-2.3.1-3 qt-static-3.0.3-11 licq-qt-1.1.0-0.cvs20020416.1 qt1x-devel-1.45-16 qt-3.0.3-11 qt2-Xt-2.3.1-3 qt-devel-3.0.3-11
И вот еще: $ ldconfig -p | grep qt-3.0.3 libqxt.so.0.3 (libc6) => /usr/lib/qt-3.0.3/lib/libqxt.so.0.3 libqxt.so.0 (libc6) => /usr/lib/qt-3.0.3/lib/libqxt.so.0 libqxt.so (libc6) => /usr/lib/qt-3.0.3/lib/libqxt.so libqui.so.1.0 (libc6) => /usr/lib/qt-3.0.3/lib/libqui.so.1.0 libqui.so.1 (libc6) => /usr/lib/qt-3.0.3/lib/libqui.so.1 libqui.so (libc6) => /usr/lib/qt-3.0.3/lib/libqui.so libqt.so.3.0.3 (libc6) => /usr/lib/qt-3.0.3/lib/libqt.so.3.0.3 libqt.so.3.0 (libc6) => /usr/lib/qt-3.0.3/lib/libqt.so.3.0 libqt.so.3 (libc6) => /usr/lib/qt-3.0.3/lib/libqt.so.3 libqt.so (libc6) => /usr/lib/qt-3.0.3/lib/libqt.so libqt-mt.so.3.0 (libc6) => /usr/lib/qt-3.0.3/lib/libqt-mt.so.3.0 libqt-mt.so.3 (libc6) => /usr/lib/qt-3.0.3/lib/libqt-mt.so.3 libqt-mt.so (libc6) => /usr/lib/qt-3.0.3/lib/libqt-mt.so libeditor.so.1.0 (libc6) => /usr/lib/qt-3.0.3/lib/libeditor.so.1.0 libeditor.so.1 (libc6) => /usr/lib/qt-3.0.3/lib/libeditor.so.1
А вот кусок файла config.log: configure:20722: checking for Qt configure: 20789: /usr/lib/qt-3.0.3/include/qstyle.h taking that tried NO configure:20899: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions -fno-check-new -I/usr/lib/qt-3.0.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt-3.0.3/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5 /tmp/ccJ22h1o.o: In function `main': /tmp/ccJ22h1o.o(.text+0x12): undefined reference to `QString::null' /tmp/ccJ22h1o.o(.text+0x17): undefined reference to `QStyleFactory::create(QString const&)' /tmp/ccJ22h1o.o(.text+0x27): undefined reference to `QCursor::QCursor[in-charge](int)' /tmp/ccJ22h1o.o(.text+0x2f): undefined reference to `QCursor::~QCursor [in-charge]()' collect2: ld returned 1 exit status configure:20902: $? = 1 configure: failed program was: #include "confdefs.h" #include <qglobal.h> #include <qapplication.h> #include <qcursor.h> #include <qstylefactory.h> #include <private/qucomextra_p.h> #if ! (QT_VERSION >= 303) #error 1 #endif
int main() { (void)QStyleFactory::create(QString::null); QCursor c(Qt::WhatsThisCursor); return 0; } configure:20942: error: Qt (>= Qt 3.0.3) (library qt-mt) not found. Please check your installation! For more details about this problem, look at the end of config.log. Make sure that you have compiled Qt with thread support!
Заранее спасибо!