berkeley DB missing when installing kdevelop?

Sascha Cunz mail at SaCu.DE
Sat Nov 1 18:11:09 UTC 2003


Hi,
On Saturday 01 November 2003 17:31, Anguo wrote:
> Hello,
> I am trying to install kdevelop, but when doing ./configure,
> I run into the following problem:
> checking for Berkeley DB >= 3... configure: error: no -
> please install Berkeley DB >= 3
> yet, I have installed all the relevant up to date Mandrake
> rpms, including:
> # rpm -ql libdb4.1
> /usr/lib/libdb-4.1.so
> /usr/share/doc/libdb4.1-4.1.25
> /usr/share/doc/libdb4.1-4.1.25/LICENSE
> /usr/share/doc/libdb4.1-4.1.25/README
Some hints:
1. You also need the header-files of Berkeley DB.
-> something like /usr/include/db.h or somewhere below that.

2. On my SuSE 8.1, after checking everything, passing -ldb wants to link 
against libdb-4.so; thus there had to be a link to libdb-4.1.so

3. On an Berkeley DB 4.1 freshly installed from sources with default prefix,
kdevelop needs:
./configure --with-extra-includes=/usr/local/BerkeleyDB.4.1/include 
--with-extra-libs=/usr/local/BerkeleyDB.4.1/lib
to find it.

Cheers Sascha

P.S.: Switching this thread to KDevelop-devel at kdevelop.org, so maybe we can 
find a better way to check for Berkeley DB




More information about the KDevelop-devel mailing list