You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, April 17th 2005, 9:26am

arts can't find qt 3.3.2

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 :)

2

Saturday, April 23rd 2005, 5:04pm

configure

maby you are not configured your qt to have multithread you can do this
cd to qt folder
type ./configure -thread
make
make install

that is all, i think you will install arts without problems...

3

Friday, April 29th 2005, 2:41am

re

Your LD_LIBRARY_PATH is wrong, it should be
"
LD_LIBRARY_PATH=$QTDIR/lib:LD_LIBRARY_PATH
"
"export QTDIR=/usr/local/qt-3.3.2
export LD_LIBRARY_PATH=$QTDIR"

Have a try!