LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Compiling kde 3.5.x apps on Slack64 13.0 running kde 3.5.10 (https://www.linuxquestions.org/questions/slackware-14/compiling-kde-3-5-x-apps-on-slack64-13-0-running-kde-3-5-10-a-762464/)

manwichmakesameal 10-16-2009 04:29 PM

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


voyciz 10-18-2009 01:55 AM

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.

knudfl 10-18-2009 06:15 AM

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

samac 10-18-2009 09:28 AM

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

manwichmakesameal 10-18-2009 09:45 AM

@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


voyciz 10-18-2009 10:07 AM

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"

samac 10-18-2009 11:20 AM

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

voyciz 10-18-2009 11:32 AM

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.

BrZ 10-18-2009 12:27 PM

do you have kde3-compat (extra/kde3-compat)?

knudfl 10-18-2009 04:33 PM

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

.....

manwichmakesameal 10-18-2009 06:11 PM

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.


All times are GMT -5. The time now is 03:24 PM.