473,394 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Problem building Python bindings for subversion

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. I installed swig and built subversion from source with it.
Everything works fine until I try to build the Python bindings.

When I try "make swig-py" I get the following, Python related, 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

Jul 19 '05 #1
1 2911
You will probably get more help with this on subversion mailing list.

-Chris

On 28 Jun 2005 12:59:24 -0700, Arthur Chereau <go****@connes.org> wrote:
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. I installed swig and built subversion from source with it.
Everything works fine until I try to build the Python bindings.

When I try "make swig-py" I get the following, Python related, 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

--
http://mail.python.org/mailman/listinfo/python-list

--
Christopher Lambacher
la******@computer.org
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Rene Olsthoorn | last post by:
Dear readers, py2exe has a problem including libxml2. Not at building time, but at runtime. The libxml2.dll cannot be loaded... Is there anyone that NOT has the problem? (and can you drop me...
9
by: John Smith | last post by:
I am going to be working with some people on a project that is going to be done over the internet. I am looking for a good method of keeping everyone's code up to date and have everyone be able to...
1
by: J. Jeffrey Close | last post by:
Hi all, I have been trying for some time to build Python 2.4.x from source on OS X 10.4.6. I've found *numerous* postings on various mailing lists and web pages documenting the apparently...
78
by: Josiah Manson | last post by:
I found that I was repeating the same couple of lines over and over in a function and decided to split those lines into a nested function after copying one too many minor changes all over. The only...
3
by: patkinson | last post by:
Hello, I am one of those guys trying with no chance to get a working copy of TRAC for python 2.5 http://trac.edgewall.org/ is a superb Project managment tool with a wiki, control version...
2
by: riklaunim | last post by:
There is pySVN for subversion but does other revision control system systems have some good python bindings/apis ? with good docs and some examples.
20
by: Thorsten Kampe | last post by:
Hi, I've already sent this to the Komodo mailing list (which seemed to me the more appropriate place) but unfortunately I got no response. I'd like to build a Python GUI app. Neither Tkinter...
3
by: Bev in TX | last post by:
I am a complete newbie at building Python. I am trying to build it under MS Windows Vista (64-bit AMD) with MS VS2005. I'm doing that because I need debug libraries, which I did not see in the...
3
by: Mike B | last post by:
I'm trying to get Subversion 'hook scripts' working on an Ubuntu box and the following fails. from svn import fs, repos, core, delta As far as I can tell there are two Python Subversion...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.