Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I get the mod_dav_svn.so for Mavericks version 10.9

I searched the internet. downloaded the subversion-1.6.18.tar.bz2.

But after I run ./configure, the error is

configure: error: failed to recognize APR_INT64_FMT on this platform.


I cannot make the mod_dav_svn.so file.

iMac (21.5-inch Mid 2010), OS X Mavericks (10.9)

Posted on Dec 11, 2013 9:03 PM

Reply
20 replies

Dec 17, 2013 1:23 PM in response to bookstorereader

I have never built those modules, so it is just 2nd hand knowledge for me.


But typically you can just run apxs tool to configure the source to some Apache module to build and link with your installed build of Apache. These modules are part of Subversion. I assume that the subversion build scripts use apxs to build them. Here is one example of how this is supposed to work. You just need to update that for the version of Subversion that is already on your machine.

Dec 18, 2013 8:49 PM in response to etresoft

Because subversion 1.7.10 has security bug that cannot download, I downloaded and build subversion 1.7.14 and build by command:

sudo ./configure --with-apxs=/usr/sbin/apxs

sudo make


Then I copy the mod_dav_svn.so to my current apache modules directory

sudo cp subversion/mod_dav_svn/.libs/mod_dav_svn.so /usr/libexec/apache2/

and run

apachectl -f /etc/apache2/httpd.conf -t

httpd: Syntax error on line 120 of /etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_dav_svn.so into server: dlopen(/usr/libexec/apache2/mod_dav_svn.so, 10): Library not loaded: /usr/local/bin/apache2/lib/libaprutil-1.0.dylib\n Referenced from: /usr/local/lib/libsvn_repos-1.0.dylib\n Reason: Incompatible library version: libsvn_repos-1.0.dylib requires version 6.0.0 or later, but libaprutil-1.0.dylib provides version 4.0.0


The line 120 of httpd.conf is

LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so


How to fix it?

Dec 19, 2013 7:47 PM in response to bookstorereader

After I checked the files in /usr/local/lib, I found all the libsvn* are built at the date when I built subversion 1.8.5.

I should make install the 1.7.14 to override them.

I redo the subversion 1.7.14 and everything is OK now 🙂


sudo tar xvf subversion-1.7.14.tar.bz2

cd subversion-1.7.14

sudo ./configure --prefix=/usr/local --enable-mod-activation --with-openssl --with-zlib --with-apxs=/usr/sbin/apxs

sudo make

sudo make install

apachectl -f /etc/apache2/httpd.conf -t

# the output is Syntax OK

sudo /usr/sbin/apachectl -k restart


Now I can checkout and commit from another computer by http.


Thank all for your help.

Dec 22, 2013 8:55 PM in response to bookstorereader

I'm still having problems with getting SVN working again over Apache after upgrading to Mavericks from Mountain Lion.


Following the steps that bookstorereader shows above, I get to the "./configure..." step, and only get as far as this message:


checking for Apache module support via DSO through APXS... configure: error: no - APXS refers to an old version of Apache

Unable to locate /usr/include/apache2/mod_dav.h


I've tried a simple "./configure" and "make" with no additional parameters, and other than some innocuous looking warnings, I seem to be able to "make", lots of "making" happens with no error messages, but then when I look for the *.so module files after make is done, I find no .so files, I find no .libs directories.


This is getting very frustrating. Why did Apple decide to take mod_dav_svn and mod_authz_svn away in the first place?

How can I get the mod_dav_svn.so for Mavericks version 10.9

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.