赞
踩
Mac下包管理工具:homebrew
安装使用常用命令:
https://blog.csdn.net/qq_35448985/article/details/123988782
安装开始的截图,接着跟着流程执行即可
nginx 依赖于 pcre、zlib、openssl
pcre
库zlib
库openssl
库,让 nginx 支持 https(即在ssl协议上传输http)缺少依赖会报错如下错误
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
brew install pcre
(base) C02ZT6HWLVDL:nginx-1.22.1 alsc$ brew install pcre
Running `brew update --auto-update`...
==> Homebrew has enabled anonymous aggregate formula and cask analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
No analytics have been recorded yet (nor will be during this `brew` run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Downloading https://mirrors.aliyun.com/homebrew/homebrew-bottles/pcre-8.45.big_sur.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pcre-8.45.big_sur.bottle.tar.gz
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/875891
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。