Jump to content

no kde headers installed!


Recommended Posts

Iam using mandriva 10.2 and kde 3.3........ when trying to configure programs in konsole 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!

 

ive tried:

 

cd /usr/local
ln -s /usr/kde/3.3/ kde

 

to no avail....also

 

export KDEDIR=/usr/kde/3.3

 

to no avail also

help!!!

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

You can't assume that because it is not in your list of rpms to install that it is already installed.

You have to look in the list of rpms already installed by going into MCC and checking through the list of rpms to uninstall.

If it is there and even if it isn't then you should use MCC to check for updates and see if there is a later version and install that if there is.

 

Cheers. John.

Link to comment
Share on other sites

You can't assume that because it is not in your list of rpms to install that it is already installed.

You have to look in the list of rpms already installed by going into MCC and checking through the list of rpms to uninstall.

If it is there and even if it isn't then you should use MCC to check for updates and see if there is a later version and install that if there is.

good point... even go so far as to uninstall and reinstall.

Link to comment
Share on other sites

There are many "devel" files for kde. There usually in the form "libkde<stuff>-devel". You can find out what packages you have installed that have "libkde" in their name by running this from the command line:

 

$ rpm -qa | grep libkde

 

Here's my output to give you an idea of what I'm talking about:

 

$ rpm -qa | grep libkde
libkdesdk1-cervisia-devel-3.2.3-14.1.101mdk
libkdeedu1-3.2.3-7mdk
libkdemultimedia1-kscd-3.2.3-19.1.101mdk
libkdebase4-konsole-3.2.3-134.8.101mdk
libkdepim2-common-devel-3.3.0-29.6.101mdk
libkdemultimedia1-kmix-3.2.3-19.1.101mdk
libkdesdk1-cervisia-3.2.3-14.1.101mdk
libkdepim2-kaddressbook-3.3.0-29.6.101mdk
libkdegraphics0-kooka-devel-3.2.3-17.6.101mdk
libkdepim2-korganizer-3.3.0-29.6.101mdk
libkdesdk1-kbabel-devel-3.2.3-14.1.101mdk
libkdegraphics0-kview-devel-3.2.3-17.6.101mdk
libkdepim2-kpilot-3.3.0-29.6.101mdk
libkdepim2-kpilot-devel-3.3.0-29.6.101mdk
libkdemultimedia1-noatun-3.2.3-19.1.101mdk
libkdeutils1-ksim-3.2.3-28.3.101mdk
libkdepim2-kontact-3.3.0-29.6.101mdk
libkdetoys1-kweather-3.2.3-12mdk
libkdesdk1-3.2.3-14.1.101mdk
libkdemultimedia1-kscd-devel-3.2.3-19.1.101mdk
libkdebase4-kate-3.2.3-134.8.101mdk
libkdecore4-3.2.3-105.1.101mdk
libkdeutils1-common-3.2.3-28.3.101mdk
libkdeutils1-kcalc-3.2.3-28.3.101mdk
libkdepim2-kmail-3.3.0-29.6.101mdk
libkdepim2-kaddressbook-devel-3.3.0-29.6.101mdk
libkdecore4-devel-3.2.3-105.1.101mdk
libkdeutils1-ark-3.2.3-28.3.101mdk
libkdepim2-knode-devel-3.3.0-29.6.101mdk
libkdegames1-3.2.3-9mdk
libkdesdk1-devel-3.2.3-14.1.101mdk
libkdeutils1-ksim-devel-3.2.3-28.3.101mdk
libkdevelop3-3.0.4-15mdk
libkdevelop3-devel-3.0.4-15mdk
libkdesdk1-kbabel-3.2.3-14.1.101mdk
libkdegraphics0-kuickshow-3.2.3-17.6.101mdk
libkdegraphics0-common-devel-3.2.3-17.6.101mdk
libkdebase4-kmenuedit-3.2.3-134.8.101mdk
libkdepim2-korganizer-devel-3.3.0-29.6.101mdk
libkdetoys1-devel-3.2.3-12mdk
libkdemultimedia1-common-3.2.3-19.1.101mdk
libkdemultimedia1-common-devel-3.2.3-19.1.101mdk
libkdenetwork2-kopete-3.2.3-19.3.101mdk
libkdepim2-knode-3.3.0-29.6.101mdk
libkdegames1-devel-3.2.3-9mdk
libkdepim2-common-3.3.0-29.6.101mdk
libkdemultimedia1-noatun-devel-3.2.3-19.1.101mdk
libkdegraphics0-common-3.2.3-17.6.101mdk
libkdeedu1-devel-3.2.3-7mdk
libkdegraphics0-kooka-3.2.3-17.6.101mdk
libkdebase4-3.2.3-134.8.101mdk
libkdenetwork2-kopete-devel-3.2.3-19.3.101mdk
libkdepim2-kontact-devel-3.3.0-29.6.101mdk
libkdegraphics0-kghostview-3.2.3-17.6.101mdk
libkdegraphics0-kview-3.2.3-17.6.101mdk
libkdenetwork2-common-3.2.3-19.3.101mdk
libkdeutils1-common-devel-3.2.3-28.3.101mdk
libkdebase4-kate-devel-3.2.3-134.8.101mdk
libkdepim2-kmail-devel-3.3.0-29.6.101mdk

 

