Snarled
I’m trying to make a Subversion repository available over HTTP from a Mac Mini. Put that way, simple enough.
All the instructions I found suggest not using the installed-by-default Apache, which is a 1.3 version. Instead, they recommend installing a 2.0 version and running it on a higher port. No problem.
SVN installed. No problem.
SVN modules for Apache installed. No problem.
The glue software, WebSVN, requires PHP. Problem. Once PHP is built, on attempting to restart Apache, I get an error suggesting that libapr-1.0.dylib is missing. (There are lots of good PHP packages for Mac OS X, but they’re all set up to install PHP on the default Apache, not the nonstandard Apache 2.0 I now have in addition.)
So I download APR and APR-Util, and build them. I attempt to rebuild Apache to use these updated libraries, and it won’t even complete the ./configure step. Apparently the new APR doesn’t create an apr-config file, which Apache is counting on to do its own build (that has to be at the path specified by --with-apr=.)
Maybe I need to go to Apache 2.2 to use APR, and thus PHP, and thus WebSVN? Or just pass on WebSVN and just use the module provided with SVN instead.