Im having trouble building Subversion under *NIX with BerkeleyDB 4.2.x What should I do?
Subversion compiles against BerkeleyDB by asking apr-util for the appropriate BDB build options. This means that either the apr-util in your Subversion tarball or the one in your Apache tree must successfully detect BDB. Normally one does this by passing “–with-berkeley-db” to apr-util’s ./configure. (When you pass this argument to either Apache or Subversion’s ./configure, it’s really just getting passed down to apr-util’s ./configure.) The problem is that BerkeleyDB 4.2 is newer than the latest released version of apr-util, so apr-util doesn’t know how to detect it. The long-term solution is already in place: the latest apr-util in CVS has code to explicitly detect BDB 4.2. When either apr-util or Apache httpd does another release, this ability will widely available. In the short term, the best thing to do is apply this patch to your apr-util’s ./configure script — either to the apr-util in your apache tree (if you’re building Apache before Subversion), or to the apr-util in your S