遵循Laravel指南使用自制软件在MacOS 10.11 El Capitan上安装valet,在php安装@ nghttp2依赖期间失败
具体来说,php安装依赖于httpd,而httpd又依赖于nghttp2。
nghttp2安装失败,并显示(Brew无法安装nghttp2。)
Last 15 lines from /Users/<username>/Library/Logs/Homebrew/nghttp2/02.make: _LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT shrpx_client_handler.cc:1002:10: error: no viable conversion from returned value of type 'unique_ptr
Do not report this issue to Homebrew/brew or Homebrew/core!Homebrew确实警告说我的操作系统已过时且不受支持,然而,El Capitan是将安装在我的硬件上的最新操作系统。
我曾尝试使用brew安装旧版本的nghttp2,以为可以在El Cap上运行,但没有成功。
我不确定下一步该怎么做。
发布于 2020-06-28 07:22:19
安装之前
brew install gcc
brew install --cc=gcc-8 nghttp2https://stackoverflow.com/questions/62164813
复制相似问题