Hi,
make swip-py, make swig-pl, make swig-rb don't work on my installation.
I'm using the .tar.gz form the 1.3.0 version off of subversion.tigris.org.
The compiler complains about a syntaxe error on a incorrectly defined
Macro SWIGRUNTIME on svn_clint.c in subversion/bindings/swig/python/.
I'm using SWIG 1.3.28 or 1.3.24 and Python 2.4 on a Debian Sarge.
Automake 1.9.
Here is the message (much too long to show in its entirety) :
/bin/sh /home/chris/loginst/subversion-1.3.0/libtool --tag=CC --silent
--mode=compile gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-I/home/chris/loginst/subversion-1.3.0/subversion/bindings/swig
-I/home/chris/loginst/subversion-1.3.0/subversion/bindings/swig/include
-I/home/chris/loginst/subversion-1.3.0/subversion/bindings/swig/proxy
-I/home/chris/loginst/subversion-1.3.0/subversion/bindings/swig/proxy
-I/home/chris/loginst/subversion-1.3.0/subversion/include
-I/home/chris/loginst/subversion-1.3.0/apr/include
-I/home/chris/loginst/subversion-1.3.0/apr-util/include
-I/home/chris/loginst/subversion-1.3.0/subversion/bindings/swig
-I/home/chris/loginst/subversion-1.3.0/subversion/bindings/swig/include
-I/home/chris/loginst/subversion-1.3.0/subversion/bindings/swig/proxy
-I/home/chris/loginst/subversion-1.3.0/subversion/bindings/swig/proxy
-I/home/chris/loginst/subversion-1.3.0/subversion/include
-I/home/chris/loginst/subversion-1.3.0/apr/include
-I/home/chris/loginst/subversion-1.3.0/apr-util/include
-I/usr/include/python2.4
-I/home/chris/loginst/subversion-1.3.0/subversion/bindings/swig/python/libsvn_swig_py
-prefer-pic -c -o subversion/bindings/swig/python/svn_client.lo
subversion/bindings/swig/python/svn_client.c
In file included from /usr/include/python2.4/Python.h:8,
from subversion/bindings/swig/python/svn_client.c:22:
/usr/include/python2.4/pyconfig.h:841:1: warning: "_XOPEN_SOURCE" redefined
<command line>:8:1: warning: this is the location of the previous definition
subversion/bindings/swig/python/svn_client.c:111: error: syntax error
before "int"
subversion/bindings/swig/python/svn_client.c:126: error: syntax error
before "int"
subversion/bindings/swig/python/svn_client.c:145: error: syntax error
before "int"
subversion/bindings/swig/python/svn_client.c:186: error: syntax error
before "swig_cast_info"
subversion/bindings/swig/python/svn_client.c:192: error: syntax error
before "swig_cast_info"
subversion/bindings/swig/python/svn_client.c:200: error: syntax error
before "SWIGINLINE"
subversion/bindings/swig/python/svn_client.c:200: error: syntax error
before "void"
subversion/bindings/swig/python/svn_client.c:208: error: syntax error
before "swig_type_info"
subversion/bindings/swig/python/svn_client.c:222: error: syntax error
before "SWIGINLINE"
subversion/bindings/swig/python/svn_client.c:222: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:231: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:251: error: syntax error
before "void"
subversion/bindings/swig/python/svn_client.c:274: error: syntax error
before "swig_type_info"
subversion/bindings/swig/python/svn_client.c:319: error: syntax error
before "swig_type_info"
subversion/bindings/swig/python/svn_client.c:349: error: syntax error
before "char"
subversion/bindings/swig/python/svn_client.c:365: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:393: error: syntax error
before "char"
subversion/bindings/swig/python/svn_client.c:404: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:417: error: syntax error
before "char"
subversion/bindings/swig/python/svn_client.c:432: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c: In function
`SWIG_TypeRegister':
subversion/bindings/swig/python/svn_client.c:493: warning: implicit
declaration of function `SWIG_TypeRegisterTL'
subversion/bindings/swig/python/svn_client.c:493: warning: return makes
pointer from integer without a cast
subversion/bindings/swig/python/svn_client.c: In function `SWIG_TypeQuery':
subversion/bindings/swig/python/svn_client.c:499: warning: implicit
declaration of function `SWIG_TypeQueryTL'
subversion/bindings/swig/python/svn_client.c:499: warning: return makes
pointer from integer without a cast
subversion/bindings/swig/python/svn_client.c: At top level:
subversion/bindings/swig/python/svn_client.c:504: error: redefinition of
`SWIG_TypeClientData'
subversion/bindings/swig/python/svn_client.c:252: error:
`SWIG_TypeClientData' previously defined here
subversion/bindings/swig/python/svn_client.c:504: warning:
`SWIG_TypeClientData' was declared `extern' and later `static'
subversion/bindings/swig/python/svn_client.c: In function
`SWIG_TypeClientData':
subversion/bindings/swig/python/svn_client.c:505: warning: implicit
declaration of function `SWIG_TypeClientDataTL'
subversion/bindings/swig/python/svn_client.c: In function
`SWIG_PropagateClientData':
subversion/bindings/swig/python/svn_client.c:515: warning: implicit
declaration of function `SWIG_PropagateClientDataTL'
subversion/bindings/swig/python/svn_client.c: At top level:
subversion/bindings/swig/python/svn_client.c:850: error: syntax error
before "void"
subversion/bindings/swig/python/svn_client.c:856: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:862: error: syntax error
before "int"
subversion/bindings/swig/python/svn_client.c:1015: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:1024: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:1030: error: syntax error
before "int"
subversion/bindings/swig/python/svn_client.c:1090: error: syntax error
before "void"
subversion/bindings/swig/python/svn_client.c:19293: warning:
initialization from incompatible pointer type
subversion/bindings/swig/python/svn_client.c:19293: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19293: warning: (near
initialization for `_swigt__p_svn_io_dirent_t[0]')
subversion/bindings/swig/python/svn_client.c:19293: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19293: warning: (near
initialization for `_swigt__p_svn_io_dirent_t[0]')
subversion/bindings/swig/python/svn_client.c:19293: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19293: warning: (near
initialization for `_swigt__p_svn_io_dirent_t[1]')
subversion/bindings/swig/python/svn_client.c:19293: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19293: warning: (near
initialization for `_swigt__p_svn_io_dirent_t[1]')
subversion/bindings/swig/python/svn_client.c:19293: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19293: warning: (near
initialization for `_swigt__p_svn_io_dirent_t[2]')
subversion/bindings/swig/python/svn_client.c:19293: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19293: warning: (near
initialization for `_swigt__p_svn_io_dirent_t[2]')
...
subversion/bindings/swig/python/svn_client.c:19299: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19299: warning: (near
initialization for
`_swigt__p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void[2]')
subversion/bindings/swig/python/svn_client.c:19300: warning:
initialization from incompatible pointer type
subversion/bindings/swig/python/svn_client.c:19300: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19300: warning: (near
initialization for
`_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t[0]')
subversion/bindings/swig/python/svn_client.c:19300: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19300: warning: (near
initialization for
`_swigt__p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t[0]')
...
subversion/bindings/swig/python/svn_client.c:19302: warning: (near
initialization for `_swigt__size_t[1]')
subversion/bindings/swig/python/svn_client.c:19302: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19302: warning: (near
initialization for `_swigt__size_t[2]')
subversion/bindings/swig/python/svn_client.c:19302: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19302: warning: (near
initialization for `_swigt__size_t[2]')
subversion/bindings/swig/python/svn_client.c:19303: warning:
initialization from incompatible pointer type
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 10 10:16:23 2006