epg@tigris.org writes:
> Author: epg
> Date: Wed Jan 21 09:39:34 2004
> New Revision: 8418
>
> Modified:
> trunk/packages/rpm/mandrake-9.0/Makefile
> trunk/packages/rpm/mandrake-9.1/Makefile
> trunk/packages/rpm/mandrake-9.2/Makefile
> Log:
> Commit Ben Reser's issue #1690 patch.
>
> General fixes for building against SWIG 1.3.20 and newer.
> Modified: trunk/packages/rpm/mandrake-9.0/Makefile
> ==============================================================================
> --- trunk/packages/rpm/mandrake-9.0/Makefile (original)
> +++ trunk/packages/rpm/mandrake-9.0/Makefile Wed Jan 21 09:39:34 2004
> @@ -105,7 +105,7 @@
>
> # Minimal versions
> # NEON_MIN := 0.23.0
> -# SWIG_MIN := 1.3.16
> +# SWIG_MIN := 1.3.19
> # APACHE_MIN := 2.0.43
> # DB4_MIN := 4.0.14
>
> @@ -188,7 +188,7 @@
> NEON_RPM := $(if $(NEON),$(NEON),libneon0)
> SWIG_RPM := $(if $(SWIG),$(SWIG),swig)
> SWIG_BUILD_RPM := $(if $(SWIG_BUILD),$(SWIG_BUILD),swig)
> -SWIG_MIN := $(if $(SWIG_MIN),$(SWIG_MIN),$(if $(GE_30),1.3.16,1.3.16))
> +SWIG_MIN := $(if $(SWIG_MIN),$(SWIG_MIN),$(if $(GE_30),1.3.21,1.3.19))
../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.
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?
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.
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.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 21 22:16:44 2004