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

Saturday, February 28th 2004, 5:01am

Problems compiling KDE 3.2- almost there!

I am running Xandros 2.0. If you are smiling when you read this it's because you know that Xandros installs almost no development headers/libraries by default so compiling is a pain. Anyway I ran Konstruct and am at the end but get this error:

make[7]: Entering directory `/root/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/tools/designer/designer'
/root/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/bin/uic -L /root/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/plugins listboxeditor.ui -o listboxeditor.h
/root/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/bin/uic: relocation error: /root/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/bin/uic: undefined symbol: _7QString.shared_null
make[7]: *** [listboxeditor.h] Error 127.

I have tried installing every Qt package(.deb) I could find.
ii libqt3-compat- 3.2.1-6 Qt 1.x and 2.x compatibility includes
ii libqt3-headers 3.2.1-6 Qt3 header files
iU libqt3-mt-dev 3.2.1-6 Qt development files (Threaded)
ii libqt3c102-mt 3.2.1-6 Qt GUI Library (Threaded runtime version)
iU qt3-apps-dev 3.2.1-6+orth Qt3 Developer applications development files
ii qt3-assistant 3.2.1-6 The Qt3 assistant application
ii qt3-designer 3.2.1-6+orth Qt3 Designer
ii xuplus-qt 2.0-110 Task package for the Xandros Networks Standa

2

Saturday, February 28th 2004, 10:11am

The uic executable /root/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/bin/uic could be linking with libqt-mt.so.3 from your installed qt (version 3.2.1) that could be the problem. If this is the problem the fix is before starting make for Qt, set the variables QTDIR, PATH, MANPATH, LD_LIBRARY_PATH as specified in qt-x11-free-3.2.3/INSTALL file. I have never used konstruct so i don't know if the above variables are set properly.

Quoted

Check this out from compiling kde guide at
http://developer.kde.org/build/compile_cvs.html

Unlike most compiled software, Qt is compiled in the place where it will stay instead of using a 'make install'. Please read the INSTALL instructions in the Qt package. You need to set the $QTDIR and $KDEDIR to the locations where Qt and KDE will be installed, respectively. Also, append $QTDIR/bin and $KDEDIR/bin to your $PATH and $LD_LIBRARY_PATH. Alternatively, instead of using $LD_LIBRARY_PATH, you may add your Qt and KDE library paths to /etc/ld.so.conf, but don't forget to run ldconfig as root after installing Qt and kdelibs, otherwise configure scripts will fail to find the newly installed libraries!

bunzip2 qt-x11-free-3.2.1.tar.bz2
tar xvf qt-x11-free-3.2.1.tar
cd qt-x11-free-3.2.1
less INSTALL
(Set up QTDIR, KDEDIR, PATH, and LD_LIBRARY_PATH)
cd $QTDIR
./configure -system-zlib -qt-gif -system-libpng \
-system-libjpeg -plugin-imgfmt-mng -thread -no-stl \
-no-xinerama -no-g++-exceptions
make

Note that -thread is required (KDE will not run or even compile if you omit it), that -no-xinerama is only if you're not using xinerama, and -no-g++-exceptions is strongly recommended if you're using gcc.


If this doesn't work try to compile qt separately from konstruct - follow the steps in the above guide After qt is compiled and installed you can start konstruct later. Tell konstruct that you have qt installed already by setting the value for HAVE_QT_3_2_INSTALLED in file gar.conf.mk

3

Saturday, February 28th 2004, 10:57pm

thanks for your help

I installed Qt from scratch and then edited gar.conf.mk so have_qt_installed=true. Got past that error but ran into a million others. I guess Xandros really doesn't want you playing with too much. Thanks anyway- I learned a lot.