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.
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?
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.
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?
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:
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.
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.
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?
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.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
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 )?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.