LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-20-2004, 10:14 PM   #1
stonehurstX11
Member
 
Registered: Dec 2003
Location: New Jersey, USA
Distribution: Ubuntu 10.04
Posts: 120

Rep: Reputation: 15
Problem compiling KDevelop 3


Hi, I am running Mandrake 9.2 and trying to compile KDevelop 3 from source.

I downloaded the source pack from the Kdevelop website and ran the configure script. However, it then gave me an error about the Berkeley Database not being found on the system. So I fetch the latest releash of Berkeley db, untar it to /usr/local and install. I then run the configure script again on KDevelop and it still can't find that Berkeley db that I already installed.

Any ideas?
 
Old 02-20-2004, 10:24 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
check the configure script and see if you can pass some arguments to it to point to the BD files ... just open up the configure script and find the section in it that shows you the options you can pass to it ....
 
Old 02-20-2004, 11:01 PM   #3
stonehurstX11
Member
 
Registered: Dec 2003
Location: New Jersey, USA
Distribution: Ubuntu 10.04
Posts: 120

Original Poster
Rep: Reputation: 15
I checked out the config file and everything seems to point to the BD files, at least I think so Permissions aren't a factor here, any ideas?
 
Old 02-20-2004, 11:14 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
i think you misunderstood ?
i didn't mean analyze the code and see where it searches for BD, i meant to check and see if you can pass arguements to the configure script so that you tell the configure script where BD is located .. the following that i will show you is purely just an example, but nonetheless something to show you what i am getting it :
./configure --include-BD=/usr/local/BD

again that is an example of what i am talking about, and that "--include" arguement is what i am referring to you to look for ... and see if the configure script accepts something like this to specify where it is located ...
 
Old 02-20-2004, 11:27 PM   #5
stonehurstX11
Member
 
Registered: Dec 2003
Location: New Jersey, USA
Distribution: Ubuntu 10.04
Posts: 120

Original Poster
Rep: Reputation: 15
Oh, I did misunderstand
Thanks for the clarification, I'll see what I can do...
 
Old 02-20-2004, 11:37 PM   #6
stonehurstX11
Member
 
Registered: Dec 2003
Location: New Jersey, USA
Distribution: Ubuntu 10.04
Posts: 120

Original Poster
Rep: Reputation: 15
For some reason, I still can't get configure to find BD. I tried almost every option for including directories/program locations. Please help!
 
Old 02-21-2004, 01:27 AM   #7
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
Are you deleting your "config.cache" each time? If you have a "Makefile.dist" you can do "make -f Makefile.dist" and clean up leftover trash from previous "./configures".
 
Old 03-13-2004, 11:30 AM   #8
charmsdark
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
I had the same problem when trying to compile KDevelop. First I downloaded and installed the newest release of Berkeley DB (which was 4.2 I think), and having had a look at the the KDevelopment site (www.kdevelop.org) it turns out you need Berkeley DB >=3.0 and <=4.1. So I reinstalled the 4.1 version and it still didn't work.
After some searching on the web I found someone with a similar problem. What you might want to try is to make sure to pass the path to the BDB libraries to your compiler as described in the "How to compile on FreeBSD" section at the following page, http://www.kdevelop.org/index.html?f...compiling.html.

What I did was to do

export CXXFLAGS="-I/your/bdb-dir/include -L/your/bdb-dir/lib"

and then run the configure for KDevelop.

This worked for me, and I hope it will have been of help in your case as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problems compiling with Kdevelop blastradius Programming 1 10-30-2005 12:59 AM
compiling kdevelop merchtemeagle Linux - Software 2 03-16-2005 02:33 PM
Compiling and Installing Kdevelop 3.0.4 inline.skater Linux - Software 0 06-10-2004 05:06 AM
compiling in kdevelop shyam_d_sundar Linux - Software 1 05-06-2004 05:11 AM
errors compiling c++ in kdevelop adriaanbw Programming 2 09-13-2003 08:26 AM


All times are GMT -5. The time now is 11: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration