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

Re: svn commit: r8418 - in trunk/packages/rpm: mandrake-9.0 mandrake-9.1 mandrake-9.2

From: Ben Reser <ben_at_reser.org>
Date: 2004-01-22 01:10:12 CET

On Wed, Jan 21, 2004 at 08:51:03PM +0000, Philip Martin wrote:
> ../svn/configure: test: 10316u-20021212-0013: integer expression expected
> configure: WARNING: swig bindings version 1.3.19 or newer needed for swig support.
> That "integer expression expected" message looks like an error.

Humm. That's odd configure works fine here. Did you have SWIG
installed when you ran this?

> I used to build the Python bindings with swig 1.3.16, I have never use
> them much but they seemed to work. Now it appears that I need to
> upgrade. Was 1.3.16 broken?

Doesn't work with the perl bindings. So in that respect yes.

> I have installed SWIG 1.3.21 and it doesn't seem to work.
> When running swig I get this
> SWIG:1: Warning(120): -c command line option is deprecated. Use -noruntime instead.

You can ignore this. It's deprecated but still works. Someone would
need to make the Python bindings conditionaly use -noruntime for 1.3.20
and newer and -c for the older ones.

> and when linking I get
> cd subversion/bindings/swig/python && /bin/sh /home/pm/sw/subversion/obj/libtool --silent --mode=link gcc -shared -L/usr/local/swig-1.3.21/lib -rpath /usr/local/subversion/lib/svn-python/libsvn -avoid-version -module -o _client.la svn_client.lo -lswigpy ../../../../subversion/bindings/swig/libsvn_swig_py-1.la ../../../../subversion/libsvn_client/libsvn_client-1.la -lz
> /home/pm/sw/subversion/obj/subversion/bindings/swig/python
> /usr/bin/ld: cannot find -lswigpy
> collect2: ld returned 1 exit status
> make: *** [subversion/bindings/swig/python/_client.la] Error 1
> As far as I can see SWIG no longer provides libswigpy.so, the 1.3.20
> CHANGES say that swigrun.i is provided instead. Is the Subversion
> build responsible for converting that into libswigpy.so? Am I
> supposed to do it (some magic swig configuration option I missed)? The
> documentation in subversion/binding/INSTALL desn't answer my
> questions.

Nope it still provides libswigpy.so. You just probably were missing the
dependencies for Python support when you built 1.3.21.

Ben Reser <ben@reser.org>
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 22 01:10:41 2004

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.