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).

  1. build subversion (tested with 1.0.0 to 1.0.6 and 1.1.0)
  2. fetch and expand the pysvn source code into extdir
  3. Expand pycxx_5_3_0.tar.gz into extdir\Import
  4. edit Builder\builder_custom_init.cmd to match the locations of the sources.
  5. cd Builder
  6. builder_custom_init.cmd
  7. nmake -f win32.mak build

To install the built kit

  1. Uninstall any previous kit (control panel's Add/Remove programs)
  2. nmake -f win32.mak install

Building on linux systems.

  1. build subversion (tested with 1.0.0 to 1.0.6 and 1.1.0)
  2. get the pysvn source code
  3. tar xzf pycxx_5_3_0.tar.gz into extdir/Import
  4. edit Builder/builder_custom_init.sh to match the locations of the sources.
  5. cd Builder
  6. . builder_custom_init.sh
  7. make -f linux.mak build

To install the built rpm

  1. Use rpm -e to remove any previous kit
  2. make -f linux.mak install