[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: freebsd questions

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-28 17:21:27 CET

Nuutti Kotivuori <naked@iki.fi> writes:

> > If APR-UTIL is not linked against BDB 4 then using it to build
> > mod_dav_svn produces an Apache module that fails at run-time with a
> > wrong database version error.
>
> Incorrect - there have been compatibility problems with having
> APR-UTIL linked against a different dbm - but they don't seem to be
> happening right now.
>
> As an example:
>
> naked@hadaka:~$ apu-config --libs
> -lgdbm -lxmlparse -lxmltok
>
> This is from a Debian machine. No problems what so ever with
> Subversion.

The problem comes when Apache, via APR-UTIL I think, has BDB symbols
that come from an incompatible BDB. In your case you are using GDBM
which doesn't provide BDB symbols.

Debian plays a few other tricks as well, run nm on a Debian BDB 4
library and you will see symbols like __db_open_4000, a plain tarball
BDB 4 gives symbols like __db_open. I think this means that Debian's
BDB 3 and BDB 4 can coexist. Do other distributions do this?

If configure finds APR-UTIL using a BDB that is different from the
Subversion requirement it should at least produce a warning. An error
that requires some overriding command line switch might be better.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 28 17:22:13 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.