Originally Posted by
rapido
I'm not sure that you will HAVE to rebuild Apache2. Here is a snippet from the release notes on tigris.org.
I would simply try it. I'm guessing that out of the box with this install, Apache2 will not see the new library ( which is in /usr/local/lib ). This library was built with the Apache Portable Runtime as packaged by tigris.org. That would need to be made available to Apache2 to gain Subversion 1.4 benefit.
If all else fails you may WANT to rebuild, to upgrade all related components to 1.4. In which case, follow the longer version of the install guide, first reading the INSTALL file looking for anything Apache related. There is an entire section devoted in the INSTALL file related to Apache.
You don't have to rebuild apache2, but you will want to install apache2-threaded-dev and run the auto-apt configure line with --with-apxs2=/usr/lib/apxs2, --enable-dav, and --enable-so
Code:
sudo apt-get install apache2-threaded-dev
sudo auto-apt run ./configure --with-ssl --enable-dav --enable-so --with-berkeley-db=/usr --with-apxs2=/usr/bin/apxs2
I ran into some conflicts installing the subversion deb file, so I used
Code:
sudo dpkg -i --force-all subversion_1.4.2-1_i386.deb
also the new subversion install will add
the following lines to your /etc/apache2/httpd.conf
Code:
LoadModule dav_svn_module /usr/lib/apache2/modules/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib/apache2/modules/mod_authz_svn.so
If you installed libapache2-svn before, then these lines are redundant.
You will receive a couple of "module XYZ_mod is already loaded" warnings when you stop and start apache. They also appear in /etc/apache2/mods-enabled/dav_svn.load. It is safe to remove the entries in httpd.conf.
Bookmarks