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.)

Share and contribute or get technical support and help at My Digital Life Forums.



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

mod_dav_svn - download mod_dav_svn.so - mod_dav_svn download - freebsd mod_dav_svn - mod_dav_svn freebsd - mod_dav_svn.so download - freebsd svn apache - mod_dav svn - svn issues - download mod_dav_svn - Installing mod_dav_svn - mod_dav_svn install - mod_dav_svn.so svn download - svn mod_dav_svn.so - svn mod_dav - freebsd subversion apache - mod_svn download - freebsd subversion apache2 - svn mod_dav_svn - Error: shared library "apr-1.2" does not exist - svn apache freebsd - how to install svn in freebsd - install subversion freebsd - install mod_dav_svn freebsd - mod_dav_svn.so not found - mod_dav.so download - mod_dav_svn.so freebsd - FreeBSD Subversion install - apache mod_dav_svn problems - mod_dav_svn.so windows download - freebsd mod_dav_svn download - freebsd mod_dav_svn source download - freebsd mod_dav_svn.so - freebsd subversion apr-svn - mod_dav_svn windows - "Error: shared library" "does not exist" subversion - mod_dav mod_dav_svn windows - apache2 mod_dav mysql errors - freebsd subversion installation error - freebsd svn install - phx svn - apr-1.2 not exist - problems mod_dav_svn - apache svn freebsd setup - freebsd update mod_dav_svn - freebsd subversion mod_dav_svn - apache "-e: not found"; - Difference+mod_dav+mod_dav_svn - freebsd mod_svn - svn apache freebsd -