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

Re: swig-py make problem under SuSE 9.3

From: David James <james82_at_gmail.com>
Date: 2005-09-03 16:54:39 CEST

On 8/29/05, Jeff Lanzarotta <delux256-subversion@yahoo.com> wrote:
> Subversion 1.2.3 made and installed successfully, but when I try and
> make swig-py with the 'make swig-py' command, I get the following
> error:
> /bin/sh /media/hdc1/subversion-1.2.3/libtool --tag=CC --silent
> --mode=compile -DLINUX=2
[snip]
> libtool: unrecognized option `-DLINUX=2'
> Try `libtool --help' for more information.
>
> Any idea why I'm getting this 'unrecognized option' error?
It looks like Subversion is having trouble finding the python compiler options.

Can you send me the output of the following commands (from inside the
Subversion 1.2.3 source directory)?
  which python
  which python2
  python -V
  python2 -V
  python build/get-py-info.py --compile
  python2 build/get-py-info.py --compile

> -DSVN_SWIG_VERSION=103021 -DSWIG_TABLE_TYPE=subversion
Looks like you're using SWIG 1.3.21. SWIG 1.3.21 has several nasty
bugs which cause segfaults in the SWIG bindings. Can you upgrade to
SWIG 1.3.25 or 1.3.24? (This won't fix your compile problem, but will
help prevent headaches later.)

Thanks!

David

-- 
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 3 16:56:17 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.