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

Re: configure doesn't accept BDB 4.0.14

From: Mason Thomas <mlt_svn_at_sbcglobal.net>
Date: 2003-11-23 08:25:45 CET

On Sat, Nov 22, 2003 at 02:32:51AM -0600, C. Michael Pilato wrote:
> Mason Thomas <mlt_svn@sbcglobal.net> writes:
>
> > Hi,
> >
> > I tried compiling r7828 of Subversion and the configure script reported
> > the following error:
> >
> > configure: error: Berkeley DB in the source tree is not supported
> > anymore
> >
> > This also happened with the tarball of 0.33.1.
> > I have BDB 4.0.14, and the INSTALL file still recommends this as the
> > preferred version. Am I doing something wrong or is BDB 4.0.14 really no
> > supported anymore?
>
> Heh. I think there's just some ambiguity in that error message.
>
> I'm guessing you are reading it as:
>
> "The Berkeley DB which I've found in the source tree is no longer
> supported."
>
> But I think the message really means:
>
> "We no longer support configuring against an in-tree copy of
> Berkeley DB."
>

Thank you. That was exactly the problem...and here is a patch for the
configure.in file so myself and others won't get confused again:

log message:
* configure.in: Update error message if Berkeley db found in-tree.

Index: configure.in
===================================================================
--- configure.in (revision 7830)
+++ configure.in (working copy)
@@ -131,7 +131,9 @@
 SVN_LIB_APRUTIL($APU_VER_REGEX, $APU_VER_REGEX_TOO)
 
 if test -d "$abs_srcdir/db" ; then
- AC_MSG_ERROR([Berkeley DB in the source tree is not supported anymore])
+ AC_MSG_ERROR([Configuring against an in-tree copy of Berkeley DB is no
+ longer supported. Berkeley DB must be separately installed,
+ then use --with-berkeley-db=PATH])
 fi
 
 dnl What version of Expat are we using? -----------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 23 08:27:28 2003

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.