admin管理员组文章数量:1618689
Mac安装Apache http服务器,brew install httpd 时报错
报错信息如下:
==> Installing httpd dependency: nghttp2
==> Pouring nghttp2-1.44.0.big_sur.bottle.tar.gz
tar: Error opening archive: Failed to open '/Users/zhaopengkang/Library/Caches/Homebrew/downloads/727a7b871748b95a1fa9008831d439c4f999a5d065e3da3fe1e80b82d53c3e07--nghttp2-1.44.0.big_sur.bottle.tar.gz'
Error: Failure while executing; `tar --extract --no-same-owner --file /Users/zhaopengkang/Library/Caches/Homebrew/downloads/727a7b871748b95a1fa9008831d439c4f999a5d065e3da3fe1e80b82d53c3e07--nghttp2-1.44.0.big_sur.bottle.tar.gz --directory /private/tmp/d20211015-52303-1xq0k1l` exited with 1.
报错意思是:打开存档文件报错727a7b871748b95a1fa9008831d439c4f999a5d065e3da3fe1e80b82d53c3e07--nghttp2-1.44.0.big_sur.bottle.tar.gz,然后 运行tar命令又给你备份一下。
所有类似的这种情况,直接手动安装 brew install XXX,然后重新执行之前的命令就行。
我这报错运行brew install nghttp2,重新执行 brew install httpd,安装成功问题解决。
版权声明:本文标题:Mac系统brew install 安装报错 Error: Failure while executing 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1728785908a1173322.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论