Ubuntu安装SublimeClang插件
24 Oct 2012
$ curl -kL http://xrl.us/pythonbrewinstall | bash
$ source "$HOME/.pythonbrew/etc/bashrc"
$ pythonbrew install --configure="--enable-unicode=ucs4" 2.6
# 这一步会安装错误,修改$HOME/.pythonbrew/dists/Python-2.6.tgz压缩包中的Makefile.pre.in文件,搜索[-DSVNVERSION=\"`LC_ALL=C svnversion .`\"]改成[-DSVNVERSION="\"`LC_ALL=C svnversion .`\""]后重新执行pythonbrew install --configure="--enable-unicode=ucs4" 2.6安装.
$ ln -s $HOME/.pythonbrew/pythons/Python-2.6/lib/python2.6/ <your Sublime Text 2 folder>/lib/python2.6
$ sudo apt-get install clang
$ cd $HOME/.config/sublime-text-2/Packages/SublimeClang/src
$ mkdir build && cd build
$ cmake ..
$ make