setup Subversion server on CentOS/Apache friends
March 23, 2007 on 4:28 pm | In SVN, Linux Admin |I have no choice, the company I am working with is currently using CentOS4.4/Apache friends 1.6. But they need SVN.
The little trick is, the apache friends 1.6 could not be compiled with mod_dav_svn.so so that I could not pass the ./configure with –with-apxs=/opt/lampp/bin/apxs.
Finally, I gave up, compiled Subversion 1.4.3 without apxs. Everything worked fine but the HTTP method.
Then I looked into Apache friends 1.6, I found it comes with Apache 2.2.4.
So I used another machine to compile Apache 2.2.4 like this
#./configure –enable-dav –enable-so –enable-maintainer-mode
#make
#make install
compile Subversion 1.4.3 like this
#./configure –with-apxs=/usr/local/apache2/bin/apxs
# rm /usr/local/lib/libsvn*
# make clean && make && make install
Eventually, I got
mod_dav_svn.so and mod_authz_svn.so
I copied them to /opt/lampp/modules
In /opt/lampp/etc/httpd.conf added two lines like this
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
restart lampp, DONE !
Updated on March 28, 2007
Thanks Runge, here are the two files
mod_dav_svn.so
mod_authz.svn.so
4 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^
Hi,
could you upload these both files or mail tem to me?
thanks
Runge
Comment by runge — March 28, 2007 #
Hi Runge,
Thanks for your reminder, I have uploaded them and you can download them above.
Regards.
Comment by admin — March 28, 2007 #
Hi,
thank you for uploading the files but with yours i get the same error as if i compile them on a different debian system with apache 2.2.4 and the same subversion as u did
do u have any idea how i could go on?
httpd: Syntax error on line 124 of /opt/lampp/etc/httpd.conf: Cannot load /opt/l
ampp/modules/mod_dav_svn.so into server: /opt/lampp/lib/libaprutil-0.so.0: undef
ined symbol: gdbm_errno
Comment by runge — March 28, 2007 #
Yes, you right, you are using Debian whereas I compiled the files in CentOS (very similar with Fedora Core).
I think you’d better to compile another apache in your system, then copy them(mod_dav_svn.so and mod_authz_svn.so) into /opt/lampp/modules/ .
Hope this helps
Comment by admin — March 28, 2007 #