LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem compiling KDevelop 3 (https://www.linuxquestions.org/questions/linux-software-2/problem-compiling-kdevelop-3-a-148593/)

stonehurstX11 02-20-2004 09:14 PM

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?

DrOzz 02-20-2004 09:24 PM

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 ....

stonehurstX11 02-20-2004 10:01 PM

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?

DrOzz 02-20-2004 10:14 PM

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 ...

stonehurstX11 02-20-2004 10:27 PM

Oh, I did misunderstand :o
Thanks for the clarification, I'll see what I can do...

stonehurstX11 02-20-2004 10:37 PM

For some reason, I still can't get configure to find BD. I tried almost every option for including directories/program locations. Please help!

Allen614 02-21-2004 12:27 AM

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".

charmsdark 03-13-2004 10:30 AM

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.


All times are GMT -5. The time now is 03:51 PM.