Building pysvn Extension
Prerequisites
To build pysvn you will require:
Building on win32
These instructions assume you have Microsoft Visual C++ 6.0 to compile the code
and INNO 4.0.10 to create the installation kit.
Note: you must build with MSVC6 as python 2.3 was built with that version.
MSVC 2003.NET is not expected to work until there is a version of python
built with VC++ 2003.NET released (issues of C runtime compatibility).
- build subversion (tested with 1.0.0 to 1.0.6 and 1.1.0)
- fetch and expand the pysvn source code into extdir
- Expand pycxx_5_3_0.tar.gz into extdir\Import
- edit Builder\builder_custom_init.cmd to match the locations of the sources.
- cd Builder
- builder_custom_init.cmd
- nmake -f win32.mak build
To install the built kit
- Uninstall any previous kit (control panel's Add/Remove programs)
- nmake -f win32.mak install
Building on linux systems.
- build subversion (tested with 1.0.0 to 1.0.6 and 1.1.0)
- get the pysvn source code
- tar xzf pycxx_5_3_0.tar.gz into extdir/Import
- edit Builder/builder_custom_init.sh to match the locations of the sources.
- cd Builder
- . builder_custom_init.sh
- make -f linux.mak build
To install the built rpm
- Use rpm -e to remove any previous kit
- make -f linux.mak install