OSX Sublime text 3 install Ctags

Posted by 竹林品雨 on August 16, 2014

###OSX Sublime text 3 install Ctags

brew install ctags

When you get Error like following:

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/readtags.h
/usr/local/include is not writable.

You can try again using:
brew link ctags

You Can use following solution:

sudo chown -R $(whoami) /usr/local/include

Other Error like this:

➜  ~  brew link ctags
Linking /usr/local/Cellar/ctags/5.8...
Error: Could not symlink lib/readtags.o
/usr/local/lib is not writable.

You Can use following solution:

sudo chown -R $(whoami) /usr/local/lib

###After use this doc to install ctags to sublime text 3

REF::http://jingyan.baidu.com/article/48206aeafba820216ad6b3f5.html