LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-16-2009, 04:29 PM   #1
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Compiling kde 3.5.x apps on Slack64 13.0 running kde 3.5.10


Ok, so I just did a fresh install of Slack64 13 and I want to install a nice windeco for it. Now during the install I opted to leave out all of kde and qt so I could install kde 3.5.10. Everything is working great, except when I try to build crystal window decoration, I get:
Code:
checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (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!
I know I have qt installed.
Code:
()- ls /var/log/packages/ | grep qt
poppler-qt3-0.10.7-x86_64-2opt
qt3-3.3.8b-x86_64-opt3
qtscriptgenerator-0.1.0-x86_64-1
Even if I just do a regular ./configure, make I get the same error. Anyone know of any way to fix this so it will find my qt install?

p.s. QTDIR is set in my environment as well:
Code:
- echo $QTDIR
/opt/kde3/lib64/qt3
 
Old 10-18-2009, 01:55 AM   #2
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Maybe your version of QT was not compiled with multithreading support? Try running updatedb and then "slocate libqt-mt". If nothing comes up, there's a problem. Try building from source.
 
Old 10-18-2009, 06:15 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
You can try doing :

export LD_LIBRARY_PATH=/opt/kde3/lib64/qt3/lib
in the terminal used.

.. if the path isn't mentioned in /etc/ld.so.conf

The export.. command is temporary .. the path
works till you exit the terminal session.
.....

Last edited by knudfl; 10-18-2009 at 06:19 AM.
 
Old 10-18-2009, 09:28 AM   #4
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
I just compiled kmymoney using the slackbuild, so I would guess most kde3 programs should compile, I am using Slackware64-13.0 (multi-lib) with KDE 3.5.10.

samac
 
Old 10-18-2009, 09:45 AM   #5
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Original Poster
Rep: Reputation: 110Reputation: 110
@knudfl: It's in the ld.so.conf.
Code:
--> cat /etc/ld.so.conf
/usr/local/lib
/usr/x86_64-slackware-linux/lib
/usr/lib64/seamonkey
/opt/kde3/lib64
 
Old 10-18-2009, 10:07 AM   #6
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
I believe the QT package that comes with Slack doesn't have multithreading support enabled, as I have no libqt-mt files. And it looks like it's failing because of that, hence the "qt-mt"
 
Old 10-18-2009, 11:20 AM   #7
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Quote:
I believe the QT package that comes with Slack doesn't have multithreading support enabled, as I have no libqt-mt files. And it looks like it's failing because of that, hence the "qt-mt"
Quote:
root@quad64:/home/samac# locate qt-mt
/opt/kde3/lib64/libqt-mt.so
/opt/kde3/lib64/libqt-mt.so.3
/opt/kde3/lib64/libqt-mt.so.3.3
/opt/kde3/lib64/libqt-mt.so.3.3.8
/opt/kde3/lib64/pkgconfig/qt-mt.pc
/opt/kde3/lib64/qt3/lib/libqt-mt.la
/opt/kde3/lib64/qt3/lib/libqt-mt.prl
/opt/kde3/lib64/qt3/lib/libqt-mt.so
/opt/kde3/lib64/qt3/lib/libqt-mt.so.3
/opt/kde3/lib64/qt3/lib/libqt-mt.so.3.3
/opt/kde3/lib64/qt3/lib/libqt-mt.so.3.3.8
/opt/kde3/lib64/qt3/lib/pkgconfig/qt-mt.pc
Yes, it does!

samac
 
Old 10-18-2009, 11:32 AM   #8
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Hmmm....do the newer QT packages not utilize libqt-mt files, then? I have qt-r1008952-x86_64-1 which came with Slack 13 and I have no such files.
 
Old 10-18-2009, 12:27 PM   #9
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
do you have kde3-compat (extra/kde3-compat)?
 
Old 10-18-2009, 04:33 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5 :

No, /opt/kde3/lib64/qt3/lib is not in your/etc/ld.so.conf

And may be it shouldn't be, hence the export command.

.....

Last edited by knudfl; 10-18-2009 at 04:35 PM.
 
Old 10-18-2009, 06:11 PM   #11
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Original Poster
Rep: Reputation: 110Reputation: 110
Sorry, knudfl. I tried the export command and got the same error.
@BrZ: I wouldn't think I would need the kde3-compat pkgs. The qt package is actually older than the one with kde3.5.10.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running KDE apps in Gnome FooAtari Linux - General 5 05-02-2009 04:22 AM
Problem compiling KDE apps ssfrstlstnm Linux - Software 1 02-21-2006 05:58 PM
running kde apps in fluxbox bingbang Linux - Newbie 2 05-01-2004 10:10 AM
Running Gnome apps in KDE PDR60 Slackware 1 11-24-2003 09:18 AM
Compiling KDE apps, linker error julienp Programming 1 08-07-2003 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration