SVN Server

March 28th, 2004 by Hen

So, following the happiness of feeling in control of SVN Client installs, it’s time to tackle the server again. Last time I got it all done, except for the bloody LANG variable.

So, starting anew, I decide to install the latest berkley db library. I’m trusting that having an older version installed won’t be problematic. This all goes well enough, though the berkley setup is a little non-standard.

Next, install subversion! Link to Apache, pass the –with-ssl [and install openssl-devel] and we’re good. Erm. Nearly. Turns out I’m a minor-release too far behind on my APR. 0.94 instead of 0.95 onwards. Curses.

So, install Apache 2 latest. Which I have PHP 5 hooked into, so I’ll go ahead and install the latest PHP too [RC1]. Which needs libxml2 2.5.10 and not 2.5.3 as I have. At least the Eels are playing from the CD player to keep my spirits up.

Hunting libxml down can be a pain. I seem to recall having to do this before once. PHP don’t list the url [xmlsoft.org], and they don’t offer any http downloads, but the second ftp server appears to respond somewhat. Not all good though, the ./configure for libxml2-2.6.8 tells me my /lib/cpp fails sanity check. Erm. If I’d known the sanity of C++ was being debated I’d have stopped resting my feet on the server for warmth, cpp/GCC 3.3 btw.

So the first chickening out, –disable-libxml to stop it looking [happened to notice such a thing existed while googling]. This hits a problem with a failure to see the postgresql installation path, well I thought I’d try :) I am trying to get myself to use postgres and mysql in equal amounts. Quick switch to sudo’ing the configure as the postgres path is not readable by a normal user, but still a failure. Giving up on php->postgres. Second chickening. Time to make.

Apache build next. Goes smoothly on top of the old version. Until I try to start it. undefined symbol dav_xml_get_cdata. As it was already running, subversion make/install went smoothly. So apart from a fragged apache, so just a fragged apache. Now, I’m pretty clueless, but at least I can move the dead apache2 out of the way and repeat the make installs for apache, php and then subversion to see if it fixes things. Sadly it does sod all.

Seems that I might have to –enable-dav the http install. Odd. I thought that was default. Something to try. And it seems to work. At least Apache does. Next step…learn SVN and DAV. [when I get to that point in the red-bean book anyway].

Comments are closed.