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

Problems setting up svn trunk with httpd HEAD

From: Scott Sanders <ssanders_at_dotnot.org>
Date: 2003-05-08 04:56:04 CEST

Hi all,

I am trying to set up Subversion trunk with Apache 2.0 HEAD, and have
run into some problems. I think I just need some pointers.

I got subversion bootstrapped and built from the trunk. I then tried to
build Apache 2.0 from HEAD using the following:

#!/bin/sh
./configure \
  --enable-so \
  --with-mpm=prefork \
  --enable-ssl \
  --enable-dav=shared \
  --enable-status=shared \
  --enable-info=shared \
  --enable-dav-fs=shared \
  --enable-dav-lock=shared \
  --enable-vhost-alias=shared \
  --enable-rewrite=shared \
  --enable-modules=most \
  --enable-mods-shared=most \
  --enable-proxy=shared \
  --enable-proxy-http=shared \
  --with-dbm=db4 \
  --with-berkeley-db=/usr/local/BerkeleyDB.4.0 \
  --with-apr=../apr \
  --with-apr-util=../apr-util

After the ./configure, make, make install, I have apache running, but
when I try to install subversion, it says shared modules are not
enabled. So I do an httpd -l and get:

Compiled in modules:
  core.c
  prefork.c
  http_core.c

What?

So I do the very same ./configure, make, make install with the
httpd-2.0.45 dist, and httpd -l gives me:

Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

So, so is enabled now. Peachy. Now I try to reconfigure, make, make
install of subversion, and it seems to install fine. I create a test
repository with svnadmin create, and set up my httpd.conf to enable SVN
over that repo, like so:

<Location /testrepo>
    DAV svn
    SVNPath /www/svn.dotnot.org/testrepo
    AuthType Basic
    AuthName "Subversion Repository"
    AuthUserFile "/www/svn.dotnot.org/.htpasswd"
    Require valid-user
</Location>

And when I browse to that URL, I only get this in the error log:

[Sun May 04 22:16:02 2003] [error] [client 63.195.55.166] Could not
fetch resource information. [500, #0]
[Sun May 04 22:16:02 2003] [error] [client 63.195.55.166] Could not open
the SVN filesystem at /www/svn.dotnot.org/testrepo [500, #160000]
[Sun May 04 22:16:02 2003] [error] [client 63.195.55.166] (84)Invalid or
incomplete multibyte or wide character: bad database version: got
3.3.11, should be at least 4.0.14 [500, #160000]

But the in the configure script for apache, I said the use Berkeley 4.0...

What gives? Is my apache configure script messed up somehow? Should I
be asking on the httpd list?

I got subversion up on my windows box no sweat, but this one is stumping
me a bit.

Thanks
Scott Sanders

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 8 04:57:17 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.