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

Re: subversion swig-python

From: Jon Scott Stevens <jon_at_latchkey.com>
Date: 2005-02-04 18:53:31 CET

Ok, I just figured it out...

One also needs to define SWIG_LDFLAGS because they are not set off of
LDFLAGS. On a normal Linux system, this isn't a problem because -lintl
would be installed in a system library path, but on OSX, one can choose
to install it with fink so it goes into /sw/lib. That is probably why
this wasn't discovered before.

I see that as a bug in the build process as well as the documentation
(since nothing mentions SWIG_LDFLAGS).

In addition it seems that --disable-experimental-libtool doesn't do
squat.

This script will build Subversion 1.1.3 on OSX with the Python
bindings...enjoy my days of pain...

#!/bin/sh

APP=subversion
VER=1.1.3
LDFLAGS="-L/sw/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
make install-swig-py

jon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 4 18:55:44 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.