Subversion (SVN) Issues and Problems on mod_dav_svn in FreeBSD

mod_dav_svn is an Apache server module for Subversion server. The mod_dav_svn package allows access to a Subversion repository using HTTP, via the Apache httpd server. The following applicable to svn version 1.2.3_1.

Install subversion by using FreeBSD’s port doesn’t compile and install mod_dav_svn.so

Try using “make -DWITH_MOD_DAV_SVN install” instead of “make WITH_MOD_DAV_SVN=yes install”.

When installing subversion, the following error appears:

-e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n dav libexec/apache2/mod_dav.so
-e: not found

There is problems with ${APXS} variable used in Makefile. Just add the following to the subversion Makefile, before any ${APXS} declaration:

APXS= apxs

Alternatively, you can change ${APXS} in the Makefile to actual full path of the apxs. Or you can run “setenv APXS apxs” before start the subversion installation.

When compiling subversion, the following error appears:

Error: shared library “apr-1.0″ does not exist

This problem is because devel/subversion looks for wrong LIB_DEPENDS. Change the following lines:

.if !defined(WITHOUT_BDB)
-LIB_DEPENDS+= apr-1.0:${PORTSDIR}/devel/apr-svn
+LIB_DEPENDS+= apr-1.2:${PORTSDIR}/devel/apr-svn
APR_PORT= devel/apr-svn
OPT_NAME= APR_UTIL_WITH_BERKELEY_DB=yes
.else
-LIB_DEPENDS+= apr-1.0:${PORTSDIR}/devel/apr
+LIB_DEPENDS+= apr-1.2:${PORTSDIR}/devel/apr
APR_PORT= devel/apr
.endif
.endif

(Note: – means the line to change (before change), and + means the new line suppose to be. Leave all other line intact.)


Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

freebsd mod_dav_svn - mod_dav_svn download - mod_dav_svn for FreeBSD - svn issues - freebsd where to get mod_dav_svn - FreeBSD mod_dav - uninstall subversion freebsd - download + mod_dav_svn.so + windows - e-ink svn subversion - freebsd mod_dav_svn install - subversion server windows 7 64bit - windows 7, 64bit, subversion not working - compile apache dav svn mod_dav_svn solaris - freebsd subversion server apache22 mod_dav_svn - direct download of mod_dav.so - freebsd svn - freebsd svn dav - subversion dav setup freebsd - freebsd 8.0 mod_dav_svn.so - issues with svn - "trend micro" subversion slow - freebsd mod_dav_svn.so download - mod_dav_svn - issues with AD and svn - mod dav svn download - svn iscsi problem - uninstall svn on server 2008 - apxs mod_dav - Major issues concerns with SVN - svn server freebsd 2.2 - download SVn for win7 - mod_dav_svn.so freebsd - Powerpath and SVN issues - svn apache freebsd -