You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by allan juul <la...@inet.uni2.dk> on 2003/12/22 20:21:25 UTC
mac os x - getting DAV working
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
Re: mac os x - getting DAV working
Posted by allan juul <la...@inet.uni2.dk>.
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