You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mason Thomas <ml...@sbcglobal.net> on 2003/11/22 06:32:45 UTC

configure doesn't accept BDB 4.0.14

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?

Thanks,

-Mason



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: configure doesn't accept BDB 4.0.14

Posted by mark benedetto king <mb...@lowlatency.com>.
On Sat, Nov 22, 2003 at 11:25:45PM -0800, Mason Thomas wrote:
> 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.
> 

Applied, with minor mods, in r7835.  Thanks!

--ben


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: configure doesn't accept BDB 4.0.14

Posted by Mason Thomas <ml...@sbcglobal.net>.
On Sat, Nov 22, 2003 at 02:32:51AM -0600, C. Michael Pilato wrote:
> Mason Thomas <ml...@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

Re: configure doesn't accept BDB 4.0.14

Posted by "C. Michael Pilato" <cm...@collab.net>.
Mason Thomas <ml...@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."

So, just move your BDB source directory outside your Subversion build
area, or try just passing the --with-berkeley-db flag to configure.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org