在Linux服务器上构建apache

在Linux服务器上构建apache

我已经从以下位置下载了 PCREhttps://ftp.pcre.org/pub/pcre/pcre2-10.34.tar.gz并将其解压到 /usr/local/lib

当我跑步时

./configure --with-included-apr --with-pcre=/usr/local/lib/pcre2-10.34

我收到以下错误

配置:错误:在 /usr/local/lib/pcre2-10.34 处找不到 PCRE-config 脚本

答案1

yum install pcre-devel -y

修复了问题,开发(开发)包丢失。

相关内容