Mac OS X系统下
1 Download swig1.3.21.tar.gz from http://www.swig.org/
2 tar zxf swig1.3.21.tar.gz, cd SWIG1.3.21
3 ./configure --with-python=/path/to/correct/python/binary
4 make, make install
5 cd /path/to/subversion1.4.6,
./configure --without-berkeley-db --with-swig --enable-swig-bindings=python --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr
6 make, make install
7 make swig-py
8 make install-swig-py
9 echo /usr/local/lib/svn-python > /usr/lib/python2.x/site-packages/subversion.pth
1 Download swig1.3.21.tar.gz from http://www.swig.org/
2 tar zxf swig1.3.21.tar.gz, cd SWIG1.3.21
3 ./configure --with-python=/path/to/correct/python/binary
4 make, make install
5 cd /path/to/subversion1.4.6,
./configure --without-berkeley-db --with-swig --enable-swig-bindings=python --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr
6 make, make install
7 make swig-py
8 make install-swig-py
9 echo /usr/local/lib/svn-python > /usr/lib/python2.x/site-packages/subversion.pth