のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

mac opengrok

mbp01:~ m_fujii$ brew install tomcat
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Downloading https://homebrew.bintray.com/bottles/tomcat-8.0.26.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring tomcat-8.0.26.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/tomcat/8.0.26: 634 files, 14M
mbp01:~ m_fujii$ brew install ctags
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Downloading https://homebrew.bintray.com/bottles/ctags-5.8_1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring ctags-5.8_1.el_capitan.bottle.tar.gz
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
==> Caveats
Under some circumstances, emacs and ctags can conflict. By default,
emacs provides an executable `ctags` that would conflict with the
executable of the same name that ctags provides. To prevent this,
Homebrew removes the emacs `ctags` and its manpage before linking.

However, if you install emacs with the `--keep-ctags` option, then
the `ctags` emacs provides will not be removed. In that case, you
won't be able to install ctags successfully. It will build but not
link.
==> Summary
🍺  /usr/local/Cellar/ctags/5.8_1: 8 files, 360K

mbp01:~ m_fujii$ sudo chown -R $USER /usr/local/include
Password:
chown: /usr/local/include: No such file or directory
mbp01:~ m_fujii$ cd /usr
mbp01:usr m_fujii$ cd local
mbp01:local m_fujii$ ls -l
total 80

  • rw-r--r-- 1 m_fujii admin 3161 9 24 14:00 CODEOFCONDUCT.md
  • rw-r--r-- 1 m_fujii admin 1103 9 24 14:00 CONTRIBUTING.md

drwxr-xr-x 6 m_fujii admin 204 10 27 04:43 Cellar

  • rw-r--r-- 1 m_fujii admin 1241 9 24 14:00 LICENSE.txt

drwxr-xr-x 10 m_fujii admin 340 9 25 15:42 Library

  • rw-r--r-- 1 m_fujii admin 2134 9 24 14:00 README.md
  • rw-r--r-- 1 m_fujii admin 23801 9 24 14:00 SUPPORTERS.md

drwxr-xr-x 23 m_fujii admin 782 10 27 04:43 bin
drwxr-xr-x 3 m_fujii admin 102 9 25 15:43 etc
drwxr-xr-x 4 m_fujii admin 136 10 26 23:45 lib
drwxr-xr-x 5 m_fujii admin 170 10 27 04:42 opt
drwxr-xr-x 4 m_fujii admin 136 9 24 14:00 share
mbp01:local m_fujii$ cd ~
mbp01:~ m_fujii$ brew install ctags
Warning: ctags-5.8_1 already installed, it's just not linked
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
mbp01:~ m_fujii$