Jon Scott Stevens <jon@latchkey.com> writes:
> This is the script I used to build subversion with Apache 2.x
> integration (with the python bindings) on OSX 10.3.x.
Thanks!
I don't run Mac OS X myself, so pardon me if these are dumb questions:
is this patching over problems in our build system? Or is it an
improvement that could be incorporated into our build system? Or
should we just make this script available for people in certain
specific situations?
The subtext here is: I'm trying to figure out what's the right final
destination for this work you've done, so the most people will
benefit. What's your recommendation?
-Karl
> Notes:
>
> #1. If you install libintl via fink, then you need to define
> SWIG_LDFLAGS and also make sure to pass that to 'make swig-py'. It
> isn't enough to just export the variable. IMHO, this is a bug in the
> build process and needs to be fixed.
>
> #2. I'm not sure if one needs to pass the /usr/local/lib as I think
> the system does it for you, but I did it just in case.
>
> #3. Make sure that when you install SWIG 1.3.21 (do not try to install
> anything newer than that version or you will have problems) that you
> follow all of the steps for building it detailed in
> subversion/bindings/swig/README
>
> #!/bin/sh
>
> APP=subversion
> VER=1.1.3
> LDFLAGS="-L/sw/lib -L/usr/local/lib"
> export LDFLAGS
> SWIG_LDFLAGS=$LDFLAGS
> export SWIG_LDFLAGS
>
> if [ ! -e $APP-$VER ] ; then
> tar -xzf $APP-$VER.tar.gz
> fi
>
> cd $APP-$VER
> ./configure \
> --with-apxs=/usr/sbin/apxs \
> --with-zlib=/usr/local \
> --with-berkeley-db=/sw \
> --with-swig \
> --enable-swig-bindings=python
>
> make
> make install
> make swig-py SWIG_LDFLAGS=$LDFLAGS
> make install-swig-py
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 6 00:20:01 2005