Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376207 - dev-libs/apr-util fails to build against BerkeleyDB-5.2
Summary: dev-libs/apr-util fails to build against BerkeleyDB-5.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-07-24 12:51 UTC by Reuben Farrelly
Modified: 2012-01-18 19:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Farrelly 2011-07-24 12:51:56 UTC
When dev-libs/apr-util is built with the berkdb USE flag and BerkeleyDB has been upgraded to BerkeleyDB 5.2, apr-util fails to build on account of not finding the required libraries.

Reproducible: Always

Steps to Reproduce:
1. Upgrade BerkeleyDB to 5.2
2. emerge apr-util

Actual Results:  
checking for ldap support...
checking gdbm.h usability... yes
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
configure: error: Berkeley DB not found.

./configure then aborts.




A patch to fix this has been posted to the apr-dev mailing list which adds db-5.2 support:

http://marc.info/?l=apr-dev&m=131095186829267
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-01-18 19:10:13 UTC
*apr-util-1.3.12 (29 Jul 2011)

  29 Jul 2011; Jesus Rivero <neurogeek@gentoo.org> +apr-util-1.3.12.ebuild,
  +files/apr-util-1.3.12-bdb-5.2.patch:
  Version bump. Ebuild and patch by Arfrever.