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

Re: Bug when building SWIG wrappers on (at least) OSX

From: Ben Reser <ben_at_reser.org>
Date: Wed, 18 Sep 2013 21:48:27 -0700

On Wed Sep 18 16:00:22 2013, Paul Wagland wrote:
> While trying to install subversion using home-brew on OSX, I came across a few build issues. The patches for these can be seen here: https://github.com/mxcl/homebrew/pull/22668/files#r6449557

This is a known issue with the auth system API. While that patch fixes
compilation on OS X it can't be applied because it breaks the Gnome
keyring support on OSes that support it via the perl bindings. It also
completely ignores the same issue that happens with the Ruby and Python
bindings.

The proper workaround for users that want to build bindings on OS X for
the time being is to:
make extraclean
./autogen.sh
./configure
make
...

This situation means that OS X users that want to build SWIG based
bindings need SWIG, libtool, and autoconf (i.e. the same additional
things you'd need if you built from a checkout rather than the tarball).

The problem here is that our API should not be conditional on
dependencies at build time and rather should simply have noop
implementations when the required dependencies were not available at
runtime. It's on my radar to fix.
Received on 2013-09-19 06:49:22 CEST

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.