Unix Technical Forum

Kernel 2.6.3 + KDE 3.2.0, can't do make xconfig

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


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 08:52 AM
Robert
 
Posts: n/a
Default Kernel 2.6.3 + KDE 3.2.0, can't do make xconfig

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 08:52 AM
Blumf
 
Posts: n/a
Default Re: Kernel 2.6.3 + KDE 3.2.0, can't do make xconfig

-----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-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 08:52 AM
Geoff
 
Posts: n/a
Default Re: Kernel 2.6.3 + KDE 3.2.0, can't do make xconfig

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 08:52 AM
Peter
 
Posts: n/a
Default Re: Kernel 2.6.3 + KDE 3.2.0, can't do make xconfig

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 08:52 AM
Molchun
 
Posts: n/a
Default Re: Kernel 2.6.3 + KDE 3.2.0, can't do make xconfig

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com