Problems installing source on Gentoo
Hello everyone,
I am trying to install certain programs from source (There are no eBuilds for these packages) such as KBFX for example.
After running ./configure I get he following output:
----------------------------------------------------------------------------------
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!
----------------------------------------------------------------------------------
My KDE stuff appears to reside in /usr/kde/3.4/
Here is output from 2 files in the /etc/env.d directory (Not even sure if configure uses these):
46kdepaths-3.4
------------------------------------------------------------------------------------------------------
PATH=/usr/kde/3.4/bin
ROOTPATH=/usr/kde/3.4/sbin:/usr/kde/3.4/bin
LDPATH=/usr/kde/3.4/lib
CONFIG_PROTECT="/usr/kde/3.4/share/config /usr/kde/3.4/env /usr/kde/3.4/shutdown"
------------------------------------------------------------------------------------------------------
99kde-env
--------------------------------------------
KDEDIRS=/usr
CONFIG_PROTECT=/usr/share/config
#KDE_IS_PRELINKED=1
--------------------------------------------
I have also tried temporarily setting the KDEDIRS environment variable to include the /usr/kde/3.4 directory and it's sub-directories, but configure still returns the same error.
I then googled the topic.
I found 2 solutions which have worked for some people.
The first was to make sure I had the klibs-dev (or devel) package installed.
Apparently this error has to do with not being able to find the header files.
I am not sure how to verify this and I would assume when kdelibs was emerged, the header files would have been too, not sure though, just a guess.
Could not find any ebuilds for either kdelibs-dev or kdelibs-devel:
----------------------------------------------------------------------------------------------
headquarters ~ # emerge kdelibs-dev
Calculating dependencies
emerge: there are no ebuilds to satisfy "kdelibs-dev".
headquarters ~ # emerge kdelibs-devel
Calculating dependencies
emerge: there are no ebuilds to satisfy "kdelibs-devel".
----------------------------------------------------------------------------------------------
So I then tried to find source for either of these two.
Could not find any for kde 3.4.1 and even if I did would I not run into the same configure error?
Irony oh boy! Catch 22.
I could try emerging a more recent version of KDE, but I am beginning to suspect this is an issue with Gentoo or a simple configuration that is beyond me.
The 2nd solution that people suggested was to use a --pref argument with configure.
In my case ./configure --pref="/usr/kde/3.4/lib" to find the headers.
Tried this, same error.
I know, I know, it's just a launch button, live without it lol.
But, emerge cannot get you everything.
Eventually, I may need something more important that will require installing from source, and I will get the same error.
If I have left out any snapshots of files that would be helpful, please let me know and I will provide them.
Peace
PJ
|