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

Problems with Subversion server install

From: Robert Larsen <rcl_at_ttpcom.com>
Date: 2003-02-21 10:17:47 CET

Hi all

I am trying to install Subversion but things don't go very well. I
didn't want to mess up my existing Apache server so I installed a new
one for handling Subversion only:

[robert@codemachine robert]$ cd /usr/src/httpd-2.0.44/
[robert@codemachine httpd-2.0.44]$ ./configure
--prefix=/usr/local/subversion --enable-dav --enable-so
--with-berkeley-db=/usr
[robert@codemachine httpd-2.0.44]$ make
[robert@codemachine httpd-2.0.44]$ make install

[robert@codemachine httpd-2.0.44]$ cd /usr/src/subversion/
[robert@codemachine subversion]$ ./configure
--prefix=/usr/local/subversion/
--with-apxs=/usr/local/subversion/bin/apxs --with-swig=/usr
--with-editor=/usr/bin/vim --with-berkeley-db=/usr
[robert@codemachine subversion]$ make
[robert@codemachine subversion]$ make install

I then make a repository:

[robert@codemachine robert]$ mkdir /var/cvsroot/svnrepo
[robert@codemachine robert]$ svnadmin create /var/cvsroot/svnrepo
[robert@codemachine robert]$ chown -R apache.apache /var/cvsroot/svnrepo

I then configure my new Apache:
User apache
Group apache
Listen 5000
<Location /svn>
    DAV svn
    SVNPath /var/cvsroot/svnrepo
</Location>

...and start it:
[robert@codemachine robert]$ /usr/local/subversion/bin/apachectl start

No problems so far and I have access through the filesystem:

[robert_at_codemachine robert]$ svn mkdir file:///var/cvsroot/svnrepo/testdir

Committed revision 1.

...but not through the webserver:
[robert_at_codemachine robert]$ svn mkdir http://localhost:5000/svn/test2dir
svn: General filesystem error
svn: OPTIONS request failed on /svn
svn:
bad database version: compiled with 4.1.25, running against 4.0.14

svn: Your commit message was left in a temporary file:
svn: 'svn-commit.tmp'

I use RedHat 8.0 which comes with DB 4.0.14 but I installed 4.1.25 from
source some time ago. I have tried to remove the new installation and
install 4.0.14 again but with the same result. (I reinstalled to a
different directory, used 'find' to list the files and outputted to a
file, changed their prefix to /usr and deleted them from the location
specified by the file).
I also tried installing DB 4.1.25 into the /usr/local/subversion directory:

[robert@codemachine robert]$ cd /usr/src/db-4.1.25.NC/build_unix/
[robert@codemachine build_unix]$ ../dist/configure
--prefix=/usr/local/subversion/
[robert@codemachine build_unix]$ make
[robert@codemachine build_unix]$ make install

...and then installing Apache and Subversion as above but with
'--with-berkeley-db=/usr/local/subversion'.
Same error.

I use revision 4855 and yes...I HAVE uninstalled the bootstrap version.
Why won't it work ??

Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 21 10:20:32 2003

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