This is a discussion on Kernel 2.6.3 + KDE 3.2.0, can't do make xconfig within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> When I try to do # make xconfig in Slack 9.1, kernel 2.6.3, KDE 3.2.0, I get the following: ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| When I try to do # make xconfig in Slack 9.1, kernel 2.6.3, KDE 3.2.0, I get the following: make[1]: `scripts/fixdep' is up to date. HOSTLD scripts/kconfig/qconf /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../.. i486-slackware-linux/bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status make[1]: *** [scripts/kconfig/qconf] Error 1 make: *** [xconfig] Error 2 Can somebody please explain? |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robert wrote: > When I try to do # make xconfig in Slack 9.1, kernel 2.6.3, KDE 3.2.0, I > get the following: > > make[1]: `scripts/fixdep' is up to date. > HOSTLD scripts/kconfig/qconf > /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../.. > i486-slackware-linux/bin/ld: cannot find -lqt-mt Thats the problem, it can't find the QT libs. Try 'make gconfig' IIRC xconfig uses the Qt libs in 2.6 and also adds gconfig which uses the GTK libs. Blumf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAPeB/Mid3IcxolsoRAgOiAJ0ZKDNjVXOsnrFtepV9PwBxQ+yWcwCeKl kq lh9TL/PcOjWfI+2pYKKbz2Q= =4ZZT -----END PGP SIGNATURE----- |
| |||
| On Thu, 26 Feb 2004 11:50:12 +0000, Robert wrote: > When I try to do # make xconfig in Slack 9.1, kernel 2.6.3, KDE 3.2.0, I > get the following: <snip> > i486-slackware-linux/bin/ld: cannot find -lqt-mt collect2: ld returned 1 > exit status > <snip> > Can somebody please explain? Well it looks as if it can't find the qt libraries. Do you have qt-3.2.1-i486-1 installed? On my system : locate libqt-mt /usr/lib/qt-3.2.1/lib/libqt-mt.prl /usr/lib/qt-3.2.1/lib/libqt-mt.so.3.2.1 /usr/lib/qt-3.2.1/lib/libqt-mt.so.3 /usr/lib/qt-3.2.1/lib/libqt-mt.so /usr/lib/qt-3.2.1/lib/libqt-mt.so.3.2 I don't run kde, but I would have thought it needed those libraries. I don't know why you have not got them already. Geoff |
| |||
| Robert wrote: > When I try to do # make xconfig in Slack 9.1, kernel 2.6.3, KDE 3.2.0, I > get the following: > > make[1]: `scripts/fixdep' is up to date. > HOSTLD scripts/kconfig/qconf > /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../.. > i486-slackware-linux/bin/ld: cannot find -lqt-mt > collect2: ld returned 1 exit status > make[1]: *** [scripts/kconfig/qconf] Error 1 > make: *** [xconfig] Error 2 > > Can somebody please explain? check in the /etc/profile.d directory for the script qt.sh If you manually compiled and installed KDE 3.2, you need to adjust it MAYBE to point to the version of QT you are using. I upgraded to qt 3.3 and needed to change this script. For me, I disabled qt.sh (chmod a-x qt.sh) and made a qt3.3.sh file. Here is mine: #!/bin/sh # Environment variables for the Qt package: if [ -d /usr/lib/qt-3.3.0 ]; then QTDIR=/usr/lib/qt-3.3.0 else QTDIR=/usr/lib/qt fi if [ ! "$CPLUS_INCLUDE_PATH" = "" ]; then CPLUS_INCLUDE_PATH=$QTDIR/include:$CPLUS_INCLUDE_PATH else CPLUS_INCLUDE_PATH=$QTDIR/include fi MANPATH="$MANPATH:$QTDIR/doc/man" PATH=$PATH:$QTDIR/bin export QTDIR export CPLUS_INCLUDE_PATH export MANPATH In addition, you may need to check ld.so.conf and make sure it's not pointing to an invalid area for QT. |
| ||||
| Robert wrote: > When I try to do # make xconfig in Slack 9.1, kernel 2.6.3, KDE 3.2.0, I > get the following: > > make[1]: `scripts/fixdep' is up to date. > HOSTLD scripts/kconfig/qconf > /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../.. > i486-slackware-linux/bin/ld: cannot find -lqt-mt > collect2: ld returned 1 exit status > make[1]: *** [scripts/kconfig/qconf] Error 1 > make: *** [xconfig] Error 2 > > Can somebody please explain? Set the correct QTDIR. Put the $QTDIR in /etc/ld.so.conf. Run ldconfig. -- Jabber: molchun@jabber.org PGP ID: 0x304563A8 |