[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 02:41:34 CEST

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:

/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:22:20: Python.h: No such
file or directory
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: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 Tuesday 28 March 2006 04:18, Jeremy Gillick wrote:
>
>> I installed subversion 1.3.0 with swig and everything works fine. Then
>> when I run 'make swig-py' I get the following output/errors below; what
>> am I doing wrong?
>>
>> subversion/bindings/swig/python/svn_client.c:22:20: Python.h: No such
>> file or directory
>>
>
> You don't have your Python development package installed, which is why the
> compiler can't find Python.h. You need to install it.
> C'ya,
> Marc
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 29 02:42:56 2006

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.