,

Compilation du module Python PySVN sous RedHat

Compilation

sudo yum groupinstall "Development Tools"
sudo yum install python2-devel subversion-devel
 
mkdir ~/compile
cd !$
 
export http_proxy=http://127.0.0.1:3128
export https_proxy=http://127.0.0.1:3128
wget https://downloads.sourceforge.net/project/pysvn/pysvn/V1.9.11/pysvn-1.9.11.tar.gz
tar xf pysvn-1.9.11.tar.gz
 
cd ~/compile/pysvn-1.9.11/Import/pycxx-7.1.3
#./build-all.sh
./build-unlimited-api.sh python2.7
#python setup.py install
 
cd ~/compile/pysvn-1.9.11/Source
ln -s ~/compile/pysvn-1.9.11/Import/pycxx-7.1.3/Src Src
#./build.sh
python2 setup.py configure --enable-debug --verbose --pycxx-dir=$HOME/compile/pysvn-1.9.11/Import/pycxx-7.1.3
make -j $(nproc)

Test

env PYTHONPATH=$PWD python2 <<< "import pysvn"

Installation

sudo cp -r ~/compile/pysvn-1.9.11/Source/pysvn /usr/lib64/python2.7/