Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-05-2004, 01:19 PM   #1
Registered: Apr 2004
Location: Outer space :D
Distribution: Gentoo 2005.0 amd64 2.6.14-dfx3
Posts: 203

Rep: Reputation: 30
Compiling QT

I'm running my Mandrake Linux 10.1 RC1 x86_64 box with KDE 3.2.3 and QT3.3 as I recall. I've tried to compile KDE3.3.1, but the configure scripts didn't see the qt-mt libraries.

Yes, I have the lib64qt3-devel rpm installed and yes, pkgconfig --list-all lists the qt-mt package. I've created symlinks called where it seemed it was missing (aka /usr/lib/qt3/lib64 and /usr/lib/qt3/lib), but it didn't work. I ran ldconfig a thousand+1 times agf\\fter every try, and still no luck.

So, I quit trying to use the provided RPM, and got the latest free qt-x11 package and I started recompiling everything. The konstruct took care of doing the right stuff.

Right about the middle of the compile, when it was about time to link the files, BOOOm, library Xrender not found :O. That's from Xorg, right? Doesn't matter, as it seems a replay now.

What can I try to get it to compile everything all right? I'm thinking it's because I have lib and lib64 dirs (for the libs compiled with 32 and 64 bit),, but I'm stuck now...

edit: I'm using -march=athlon64 option for gcc/cc

Last edited by eqxro; 11-05-2004 at 01:24 PM.
Old 11-08-2004, 07:34 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
As with all software, you need to install the dependencies before compiling it. In this case, you're missing the libXrender-devel package; this probably means that you installed X without installing its header files or development package.

To avoid dependency issues, you can either: a) stick to precompiled software, b) always install the development packages when you install the binary packages or c) always compile from source.

libqt-mt is a different library to libqt; it's the multithreading version. You cannot just create it as a symbolic link to libqt. If you don't have libqt-mt, then you'll need to compile KDE as non-threading so that it uses libqt and not libqt-mt.

Also, note that you do not have to recompile KDE after installing the headers for Xrender (probably an Xorg module package); just run make and it will link what you've already compiled against the new library.
Old 11-08-2004, 01:51 PM   #3
Registered: Apr 2004
Location: Outer space :D
Distribution: Gentoo 2005.0 amd64 2.6.14-dfx3
Posts: 203

Original Poster
Rep: Reputation: 30
The problem is completely different. A. I have the devel libs installed and B. I symlinked from to, now my problem is that I've tried downloading the qt source code from tar.bz2/gz and from the .src.rpm. The src.rpm pathces things up a bit, so it would compile on my athlon64. That's the problem. I think i need to patch every package i need to compile so that it can find its way around lib and lib64 dirz. That's what the patch was supposed to do...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Compiling narcussist Fedora 6 01-18-2006 12:50 PM
compiling z9_87 Linux - Software 4 12-23-2004 05:29 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:33 PM.

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