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

Re: trouble installing swig bindings

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-04-11 21:26:33 CEST

On Fri, Apr 11, 2003 at 04:50:26PM +0400, Alexander Sabourenkov wrote:
> Subversion 0.20.1, FreeBSD 4.6.2:
>
> When doing gmake install-swig-py, libtool complains:
>
> mv: rename _client.so to _client.soU: No such file or directory
> libtool: install: error: relink `_client.la' with the above command before
> installing it
>
> (full output is at http://lxnt.info/svn-swig-py/make-install-swig-py-log ).
>
> consequentally, no _*.so files get installed.

try:

$ rm subversion/bindings/swig/python/*.c
$ make install-swig-py # note that gmake shouldn't be necessary

It may be that the bindings did not get properly rebuilt at some point.
There are still some nigglies in the build system for the bindings.

> SWIG is 1.3.16 . At first I installed 1.3.19, but ./configure prints a
> warning that 1.3.16 is required and then gmake swig-py breaks not finding
> Python.h and libtool errors (like ' unrecognized option `-rpath'') if I
> define EXTRA_CFLAGS to point to its location.

The configure script was updated the other day to allow 1.3.19. That is in
the SVN trunk, and will appear in the 0.21 release.

Regarding Python.h -- make sure that you have the development stuff
installed for Python. (I'm not sure how it works on FreeBSD, but under
RedHat, I'd install the python-devel RPM).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 11 21:23:02 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.