Compiling Python Bindings for Subversion 1.3.0
<1 min read
I'm using 1.3.27, yet ./configure kept on barfing. Apparently the script does some voodoo magic to parse the current version number. It's failing miserably.
Here is what I did to get it to compile:
which basically makes a backup copy of the configure script, then replaces the hard-coded version number.
cp -p configure configure.orig
sed -e 's/"103025"/"103027"/g' configure.orig > configure
From then on, the regular compilations steps worked:
Looks simple, but it took a while to figure it all out.
./configure --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache
echo /usr/local/lib/svn-python > /usr/lib/python2.2/site-packages/subversion.pth