Click to See Complete Forum and Search --> : Problem with compiling Qt


L1nked
03-22-2005, 05:44 AM
When i finished compiling Qt, I received the following errors --

collect2: ld returned 1 exit status
make [4]: *** [../../../bin/uic] Error1
make [4]: Leaving directory '/usr/local/qt/tools/designer/uic'
make [3]: *** [sub-uic] Error2
make [3]: Leaving directory '/usr/local/qt/tools/designer'
make [2]: *** [sub-designer] Error2
make [2]: Leaving directory '/usr/local/qt/tools'
make [1]: *** [sub-tools] Error2
make [1]: Leaving directory '/usr/local/qt'
make: *** [init] Error2

Is there something wrong with this?
I think thats what might be generating the following, when i try to compile KDE package arts --
checking for Qt: ... configure: error: Qt (>=Qt 3.3) (library qt-mt) not found. Please check your installation!
(I've installed libqt3-dev).

Im using Debian Linux.

Help will be very apreciated.
Thank you.

serz
03-22-2005, 06:02 AM
Do you have "libqt-mt-dev" installed?

mrBen
03-22-2005, 06:02 AM
Any particular reason why you are compiling rather than using apt?

serz
03-22-2005, 06:15 AM
Originally posted by mrBen
Any particular reason why you are compiling rather than using apt?
I was wondering the same as well...

L1nked
03-23-2005, 03:46 AM
Hey again guys, thanx for the reply. I APTed libqt-mt-dev and it worked.. hm it seemed to me ive installed it. But anyway.. now i got a new problem which happenes when Im trying to compile kdelibs. --
/usr/share/qt3/bin/uic: relocation error: /usr/share/qt3/bin/uic: undefined symbol: _ZN5QChar4nullE
mrBen, why i compile rother using APT, im doing everything as they told me in installation instructions from KDE site. Do you think I should start from the start and APT 'KDE' package out and that would be it?

mrBen
03-23-2005, 05:08 AM
If the only reason you are compiling it is because you want KDE, then yes, I would apt it rather than compiling.

If you have either specific development or bleeding-edge designs, then you *might* want to compile it. But by all accounts it is a tortuous route to take ;)

If you want the 'latest' then make sure you are using Debian Unstable/Sid rather than Stable/Woody, and then just apt-get install kde

L1nked
03-23-2005, 10:09 AM
Ok, i APTed KDE, but at the end it told me that some packages couldn't be fetched, so i ran apt-get update, it updated some packages not sure if they are the right ones. Anyway i created .xsession file with 'startkde' in it and added /usr/local/kde/bin to my PATH. I type startkde and it says command not found, i went to /usr/local/kde/bin startkde script is not listed there?? What i did wrong? What i do now?

mrBen
03-23-2005, 10:16 AM
after running apt-get update, you need to run apt-get install kde again to finish the installation. Failing that, try running apt-get install (without packagenames) to clean everything up.

L1nked
03-23-2005, 04:53 PM
I finished installation, it set everything up allright i guess.. (didnt get any errors). Straight after that i wanted to startkde and received the following --
xsetroot: unable to open display ‘’
kde-config: relocation error: /usr/lib/libkdefx.so.4: undefined symbol
xset: unable to open display ‘’
xsetroot: unable to open display ‘’
startkde: Starting up …
kdeconfig: relocaltion error: /usr/lib/libkdefx.so.4: undefined symbol
ksplash: relocation error:
kdeinit:relocation error:
startkde: Could not start kdeinit. Check your installation.
Error: Can’t open display:
Warning: connect() failed: : Connection refused
ksmserver: relocation error:
startkde: Shutting down ….
Warning: connect() failed: : Connection refused
Error: Can’t contact kdeinit!
startkde: Running shutdown scripts…
startkde: Done.

Hm... :?