LinuxQuestions.org
Visit Jeremy's Blog.
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 09-25-2004, 12:08 AM   #1
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Rep: Reputation: 30
Kde Headers


When running ./configure, I get this error.
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 searched google and I kept seeing the /opt/kde dir for the files. Well, mine is empty. Also, here are all the rpms that have kde in them (rpm -qa *rpm*).
lockdev-devel-1.0.0-23
switchdesk-kde-3.9.8-15
kdegames-3.1-4
kdemultimedia-3.1-4
kdelibs-3.1-13
kdebase-3.1-15
kdeutils-devel-3.1-4
kdeutils-3.1-4
kdeaddons-3.1-4
kdegraphics-3.1-5
lockdev-1.0.0-23
kdeartwork-3.1-3
kdenetwork-3.1-5

I thought the devel rpms contained the headers. Any ideas?
 
Old 09-25-2004, 12:21 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
So you have /opt/kde but it is empty?

The only other place I have seen kde installed is /usr/kde, so check there. The headers will be in the 'include' directory of your $KDE_ROOT, which typically is /opt/kde

run 'locate kdeinit' you may see something like:
Code:
/usr/kde/3.3/bin/kdeinit
this means that your $KDE_ROOT is '/usr/kde/3.3/' so the headers will be in '/usr/bin/kde/3.3/include'

If locate 'kdeinit' shows nothing then kde is not installed.
 
Old 09-25-2004, 10:51 AM   #3
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
Got it. /usr/bin/kdeinit

I tried ./configure --with-extra-libs=/usr/bin/kde , but still got this error: 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 also tried ./configure --with-extra-includes=/usr/bin/kdeinit ,but this other error: configure: error: not found. Check your installation and look into config.log.

I've never delt with PATHS, but isn't there a way to set the path somehow?

Thanks.
 
Old 09-25-2004, 02:50 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
No you don't understand, I asked you to look for kdeinit simply to find where kde is installed. Every distro I have used keeps kde separate from the rest of the system, however if kdeinit is in /usr/bin then it would appear that on your system kde is mixed in with everything else.

Check in /usr/bin/include

See if there is perhaps a kde subdirectory in there, or else a lot of files that look like:
Code:
... snip ...
krun.h
ksambashare.h
ksavefile.h
ksaver.h
kscan.h
ksconfig.h
kscoredialog.h
kscreensaver.h
kscreensaver_vroot.h
kselect.h
kseparator.h
kserversocket.h
kservice.h
kservicegroup.h
kservicetype.h
... snip...
There are several hundred of them, and almost all of them start with k and end with .h: these are the kde headers. You can try 'locate k*.h' and this should give you an idea where they are...but beware because you will likely get some false positives.

Good luck...
 
Old 09-25-2004, 04:18 PM   #5
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Rep: Reputation: 19
I see in some other posts that you are using ReadHat. Never used that one, but with Fedora Core 2, I had the same problem yesterday. Found out that I needed to install the KDE developers pack from Add/Remove Applications to get the headers.
 
Old 09-25-2004, 09:40 PM   #6
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
I'm having some trouble finding these files. I did a search using kde and came up with a bunch of .h files. But none of them are in the /usr/bin/include. The closest find is under /usr/include/kde, but only 4 or 5 files. False find. I also tried installing via the Package Management, but it told me to install some rpms need to be installed first, they are installed.

JustOl'Bob could you see if you do a search for kde rpm (rpm -qa kde*) and see what you come up with?
 
Old 09-25-2004, 10:15 PM   #7
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
Thanks for your help, but I found the rpm I was missing. Then I had to uninstall and reinstall some of kde rpms (no idea why). It would find them, but then say they aren't there. But it's all worked out now. Thanks again.
 
Old 09-28-2004, 11:17 PM   #8
aiki_kid
LQ Newbie
 
Registered: Aug 2004
Location: Puerto Rico
Distribution: Fedora Core 2
Posts: 12

Rep: Reputation: 0
What was the rpm you needed? If you remember.

