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

Re: Configuring Subversion with Berkeley DB Error: configure: error: Berkeley DB 4.0.14 or 5.x wasn't found

From: Branko ─îibej <brane_at_wandisco.com>
Date: Thu, 12 Feb 2015 04:27:12 +0100

On 12.02.2015 04:07, kay wrote:
> I got the subversion from https://subversion.apache.org/download/ and it's
> version 1.8.11. BerkeleyDB was downloaded from Oracle site.
> I configured the subversion with the following:
> ./configure --prefix=/dhhs1t/3rdparty/tools/svn --with-apr=/usr/local/apr/
> --with-apr-util=/usr/local/apr/
> --with-berkeley-db=/usr/local/BerkeleyDB.5.3/include/db.h:/usr/local/BerkeleyDB.5.3/include:/usr/local/BerkeleyDB.5.3/lib:db-5.3
> --with-serf=yes --with-apxs=/dhhs1t/3rdparty/tools/apache/bin/apxs
> --with-sqlite=/dhhs1t/3rdparty/tools/svn/subversion-1.8.11/sqlite-amalgamation/sqlite3.c
> Below is the content of the config.log. Like I said, the ./configure appears
> successful:
> $ ./configure --prefix=/dhhs1t/3rdparty/tools/svn
> --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr/ --with-serf
> =yes --with-apxs=/dhhs1t/3rdparty/tools/apache2/bin/apxs
> --with-sqlite=/dhhs1t/3rdparty/tools/svn/subversion-1.8.11/sqlite
> -amalgamation/sqlite3.c

That part looks OK. You should now have a file called
./subversion/svn_private_config.h which is written by cofigure, and the
symbol SVN_PATH_LOCAL_SEPARATOR should be #defined there. You will find
that define near the end of the config.log you sent in the previous mail.

The file subversion/libsvn_subr/dirent_uri.c includes that header in
line 33 in the 1.8.11 sources. According to your 'make' output,
SVN_PATH_LOCAL_SEPARATOR is not defined; if it were, the compiler would
never see the code in line 92 of subversion/libsvn_subr/dirent_uri.c,
for example, which is where the first error in your make log is reported.

I suggest you check the contents of the svn_private_config.h file. If
the #define isn't there, it's probably time to start looking for disk
and/or hardware errors.

-- Brane
Received on 2015-02-12 04:28:31 CET

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.