Version: sconosciuto (using KDE 3.5.0, compiled sources) Compiler: gcc version 3.3.6 OS: Linux (i686) release 2.6.14.3 I've got installad Berkley DB 4.2.52 from Slackware packages: during compiling I get: make[3]: Entering directory `/home/slacky/kde3.5/kdevelop/lib/catalog' if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde35/include -I/usr/lib/qt33/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT catalog.lo -MD -MP -MF ".deps/catalog.Tpo" -c -o catalog.lo catalog.cpp; \ then mv -f ".deps/catalog.Tpo" ".deps/catalog.Plo"; else rm -f ".deps/catalog.Tpo"; exit 1; fi catalog.cpp:36:2: #error "BDB Version 4 required." catalog.cpp: In member function `void Catalog::addIndex(const QCString&)': catalog.cpp:205: error: invalid conversion from `int' to `DBTYPE' catalog.cpp:205: error: too many arguments to function catalog.cpp: In member function `virtual void Catalog::open(const QString&)': catalog.cpp:273: error: invalid conversion from `int' to `DBTYPE' catalog.cpp:273: error: too many arguments to function catalog.cpp: In member function `QValueList<Tag> Catalog::query(const QValueList<QPair<QCString, QVariant> >&)': catalog.cpp:434: warning: comparison between signed and unsigned integer expressions make[3]: *** [catalog.lo] Error 1 make[3]: Leaving directory `/home/slacky/kde3.5/kdevelop/lib/catalog' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/slacky/kde3.5/kdevelop/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/slacky/kde3.5/kdevelop' make: *** [all] Error 2
At the risk of sounding stupid here but ..... On http://www.kdevelop.org/index.html?filename=3.3/requirements.html We EXPLICITLY ask for BDB 4.1. Why did you install 4.2 ?
Stupid reply: I've got installed this DB not recently and KDevelop with KDE 3.4 worked correctly with it. Why KDevelop with KDE 3.5 won't work with it?
You can read why in the changeLogs of KDevelop. http://www.kdevelop.org/index.html?filename=3.3/ChangeLog.html
From Matt R: This is system specific to slackware users. They need to specify --with-db-includedir=/usr/include/db4 or adjust their /usr/include/db.h symlinks to point to the db 4 version of the header.