Compile error for KDevelop 3.4 SVN

Thomas McGuire Thomas.McGuire at gmx.net
Wed Oct 25 14:25:50 BST 2006


Hello,

I am trying to build KDevelop 3.4 (SVN branch).
I get the following error during make:

compiling /home/tmg/devel/3.4/lib/catalog/catalog.cpp
g++ -DHAVE_CONFIG_H -I./lib/catalog -I/home/tmg/devel/3.4/lib/catalog -I. -I/usr/include/kde -I/usr/share/qt3/include -I. -I/usr/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 -fno-builtin -g3 -fno-inline -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 -fPIC -DPIC -c /home/tmg/devel/3.4/lib/catalog/catalog.cpp -o ./lib/catalog/.libs/catalog.o -Wp,-MD,./lib/catalog/.deps/catalog.TUlo
/home/tmg/devel/3.4/lib/catalog/catalog.cpp: In member function ‘void Catalog::addIndex(const QCString&)’:
/home/tmg/devel/3.4/lib/catalog/catalog.cpp:200: error: invalid conversion from ‘int’ to ‘DBTYPE’
/home/tmg/devel/3.4/lib/catalog/catalog.cpp:200: error: too many arguments to function
/home/tmg/devel/3.4/lib/catalog/catalog.cpp: In member function ‘virtual void Catalog::open(const QString&)’:
/home/tmg/devel/3.4/lib/catalog/catalog.cpp:261: error: invalid conversion from ‘int’ to ‘DBTYPE’
/home/tmg/devel/3.4/lib/catalog/catalog.cpp:261: error: too many arguments to function
/home/tmg/devel/3.4/lib/catalog/catalog.cpp: In member function ‘QValueList<Tag> Catalog::query(const QValueList<QPair<QCString, QVariant> >&)’:
/home/tmg/devel/3.4/lib/catalog/catalog.cpp:417: warning: comparison between signed and unsigned integer expressions
Error creating ./lib/catalog/catalog.lo. Exit status 1.
make: *** [all] Error 1

I configured with

./configure --prefix=/usr --enable-debug=full --disable-ada --disable-bash --disable-fortran --disable-haskell --disable-java --disable-csharp --disable-pascal --disable-perl --disable-php --disable-python --disable-ruby --disable-sql --disable-antproject --disable-clearcase --disable-perforce --with-kdelibsdoxy-dir=/usr/share/doc/kde/HTML/en/kdelibs-apidocs --with-kdelibsdoc-dir=/usr/share/doc/kde/HTML/en/kdelibs-apidocs --with-db-libdir=/usr/lib --with-db-includedir=/usr/include --with-db-lib=db3    

I am using Kubuntu 6.10.
I've got the following Berkeley DB packages installed:
libdb3 (version 3.2.9-25)
libdb3-dev
libdb3-util
libdb4.3
libdb4.4

The 4.4 and 4.3 versions are only installed because other packages depend on them.

libdb3 installs the following relevant files:
/usr/lib/libdb3.so.3
/usr/lib/libdb-3.so
/usr/lib/libdb-3.2.so
/usr/lib/libdb3.so.3.0.2

libdb3-dev installs the following relevant files:
/usr/include/db.h
/usr/include/db_185.h
/usr/lib/libdb3.a
/usr/lib/libdb3.la
/usr/lib/libdb.a
/usr/lib/libdb.so
/usr/lib/libdb3.so

Does anybody know the reason why it does not build?

Thanks,
Thomas




More information about the KDevelop mailing list