[Bug 65567] New: [PATCH] Build fix for alternate DB3/4 installations
Melvyn Sopacua
melvyn at webteckies.org
Sun Oct 5 22:09:02 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=65567
Summary: [PATCH] Build fix for alternate DB3/4 installations
Product: kdevelop
Version: unspecified
Platform: Compiled Sources
OS/Version: FreeBSD
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-devel at kdevelop.org
ReportedBy: melvyn at webteckies.org
Version: 3.0 alpha7 (using KDE Devel)
Installed from: Compiled sources
Compiler: gcc version 2.95.4 20020320 [FreeBSD]
OS: FreeBSD
Background:
on FreeBSD one can have several installations of Berkeley DB libraries. In the base system, there's the ancient 1.85 version. Other versions installed by the portscollection have their library and header location renamed to avoid conflicts.
The patch attached shortly fixes build problems on FreeBSD. To build correctly the appropreate values for db-dir and db-name need to be given. Ports maintainers will easily be able to pick this up.
As a quick-fix I've added the inclusion of config.h on lib/catalog/gcatalog.h because several files seem to include it, before config.h is included leaving an undefined type for DB.
As a side note it fixes the install target on Bourne type shells.
More information about the KDevelop-devel
mailing list