What you need depends upon what kind of program your trying to compile but I would think that you would at least need "libkdecore4-devel-3.2.3-105.1.101mdk" and perhaps others. The above is for mdk10.1 so you will have different version numbers but the names of the kde "devel libs" will probably be similar if not the same. Another problem you might have - a lot of times the "kde devel" files are not included on the download isos because there is just not enough room to include everything. In that case you need to set up a "main" internet rpm repository using easyurpmi. This is frequently necessary to get all the "devel" libs you need for compiling.

Finally, what are you trying to compile? You can get precompiled rpms for most common stuff not included on the cds by setting up a "contrib" source with easyurpmi. If your not familiar with easyurpmi and how to set up these sources post back and I will go into more detail.

Edited by pmpatrick
Link to comment
Share on other sites

this is mine

rpm -qa | grep libkde
libkdebase4-konsole-3.3.2-96mdk
libkdegraphics0-kghostview-3.3.2-21mdk
libkdepim2-ktnef-3.3.2-44mdk
libkdeaddons1-konqimagegallery-3.3.2-14mdk
libkdemultimedia1-kscd-devel-3.3.2-22mdk
libkdepim2-kpilot-3.3.2-44mdk
libkdemultimedia1-noatun-3.3.2-22mdk
libkdetoys1-kweather-3.3.2-6mdk
libkdemultimedia1-kscd-3.3.2-22mdk
libkdepim2-knode-devel-3.3.2-44mdk
libkdecore4-3.3.2-119mdk
libkdemultimedia1-kmix-3.3.2-22mdk
libkdepim2-common-3.3.2-44mdk
libkdegraphics0-common-3.3.2-21mdk
libkdegraphics0-kuickshow-3.3.2-21mdk
libkdesdk1-devel-3.3.2-11mdk
libkdeutils1-common-3.3.2-20mdk
libkdetoys1-devel-3.3.2-6mdk
libkdeutils1-kedit-3.3.2-20mdk
libkdebase4-3.3.2-96mdk
libkdebase4-kmenuedit-3.3.2-96mdk
libkdemultimedia1-common-3.3.2-22mdk
libkdepim2-kaddressbook-3.3.2-44mdk
libkdepim2-kmail-3.3.2-44mdk
libkdepim2-knode-3.3.2-44mdk
libkdesdk1-cervisia-3.3.2-11mdk
libkdeaddons1-noatun-3.3.2-14mdk
libkdepim2-kontact-3.3.2-44mdk
libkdepim2-kpilot-devel-3.3.2-44mdk
libkdeutils1-ksim-3.3.2-20mdk
libkdenetwork2-common-3.3.2-27mdk
libkdepim2-korganizer-3.3.2-44mdk
libkdenetwork2-kopete-3.3.2-27mdk
libkdebase4-kate-3.3.2-96mdk
libkdeutils1-kcalc-3.3.2-20mdk
libkdeaddons1-3.3.2-14mdk
libkdeutils1-ark-3.3.2-20mdk
libkdesdk1-3.3.2-11mdk

Link to comment
Share on other sites

You don't have many of the kde developer libraries installed, i.e. the kde packages with "devel" in their name. Here's what I see in your output:

 

libkdemultimedia1-kscd-devel-3.3.2-22mdk

libkdepim2-knode-devel-3.3.2-44mdk

libkdesdk1-devel-3.3.2-11mdk

libkdetoys1-devel-3.3.2-6mdk

libkdepim2-kpilot-devel-3.3.2-44mdk

 

Open up mcc and in software installation, put "libkde" in the search term and look for packages with "devel" in their name. You can install all of devel packages if you want but I'm fairly sure you will need at least the "libkdecore4-devel" package.

 

Also, state exactly what your trying to install. There could be a lot easier ways to handle it than compiling from source.

Link to comment
Share on other sites

Without an internet connection, you will have to manually resolve the dependecies by downloading the needed rpms from some box with internet access and transferring them to your mandriva box. This could get to be a real pain. Urpmi takes care of this for you if you have internet access. Here's a link to the "main" branch of LE2005 where you should find all the needed rpms:

 

ftp://fr2.rpmfind.net/linux/Mandrakelinux...586/media/main/

 

However all three of those programs have rpms on the contrib branch of LE2005. Here's a link:

 

ftp://fr2.rpmfind.net/linux/Mandrakelinux.../media/contrib/

 

First thing to try is download the rpms for the three programs from contrib and see if they will install. Your likely to have some unresolved dependencies so then you go back and pick up the packages you need and try again. With urpmi and internet acces this would be a breeze - set up a main and contrib source select the three packages you want and all dependencies would be downloaded and installed in the proper order.

Link to comment
Share on other sites

Look at the top of this web page and you will see "Easy-Urpmi" right next to the "Help" link. Click on it and you will be taken to a page that tells you how to set up urpmi sources. Basically, you open a console, su to root, follow the instructions to get what you should type in the counsole to set up various urpmi sources, copy and paste the text in the console and run the command. Most people set up "main", "contrib", "plf-free" and "plf-nonfree" sources. Do them one at a time. When your done, all the rpms on these internet repositories will be available to you and will be listed in mcc>Software Management.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...