在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

修復了問題,開發(開發)包丟失。

相關內容