You need to install subversion from source and create the python bindings as well.
Installing SWIG cd /usr/local/src wget http://downloads.sourceforge.net/swig/swig-1.3.36.tar.gz?modtime=1214350580&big_mirror=0 tar xzvf swig-1.3.36.tar.gz cd swig-1.3.36 ./configure --with-python=/usr/local/bin/python2.6 --with-perl=/usr/bin/perl --without-ruby --without-php4 make make check make install Installing Subversion cd /usr/local/src wget http://subversion.tigris.org/downloads/subversion-1.4.2.tar.gz tar xzvf subversion-1.4.2.tar.gz cd subversion-1.4.2 # If you have any Subversion libraries lying around from previous 'make installs', clean them up first! # rm -f /usr/local/lib/libsvn* # rm -f /usr/local/lib/libapr* # rm -f /usr/local/lib/libexpat* # rm -r /usr/local/lib/svn-python/* sh ./autogen.sh ./configure --with-ssl --with-apxs=/usr/sbin/apxs --with-zlib=/usr/lib --with-swig=/usr/local/bin/swig PYTHON2=/usr/local/bin/python2.6 PERL=/usr/bin/perl --with-neon=/usr/local make make install make swig-py make install-swig-py make swig-pl make install-swig-pl echo /usr/local/lib/svn-python > /usr/local/lib/python2.6/site-packages/svn-python.pth unlink /usr/bin/svn unlink /usr/bin/svnadmin ln -s /usr/local/bin/svn /usr/bin/svn ln -s /usr/local/bin/svnadmin /usr/bin/svnadmin I've also installed Neon from source cd /usr/local/src wget http://www.webdav.org/neon/neon-0.25.5.tar.gz tar xzvf neon-0.25.5.tar.gz cd neon-0.25.5 ./configure --with-expat --with-lixml2 --with-ssl=openssl --enable-shared=yes make make install ________________________________ From: Simon Taylor <[email protected]> To: [email protected] Sent: Tuesday, May 11, 2010 6:31:33 AM Subject: [Trac] Subversion SWIG Python bindings Hello, I have installed (and enjoyed using) Trac once before, but I've hit a hitch setting up a new Trac instance on a Centos server. I'm following these notes: https://coderanger.net/~coderanger/tracdoc/install/ https://coderanger.net/~coderanger/tracdoc/install/mod_python.html The server is CentOS release 4.7 with subversion version 1.1.4 and I have built the following from source: Trac-0.11.7 Python 2.6.5 mod_python-3.3.1 httpd-2.2.15 About the only thing I have no control over on this server is the OS, I'm stuck with Centos 4.7 When I surf to my new trac environment, I get: Warning: Can't synchronize with the repository (Unsupported version control system "svn": "No module named svn" ). Look in the Trac log for more information. (I get the same error when I access Trac after starting it from the command line). So as I understand it, I have no Subversion SWIG Python bindings. I don't know much about Python so I'm hoping to get some pointers here. * Can I use easy_install to get the python bindings? * Do I have to build subversion from source? Cheers, Simon Taylor -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
