【发布时间】:2018-03-13 02:45:35
【问题描述】:
我一直在尝试在 macOS X 10.13 High Sierra 下安装 Phusion Passenger,但我通常使用的方法失败了,因为 Apache Development 标头似乎丢失了。我还尝试使用 Homebrew 来安装 Phusion Passenger,但在我看来,出于同样的原因它失败了。
我已经安装了 Xcode 9 和命令行开发工具(这通常是以前版本的 OS X 中解决此问题的方法),但现在还没有解决。是否有人对此问题有任何见解和/或对我如何解决此问题有任何建议?
【问题讨论】:
-
对我来说
brew upgrade passenger失败并出现错误消息/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/apache2/ap_hooks.h:39:10: fatal error: 'apr.h' file not found