在OSX上安装任何软件包时出现自制错误

时间:2017-10-05 12:55:33

标签: ruby macos postgresql homebrew

当我尝试从自制软件安装任何软件包时,它会返回给我这个奇怪的错误。

$ brew install postgres

Error: No such file or directory @ rb_sysopen - /tmp/github_api_headers20171005-1039-1blysiu

$ 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: 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_build.h
  /usr/local/include/node/ares_rules.h
  /usr/local/include/node/ares_version.h
  /usr/local/include/node/nameser.h
  /usr/local/include/node/pthread-fixes.h
  /usr/local/include/node/v8-experimental.h
 Error: No such file or directory @ rb_file_s_stat - /tmp

0 个答案:

没有答案