4
Apache ./configure找不到pcre-config脚本
我正在尝试在Red Hat上安装Apache。这是我无法完全控制的系统(我的系统管理员为我提供了一个可以使用的目录)。因此,除了Apache 2.4.7,我还下载,配置和安装了APR,APR-Util和PCRE。 我为APR运行以下命令: ./configure --prefix=/u01/app/apache/apr/ make make install 收到警告要记得跑步 libtool --finish /usr/local/apr/lib 我将其更改为 libtool --finish /u01/app/apache/apr/lib/ 它说它在那个位置安装了图书馆 同样,对于APR-Util,运行: ./configure --prefix=/u01/app/apache/apr-util/ --with-apr=/u01/app/apache/apr/bin make make install 告诉我这些库已安装在/ u01 / app / apache / apr-util // lib中 接下来,PCRE: ./configure --prefix=/u01/app/apache/pcre/ --with-apr=/u01/app/apache/apr/bin --with-apr-util=/u01/app/apache/apr-util/bin make make install 到目前为止,没有问题。现在我尝试配置apache ./configure --prefix=/u01/app/apache/apache247/ --with-apr=/u01/app/apache/apr/bin --with-apr-util=/u01/app/apache/apr-util/bin --with-pcre=/u01/app/apache/pcre/bin 它找到APR和APR-Util,但是,当然,我收到错误“在/ …