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

Re: mac os x - getting DAV working

From: allan juul <lambretta_at_inet.uni2.dk>
Date: 2003-12-29 10:58:30 CET

hi,

to answer my own [and possibly others] problem, here is how i got the
DAV working and with that a subversion repository viewable in a mac os
x browser.
[system mac os x 10.2.8, Unix File System]

firstly i downloaded and upgraded to subversion-0.35, then i completly
removed old traces of my original apache2 and subversion [$ sudo rm -Rf
/usr/local/apache2 /usr/local/subversion], then:

### install apache 2
$ gunzip httpd-2.0.48.tar.gz
$ tar -xvf httpd-2.0.48.tar
$ cd httpd-2.0.48
$ ./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.2
--enable-mods-shared=all --with-dbm=db4
$ make
$ sudo make install

### install subversion-0.35.1
$ gunzip subversion-0.35.1.tar.gz
$ tar -xvf subversion-0.35.1.tar
$ cd subversion-0.35.1
$ ./configure --prefix=/usr/local/subversion
--with-berkeley-db=/usr/local/BerkeleyDB.4.2
--with-apxs=/usr/local/apache2/bin/apxs
$ make
$ sudo make install

# copy the default stylesheets
$ cp tools/xslt/svnindex.css /usr/local/apache2/htdocs/svnindex.css
$ cp tools/xslt/svnindex.xsl /usr/local/apache2/htdocs/svnindex.xsl

### create repository in home directory for user aju
$ cd /Users/aju/
$ svnadmin create subversion_repositories

### edit apache configuation
$ open /usr/local/apache2/conf/httpd.conf

change:
   User nobody
to:
   User aju

add:
   <Location /svn>
     DAV svn
     SVNPath /Users/aju/subversion_repositories
     SVNIndexXSLT "/svnindex.xsl"
   </Location>

### start webserver
$ sudo /usr/local/apache2/bin/apachectl start

### open browser
open mozilla 1.5 or mozilla firebird 0.7 and enter location:
   http://localhost:80/svn/

and there a nice (empty) Revision 0 view of the freshly created
repository

./allan

On Monday, Dec 22, 2003, at 21:21 Europe/Copenhagen, allan juul wrote:

> hi
>
> this is my first post to this list.
>
> on mac os x [10.2.8]
> i have installed apache (2.0.48) and subversion (0.34.0) from sources
> configured like:
>
> apache
> ./configure --prefix=/usr/local/subversion
> --with-berkeley-db=/usr/local/BerkeleyDB.4.2 --enable-mods-shared=all
> --with-dbm=db4
>
> subversion
> ./configure --prefix=/usr/local/subversion
> --with-berkeley-db=/usr/local/BerkeleyDB.4.2
> --with-apxs=/usr/local/subversion/bin/apxs
>
> installation went fine, subversion seems to work as does apache *if*
> it comment out these lines in httpd.conf
>
> #LoadModule dav_svn_module modules/mod_dav_svn.so
> #LoadModule authz_svn_module modules/mod_authz_svn.so
> #<Location /svn>
> # DAV svn
> # SVNPath /usr/local/subversion/master_repository
> #</Location>
>
> if i do use these lines i get this error:
>
> ./bin/apachectl: line 87: 29702 Trace/BPT trap $HTTPD -k
> $ARGV
>
> i have tried about a dozen of combinations of various configurations
> [some of which i got a step further but got various xml-errors] – i
> can not get the DAV working with SVN.
>
> any help appriciated!
>
> thanks
> ./allan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 29 11:00:26 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.