LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-30-2006, 09:08 AM   #1
JamesHall
Member
 
Registered: Feb 2006
Location: Oxford, UK
Distribution: openSUSE 13.1
Posts: 76

Rep: Reputation: 15
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.

Thanks

James.
 
Old 05-30-2006, 09:25 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
Old 05-31-2006, 04:09 AM   #3
JamesHall
Member
 
Registered: Feb 2006
Location: Oxford, UK
Distribution: openSUSE 13.1
Posts: 76

Original Poster
Rep: Reputation: 15
bigrigdriver,

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?

Like I said, relatively new at this...

Thanks

James.
 
Old 05-31-2006, 04:38 AM   #4
JamesHall
Member
 
Registered: Feb 2006
Location: Oxford, UK
Distribution: openSUSE 13.1
Posts: 76

Original Poster
Rep: Reputation: 15
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?

Thanks

J.
 
Old 05-31-2006, 04:41 AM   #5
TheBrick
Member
 
Registered: Mar 2006
Location: London
Distribution: SUSE 10.0 Home soon to go (no internet conection), gentoo laptop, slack on development box
Posts: 81

Rep: Reputation: 15
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.

T
 
Old 06-01-2006, 03:35 AM   #6
JamesHall
Member
 
Registered: Feb 2006
Location: Oxford, UK
Distribution: openSUSE 13.1
Posts: 76

Original Poster
Rep: Reputation: 15
All done.

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.

Thanks for the help guys!

James.
 
  


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
no KDE headers installed f34r7h1s MEPIS 2 09-01-2005 10:40 PM
no KDE headers installed? nicdee Linux - Newbie 3 08-03-2005 10:09 AM
checking for KDE... configure: error:, no KDE headers installed mythief Mandriva 4 10-23-2004 08:20 AM
checking for KDE... configure: error:, no KDE headers installed mythief Linux - Software 2 10-23-2004 05:20 AM
no KDE headers installed???? bluelaguna Linux - Software 5 07-22-2004 05:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:58 AM.

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