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

Problem building swig-py with subversion 1.2.0

From: Arthur Chereau <achereau_at_droit-crypto.org>
Date: 2005-06-27 21:42:21 CEST

Hi,

I'm trying to setup viewcvs to work with subversion 1.2.0 on Linux with
Python 2.4.1. The last viewcvs (from CVS) needs subversion python
bindings to support subversion. I have installed swig and build
subversion from source with it. Subversion compiles cleanly and works.

But when I try "make swig-py" I get the following error:

# make swig-py
/bin/sh /usr/src/subversion-1.2.0/libtool --tag=CC --silent
--mode=compile gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DSWIGPYTHON -g -O2 -g -O2
-pthread -DNEON_ZLIB -DNEON_SSL
-I/usr/src/subversion-1.2.0/subversion/bindings/swig
-I/usr/src/subversion-1.2.0/subversion/include
-I/usr/swig/share/swig/1.3.25 -DSVN_SWIG_VERSION=103025
-DSWIG_TABLE_TYPE=subversion -I/usr/src/subversion-1.2.0/apr/include
-I/usr/src/subversion-1.2.0/apr-util/include
-I/usr/Python/include/python2.4
-I/usr/src/subversion-1.2.0/subversion/bindings/swig/python/libsvn_swig_py -I./subversion/include -I./subversion -I/usr/src/subversion-1.2.0/neon/src -I/usr/subversion/include/neon -I/usr/src/subversion-1.2.0/apr/include -I/usr/src/subversion-1.2.0/apr-util/include -o subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.lo -c /usr/src/subversion-1.2.0/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c

In file included from /usr/Python/include/python2.4/Python.h:8,
                 from
/usr/src/subversion-1.2.0/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:20:
/usr/Python/include/python2.4/pyconfig.h:844: warning: `_XOPEN_SOURCE'
redefined
*Initialization*:1: warning: this is the location of the previous
definition
In file included from
/usr/src/subversion-1.2.0/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:44:
/usr/swig/share/swig/1.3.25/runtime.swg:28: macro `SWIG_GetModule' used
without args
/usr/swig/share/swig/1.3.25/runtime.swg:34: macro `SWIG_GetModule' used
without args
make: ***
[subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.lo] Error 1

Is there something I'm doing wrong ?

Thanks,

AC

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 27 21:45:11 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.