-- Kid
 
Old 09-29-2004, 12:02 AM   #9
aiki_kid
LQ Newbie
 
Registered: Aug 2004
Location: Puerto Rico
Distribution: Fedora Core 2
Posts: 12

Rep: Reputation: 0
For anyone having the same " no KDE headers installed " problem on FC2, you guys need to get
kdelibs-devel 6:3.3.0-2.2.2.kde.i386

just:
yum install kdelibs-devel 6:3.3.0-2.2.2.kde.i386

and all is nice and good.

-- kid
 
Old 10-08-2004, 04:31 AM   #10
dfunkydog
LQ Newbie
 
Registered: Aug 2003
Location: London
Distribution: Slackware 10.0
Posts: 6

Rep: Reputation: 0
I had that problem with SuSE last night. installed kdelibs-devel, everything worked fine.
 
Old 10-08-2004, 08:28 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Hm, sorry if this is hijacking.

I had a similar problem with SuSE 9.0pro. I installed kdelibs3-devel and have some / many / most headers in /opt/kde3/include/*.h but kconfigskeleton.h is missing. Anybody know an alternative package or a source without line numbers (with line numbers is the format on KDE.org )?

Thanks in advance .

Last edited by JZL240I-U; 10-20-2004 at 02:08 AM.
 
Old 10-19-2004, 05:01 PM   #12
baskew91
LQ Newbie
 
Registered: Nov 2003
Distribution: debian
Posts: 14

Rep: Reputation: 0
just fyi here

on my debian box it was the kdelibs4-dev...yay team
 
Old 10-20-2004, 02:07 AM   #13
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Re: just fyi here

Quote:
Originally posted by baskew91
on my debian box it was the kdelibs4-dev...
Huh? KDE-four? You seem to be way ahead of us

I certainly have nothing of that ilk
 
Old 12-11-2004, 09:32 AM   #14
smudge|lala
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: Mint | Sabayon
Posts: 160

Rep: Reputation: 16
Kde Headers

I have been searching for a decent thread like this for ages. I am glad to have found it and hope it is still active!

I have just installed the latest Mandrake 10.1 Community (with KDE). This is the free DVD version. Everything works great except for the headers problem. I get the same error as in the first thread.

checking for KDE includes... no
configure: error: "Couldn't find KDE development headers!"
configure: error: "Configuration in systray failed!"

I followed the instructions above and found this:

/usr/bin/kdeinit (executable file)

I did locate / kdeinit and found squat and that's after 'updatedb'

I opened up the package management gui as su and looked for the package kdelib-devel and kde-lib to no avail. That tells me it is already installed right? Ok, so I went into 'Remove Packages' typed in kdelib-devel and lib and kde to try to find what was already installed and found kdelibs-common-3.2.3-74mdk only!

I'm confused because I have the executable kdeinit in /usr/bin/ and my package manager doesn't see it (if indeed this is the right file). Also I cannot find kdelibs-devel 6:3.3.0-2.2.2.kde.i386 (or newer) anywhere on my discs or Google.

Major header problem! I'm only trying to compile a tiny piece of software (500k) and really struggling. I wondered whether the free version of Mandrake didn't have all of the devel files but that doesn't explain why I can't find anything on Google? I have even failed to locate a .torrent. Either I'm completely misinformed or I'm missing something so painfully obvious I should get a cat-scan. Any tips would be wonderful. Failing that anyone3 fancy compiling code for Mandrake?

Last edited by smudge|lala; 12-11-2004 at 10:30 AM.
 
Old 12-11-2004, 02:32 PM   #15
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
http://rpmfind.net/linux/rpm2html/se...mit=Search+...

Try to grab a version that matches your kde install.
 
  


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
kde headers?? nervosud Linux - Software 2 02-25-2005 05:35 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
KDE headers? Need help. NonSumPisces Linux - Software 4 05-28-2004 07:06 PM
KDE Headers morbius Linux - General 2 03-06-2002 04:10 PM

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

All times are GMT -5. The time now is 11:53 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