Bug 118135 - kdevelop 3.3 doesn't compile on Slackware current (10.2)
Summary: kdevelop 3.3 doesn't compile on Slackware current (10.2)
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.3.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-11 21:55 UTC by Giovanni Venturi
Modified: 2005-12-12 10:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni Venturi 2005-12-11 21:55:36 UTC
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
Comment 1 Amilcar do Carmo Lucas 2005-12-11 22:12:17 UTC
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 ?
Comment 2 Giovanni Venturi 2005-12-11 22:20:07 UTC
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?
Comment 3 Amilcar do Carmo Lucas 2005-12-11 23:53:39 UTC
You can read why in the changeLogs of KDevelop.
http://www.kdevelop.org/index.html?filename=3.3/ChangeLog.html
Comment 4 Amilcar do Carmo Lucas 2005-12-12 10:17:28 UTC
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.