酿酒医生(自制)的问题

时间:2016-05-03 20:34:37

标签: homebrew

我正在尝试通过自制软件卸载/重新安装我的开发依赖项,brew医生给了我以下错误:

Robs-MacBook-Pro:~ robcate$ brew doctor
Please note that these warnings are just used to help the Homebrew     maintainers
with debugging if you file an issue. If everything you use Homebrew for     is
working fine: please don't worry and just ignore them. Thanks!

Warning: /usr/local/Cellar isn't writable.

You should probably change the ownership and permissions of     /usr/local/Cellar
back to your user account.
sudo chown -R $(whoami) /usr/local/Cellar

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
/usr/local/include/node/ares.h
/usr/local/include/node/ares_version.h
/usr/local/include/node/nameser.h
/usr/local/include/node/node.h
/usr/local/include/node/node_buffer.h
/usr/local/include/node/node_internals.h
/usr/local/include/node/node_object_wrap.h
/usr/local/include/node/node_version.h
/usr/local/include/node/openssl/opensslconf.h
/usr/local/include/node/uv-private/ngx-queue.h
/usr/local/include/node/uv-private/stdint-msvc2008.h
/usr/local/include/node/uv-private/tree.h
/usr/local/include/node/uv-private/uv-bsd.h
/usr/local/include/node/uv-private/uv-darwin.h
/usr/local/include/node/uv-private/uv-linux.h
/usr/local/include/node/uv-private/uv-sunos.h
/usr/local/include/node/uv-private/uv-unix.h
/usr/local/include/node/uv-private/uv-win.h
/usr/local/include/node/uv.h
/usr/local/include/node/v8-debug.h
/usr/local/include/node/v8-preparser.h
/usr/local/include/node/v8-profiler.h
/usr/local/include/node/v8-testing.h
/usr/local/include/node/v8.h
/usr/local/include/node/v8stdint.h
/usr/local/include/node/zconf.h
/usr/local/include/node/zlib.h
Robs-MacBook-Pro:~ robcate$ sudo chown -R $(robcate) /usr/local/Cellar
-bash: robcate: command not found
usage: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ...
   chown [-fhv] [-R [-H | -L | -P]] :group file ...

有人能指出我正确的方向来解决这些问题吗?

0 个答案:

没有答案