Error compiling KTorrent from source: No KDE Headers Installed
Linux - SoftwareThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Error compiling KTorrent from source: No KDE Headers Installed
Hi everyone,
Relative newbie using SUSE 10.0 OSS.
I've been having a lot of trouble with KTorrent crashing repeatedly during downloads. From searching the forums, it seems to be quite a common problem. Several people have advised removing the version of KTorrent provided by SUSE, and compiling it from source instead.
I've downloaded the source for KTorrent 1.2 from ktorrent.pwsp.net, but I've got a bit of a problem. When I run ./configure, I get the following error message:
Quote:
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
I don't know what to do about this because I don't understand what it means! Can someone explain this to me please? Any advice regarding what to do next would also be gratefully received.
In SuSE 9.3, the headers are in /opt/kde3/include (file names have the extension .h).
The error message is telling you that your .configure command is attempting to install in a directory which does not include the kde headers: something like '.configure --prefix=/usr'. Or, perhaps you are not specifying a prefix, and .configure is trying to use a default prefix which does not have the headers.
Try this. Check to see where SuSE 10.0 put the kde includes. Are they in /opt/kde3/include, as in 9.3? If so, change your .configure command to: .configure --prefix=/opt/kde3. See if it can find the headers that way.
Last edited by bigrigdriver; 05-30-2006 at 09:27 AM.
Thanks for the advice. The only .h files in /opt/kde3/include on my machine relate to k3b. I tried ./configure --prefix=/opt/kde3/include anyway, and unsurprisingly got the same error message again. Could you tell me the full names of some of the KDE header files, so that I can try to find them on my system?
Incidentally, I don't know whether this is relevant or not, but I don't have any of the devel packages for KDE installed (kdebase3-devel, kdelibs3-devel etc.)
Do I need to install these packages? If so, which ones?
Distribution: SUSE 10.0 Home soon to go (no internet conection), gentoo laptop, slack on development box
Posts: 81
Rep:
Hello. I am also running suse 10.0 and found that kde headers where not installed as default. Try going to yast2 and in softwear looking for kde development or something similar and you should find the header files. Install them and try again checking where they have been installed.
I installed kdebase3-devel and kdelibs3-devel, which caused quite a few other packages to be installed to resolve dependencies, and upgraded libxslt from 1.1.14-3 to 1.1.15.2 (from the guru repository). Everything installed OK, the KDE headers went to /opt/kde3/include, and KTorrent configured, compiled and installed correctly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.