开发者

Is there a way to rebuild Python Subversion bindings on Linux?

I'm running Trac on a CentOS 5 host and it was running horribly slow. I tried installing Python 2.6 from the EPEL (plus mod_wsgi) and it is more responsive but I now get:

Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

at the top of each page. I know it is because the SWIG bindings for Python to talk to SVN aren't installed, but I can't find a way to rebuild them. The subversion package from CentOS includes bindings for Python 2.4, but EPEL doesn't rebuild subversion or package the bindings separately. I could install Subversion from source, but I'd rather stick with packages wherever possible. Also, if I do try to build from source then I get "An appropriate version of sqlite could not be found" and haven't been able to resolve it yet (even though I'm using an identical version number to the one that comes pre-packaged with CentOS).

Is there a way of either just rebuilding the SWIG bindings or installing a package that I'm not aware of to give me the Python 2.6 bindings for Subversion?

Thank开发者_JAVA百科s.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