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

Re: Can't install PYTHON bindings

From: Jeremy Gillick <svn_at_mozmonkey.com>
Date: 2006-03-29 21:29:03 CEST

Oh, sorry, I included the wrong error text. Both ./configure and 'make
swig-py' recognize Python now (at /usr/include/python2.3/Python.h). Now
I get the following output/errors:

/bin/sh /usr/src/subversion/subversion-1.3.0/libtool --tag=CC --silent
--mode=compile gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-I/usr/src/subversion/subversion-1.3.0/subversion/bindings/swig
-I/usr/src/subversion/subversion-1.3.0/subversion/bindings/swig/include
-I/usr/src/subversion/subversion-1.3.0/subversion/bindings/swig/proxy
-I/usr/src/subversion/subversion-1.3.0/subversion/bindings/swig/proxy
-I/usr/src/subversion/subversion-1.3.0/subversion/include
-I/usr/src/subversion/subversion-1.3.0/apr/include
-I/usr/src/subversion/subversion-1.3.0/apr-util/include
-I/usr/src/subversion/subversion-1.3.0/subversion/bindings/swig
-I/usr/src/subversion/subversion-1.3.0/subversion/bindings/swig/include
-I/usr/src/subversion/subversion-1.3.0/subversion/bindings/swig/proxy
-I/usr/src/subversion/subversion-1.3.0/subversion/bindings/swig/proxy
-I/usr/src/subversion/subversion-1.3.0/subversion/include
-I/usr/src/subversion/subversion-1.3.0/apr/include
-I/usr/src/subversion/subversion-1.3.0/apr-util/include
-I/usr/include/python2.3
-I/usr/src/subversion/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
subversion/bindings/swig/python/svn_client.c:108: error: syntax error
before "int"
subversion/bindings/swig/python/svn_client.c:123: error: syntax error
before "int"
subversion/bindings/swig/python/svn_client.c:142: error: syntax error
before "int"
subversion/bindings/swig/python/svn_client.c:183: error: syntax error
before "swig_cast_info"
subversion/bindings/swig/python/svn_client.c:189: error: syntax error
before "swig_cast_info"
subversion/bindings/swig/python/svn_client.c:197: error: syntax error
before "SWIGINLINE"
subversion/bindings/swig/python/svn_client.c:197: error: syntax error
before "void"
subversion/bindings/swig/python/svn_client.c:205: error: syntax error
before "swig_type_info"
subversion/bindings/swig/python/svn_client.c:219: error: syntax error
before "SWIGINLINE"
subversion/bindings/swig/python/svn_client.c:219: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:228: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:248: error: syntax error
before "void"
subversion/bindings/swig/python/svn_client.c:271: error: syntax error
before "swig_type_info"
subversion/bindings/swig/python/svn_client.c:316: error: syntax error
before "swig_type_info"
subversion/bindings/swig/python/svn_client.c:346: error: syntax error
before "char"
subversion/bindings/swig/python/svn_client.c:362: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:390: error: syntax error
before "char"
subversion/bindings/swig/python/svn_client.c:401: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c:414: error: syntax error
before "char"
subversion/bindings/swig/python/svn_client.c:429: error: syntax error
before "const"
subversion/bindings/swig/python/svn_client.c: In function
`SWIG_TypeRegister':
subversion/bindings/swig/python/svn_client.c:490: warning: return makes
pointer from integer without a cast

...

subversion/bindings/swig/python/svn_client.c:19385: warning:
initialization from incompatible pointer type
subversion/bindings/swig/python/svn_client.c:19385: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19385: warning: (near
initialization for `_swigt__p_svn_lock_t[0]')
subversion/bindings/swig/python/svn_client.c:19385: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19385: warning: (near
initialization for `_swigt__p_svn_lock_t[0]')
subversion/bindings/swig/python/svn_client.c:19385: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19385: warning: (near
initialization for `_swigt__p_svn_lock_t[1]')
subversion/bindings/swig/python/svn_client.c:19385: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19385: warning: (near
initialization for `_swigt__p_svn_lock_t[1]')
subversion/bindings/swig/python/svn_client.c:19385: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19385: warning: (near
initialization for `_swigt__p_svn_lock_t[2]')
subversion/bindings/swig/python/svn_client.c:19385: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19385: warning: (near
initialization for `_swigt__p_svn_lock_t[2]')
subversion/bindings/swig/python/svn_client.c:19386: warning:
initialization from incompatible pointer type
subversion/bindings/swig/python/svn_client.c:19386: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19386: warning: (near
initialization for `_swigt__p_svn_txdelta_window_t[0]')
subversion/bindings/swig/python/svn_client.c:19386: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19386: warning: (near
initialization for `_swigt__p_svn_txdelta_window_t[0]')
subversion/bindings/swig/python/svn_client.c:19386: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19386: warning: (near
initialization for `_swigt__p_svn_txdelta_window_t[1]')
subversion/bindings/swig/python/svn_client.c:19386: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19386: warning: (near
initialization for `_swigt__p_svn_txdelta_window_t[1]')
subversion/bindings/swig/python/svn_client.c:19386: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19386: warning: (near
initialization for `_swigt__p_svn_txdelta_window_t[2]')
subversion/bindings/swig/python/svn_client.c:19386: warning: excess
elements in struct initializer
subversion/bindings/swig/python/svn_client.c:19386: warning: (near
initialization for `_swigt__p_svn_txdelta_window_t[2]')
subversion/bindings/swig/python/svn_client.c: In function
`SWIG_Python_LookupTypePointer':
subversion/bindings/swig/python/svn_client.c:19783: warning: assignment
makes pointer from integer without a cast
make: *** [subversion/bindings/swig/python/svn_client.lo] Error 1

Marc Haisenko wrote:
> On Wednesday 29 March 2006 02:41, Jeremy Gillick wrote:
>
>> Thanks. I've installed the python-devel package on my Linux box. Now
>> when I try to run the same command I get these errors in my output:
>>
>>
>> subversion/bindings/swig/python/svn_client.c:22:20: Python.h: No such
>> file or directory
>>
>
> As you can see for yourself in the output you've provided the compiler still
> can't find the Python header files. Please check:
> - you really have a Python.h: "find /usr/include -name Python.h"
> - that your "./configure" really finds Python and its header files
>
> C'ya,
> Marc
>
>
Received on Thu Mar 30 00:02:29 2006

This is an archived mail posted to the Subversion Users mailing list.