Hello, people!
First of all, sorry about my poor english.
I have the stable source code of KDE 3.4. I am installing it and I am stopped in the step what arts needs to find Qt 3.3.2.
Good, Qt is already compiled and installed without problems with this line:
./configure -system-zlib -qt-gif -system-libpng \
-system-libjpeg -plugin-imgfmt-mng -thread -no-stl \
-no-xinerama -no-g++-exceptions
make
arts says this in config.log file:
configure:32568: checking for Qt
configure: 32639: /usr/local/qt-3.3.2/include/qstyle.h
taking that
tried NO
configure:32751: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -I/usr/local/qt-3.3.2/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/local/qt-3.3.2/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
/usr/local/qt-3.3.2/lib/libqt-mt.so: undefined reference to `FT_Stream_GetShort'
/usr/local/qt-3.3.2/lib/libqt-mt.so: undefined reference to `FT_Stream_ExitFrame'
/usr/local/qt-3.3.2/lib/libqt-mt.so: undefined reference to `FT_Stream_GetLong'
/usr/local/qt-3.3.2/lib/libqt-mt.so: undefined reference to `FT_Stream_Seek'
/usr/local/qt-3.3.2/lib/libqt-mt.so: undefined reference to `FT_Stream_EnterFrame'
collect2: ld returned 1 exit status
configure:32754: $? = 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 >= 0x030300 && QT_VERSION < 0x040000)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:32794: error: Qt (>= Qt 3.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!
And yes, I can see the thread support in Qt is enabled.
Later, I was searching in Google about these lines:
/usr/local/qt-3.3.2/lib/libqt-mt.so: undefined reference to `FT_Stream_GetShort'
/usr/local/qt-3.3.2/lib/libqt-mt.so: undefined reference to `FT_Stream_ExitFrame'
/usr/local/qt-3.3.2/lib/libqt-mt.so: undefined reference to `FT_Stream_GetLong'
/usr/local/qt-3.3.2/lib/libqt-mt.so: undefined reference to `FT_Stream_Seek'
/usr/local/qt-3.3.2/lib/libqt-mt.so: undefined reference to `FT_Stream_EnterFrame'
Good, the more near what I found is, add to .profile and .bash_profile files the following lines:
export QTDIR=/usr/local/qt-3.3.2
export LD_LIBRARY_PATH=$QTDIR
I added this in these files, and I logout and login again, but the problem is not solved. I added /usr/local/qt-3.3.2 to /etc/ld.so.conf, but not run.
Thanks about the help