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

Berkeley DB error while opening environment

From: Ryan Hunt <rhunt_at_hp.com>
Date: 2003-09-11 01:24:18 CEST

I am trying to get up and running with Subversion and am having a
very difficult time. If anyone has any insight I would appreciate it.

I am trying to install a sever on either RH7.3 or RH8.0

On RH8.0 I ran the configure and makes on Berkeley DB, Apache, and
last on Subversion. All appeared to go fine with no errors.

I then made a test repository and tried the following command:

svn import -m "test" file:///home/rhunt/tmp/svn

and got the following results:

subversion/libsvn_ra_local/ra_plugin.c:225: (apr_err=180001)
svn: Couldn't open a repository.
svn: Unable to open an ra_local session to URL
subversion/libsvn_ra_local/split_url.c:112: (apr_err=180001)
svn: Unable to open repository 'file:///home/rhunt/tmp/svn'
subversion/libsvn_fs/bdb/bdb-err.c:58: (apr_err=160029)
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem
/home/rhunt/tmp/svn/db:
Resource temporarily unavailable

The RH7.3 does not even make it past the configure during which I get
the following error:

checking for Apache module support via DSO through APXS...
/usr/local/apache2/bin/httpd: error while loading shared libraries:
libdb-4.1.so: cannot open shared object file: No such file or
directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/apache2/bin/httpd'..
no - Unable to locate /mod_dav.h
==================================================================
WARNING: skipping the build of mod_dav_svn
          --with-apxs or --with-apache must be used
==================================================================

Apache is not in an unusual place yet I humor it by feeding it the
the following:

./configure --with-apxs=/usr/local/apache2/bin/apxs

Which renders the following results:

checking for static Apache module support... no
checking for Apache module support via DSO through APXS...
/usr/local/apache2/bin/httpd: error while loading shared libraries:
libdb-4.1.so: cannot open shared object file: No such file or
directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/apache2/bin/httpd'..
configure: error: no - APXS refers to an old version of Apache
                      Unable to locate /mod_dav.h

Any help or suggestions would be very helpful.

Thanks,

Ryan
Received on Thu Sep 11 01:21:53 2003

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

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