[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Notes about getting subversion r2927 to work on FreeBSD with httpd2 head

From: Justin Clift <justin_at_postgresql.org>
Date: 2002-09-02 00:37:00 CEST

Hi Garrett,

Me again. Just spent some time getting Subversion to build and work
with Apache2 on a new FreeBSD 4.6.2 system.

Tried using your port in the standard "make install" way, but it was
always either not working or generating things that were missing
symbols.

Here are some notes that we (the IRC channel guys and myself) worked out
which finally ended up making it all happy.

- The lack of libtool 1.4.x proves to be a near-killer. :-(

- Do have a system with libtool 1.4.x already on it, and you've
generated the dependencies with that, then tar+gzipped it up for us? It
makes sense considering the limitation of libtool 1.3.x

- The problem with your port is that the version of apr + apr-utils that
comes with it won't work with httpd2.0.40. Well.. they compile and
everything, but whenever you try and use either apachectl or svn it
spits out missing symbol errors

- The solution was to compile and install httpd-2.0 + apr + apr-utils
from head, then unpack the FreeBSD port version of subversion, then
delete the apr + apr-utils that were in that, then copy the httpd2.0
head version of them into it, then tar it up again with the same
filename, put it in /usr/ports/distfiles, then generate a new checksum

- Removed the "apr:${PORTSDIR}/devel/apr" line from the Makefile, as I
wanted it to definitely use the apr stuff that I'd copied into the
tarball from the httpd-2.0 compilation

- Added a "--with-apxs=/path/to/apache2/bin/apxs" to the Makefile, as I
wanted the mod_svn stuff created and automatically added to the
httpd.conf

- 'make' and 'make install' worked fine after this, both httpd-2.0 and
subversion work.

- Is there any way of your getting neon 23.x installed in this tree then
generating the dependencies? The only reason the subversion head
(r3111) couldn't be used is because it requires neon 23.x, but I
couldn't add that in to the tarball as it needs libtool 1.4.x to
generate.

Anyway, thought this might be useful. My next task is to get PHP 4.2.2
working with this setup, but I think that'll be a lot easier (am
wishing).

:-)

Regards and best wishes,

Justin Clift

-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
   - Indira Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 2 00:37:43 2002

This is an archived mail posted to the Subversion Dev mailing list.