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

Re: Error when trying to test my svn build

From: sashan <sashang_at_ihug.co.nz>
Date: 2002-10-28 11:48:02 CET

On Mon, 2002-10-28 at 20:43, Rafael Garcia-Suarez wrote:
> sashan <sashang@ihug.co.nz> wrote:
> > I don't understand why it complains about the bad database version -
> > I've built and installed 4.0.14.
>
> Ah, but perhaps did you build apache with your system's provided db
> version ? Did you configure apache with the path to your db-4.0.14 ?
> (look in the INSTALL file, section "Obtaining and Installing Apache 2.0".)
>

Yes. It wasn't finding the correct db. I had to type the following
export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.0/lib

(how do I add LD_LIBRARY_PATH permanently to environment?)
and then use the following configure for Apache:
./configure --enable-dav --enable-so --enable-maintainer-mode
--with-dbm=db4 --with-berkeley-db=/usr/local/BerkeleyDB.4.0

Followed by make depend && make && make install.
It all seems to build well and use the version 4 DB.
To build subversion I typed:
./configure --enable-maintainer-mode
--with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apache2
--with-apr-util=/usr/local/apache2 --with-dbm=db4
--with-berkeley-db=/usr/local/BerkeleyDB.4.0
make
make install

Next I create a repository but when I try to checkout:
svn co http://localhost/misc/svn/test_repos wc

I get the following error:
subversion/libsvn_ra_dav/util.c:81: (apr_err=175002, src_err=0)
svn: RA layer request failed
svn: PROPFIND of /: 405 Method Not Allowed

There are no clues in the Apache error log besides:
[Mon Oct 28 23:28:43 2002] [notice] Apache/2.0.44-dev (Unix) DAV/2
SVN/0.14.3 (dev build) configured -- resuming normal operations

The access logs have this information:
27.0.0.1 - - [28/Oct/2002:23:28:45 +1300] "PROPFIND /misc/svn/test_repos
HTTP/1.1" 405 317
127.0.0.1 - - [28/Oct/2002:23:28:45 +1300] "PROPFIND /misc/svn HTTP/1.1"
405 306
127.0.0.1 - - [28/Oct/2002:23:28:45 +1300] "PROPFIND /misc HTTP/1.1" 405
302
127.0.0.1 - - [28/Oct/2002:23:28:45 +1300] "PROPFIND / HTTP/1.1" 405 311

Is this perhaps because Apache isn't configured correctly?

Thanks

Sashan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 28 11:48:48 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.