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

Re: swig-py bindings...

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-03-28 16:13:33 CET

Hi

On Fri, Mar 28, 2003 at 09:43:00AM -0500, John Szakmeister wrote:
> I did more investigation yesterday, it appears that the .so's are not
> being generated. I didn't have enough time to track down the reason
> why though. I went home and tried to build them from the latest
> tarball (0.20.1) on my FreeBSD machine, and everything was okay. So
> I'm going to grab that for the RedHat 8.0 machine and give it a try
> again.
>
> I saw the RPMs and we've actually used those in the past to install
> subversion. But it doesn't appear to install the swig-py bindings.

Oh, that's strange.

I've never used the RPMs, but as far as I remember, David Summers did
work on getting the SWIG bindings into the RPMs.

The SPEC file in the Subversion source contains the following:

[...]
LDFLAGS="${LDFLAGS}" ./configure \
        --prefix=/usr \
        --with-swig \
        --with-python=/usr/bin/python2.2 \
        --with-apxs=%{apache_dir}/sbin/apxs \
        --with-apr=%{apache_dir}/bin/apr-config \
        --with-apr-util=%{apache_dir}/bin/apu-config

# Make everything shared.
make clean
make

# Build cvs2svn python bindings
make swig-py
[...]

# Install cvs2svn and supporting files
make install-swig-py DESTDIR=$RPM_BUILD_ROOT DISTUTIL_PARAM=--prefix=$RPM_BUILD_ROOT
[...]

So, I would expect the SWIG stuff to work from the RPMs.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 28 16:14:44 2003

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

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