LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-25-2005, 10:02 AM   #1
Elim_Garak
LQ Newbie
 
Registered: Jul 2005
Distribution: Mepis
Posts: 12

Rep: Reputation: 0
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
 
Old 11-25-2005, 11:52 PM   #2
Elim_Garak
LQ Newbie
 
Registered: Jul 2005
Distribution: Mepis
Posts: 12

Original Poster
Rep: Reputation: 0
This has been resolved, compliments of CptnObvious999 on the Gentoo Forums.
He showed me the correct --prefix statement --prefix=/usr/kde/3.4/ not --pref="/usr/kde/3.4/lib" as I was trying.

He mentioned that this --prefix argument would need to be used with applications that depend on KDE, others may not need it, I know superkaramba did not require it.

He was also helpful in pointing out that should I upgrade to say KDE 3.5 in the future, to reflect that in the --prefix argument i.e --prefix=/usr/kde/3.5/

Thanks again

PJ
 
Old 11-30-2005, 04:47 PM   #3
p0z3r
Member
 
Registered: Apr 2004
Posts: 88

Rep: Reputation: 15
superkaramba works best when using the --prefix=`kde-config --prefix` set.
It has to do with the fact that it uses quite a bit of KDE-isms and is now currently part of 3.5.0.
Although, it may still run without it, we recommend it.
 
  


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
Installing bcm4400-source during gentoo 2.6.11 install dkostic Linux - Networking 1 07-18-2005 05:53 AM
Problems installing Apache/PHP from source minorgod Mandriva 0 09-11-2004 07:45 PM
Problems installing Fedora (32 and 64 bit) and Gentoo josepha Linux - Newbie 2 04-15-2004 04:04 AM
Problems installing Gentoo / grub not loading wiredj Linux - Newbie 7 04-11-2004 05:17 PM
Problems Installing Libraries from Source Feebles Linux - Software 3 02-19-2004 11:42 AM

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

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