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

building on osx

From: Jon Scott Stevens <jon_at_latchkey.com>
Date: 2005-02-05 21:38:28 CET

This is the script I used to build subversion with Apache 2.x
integration (with the python bindings) on OSX 10.3.x.

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
Received on Sat Feb 5 21:40:45 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.