2026年7月3日 星期五
快讯 微信小程序缓存容量分析
RSS

安装Apache时./configure出现`/usr/local/src/httpd-2.2.21/srclib/apr`:的解决方法

configure:error: in `/usr/local/src/httpd-2.2.21/srclib/apr’:
configure:error: no acceptable C compiler found in $PATH
See `config.log’for more details.

执行./configure时,可能会遇到以上错误,这个主要是gcc包没有安装。对于这个问题,使用
# apt-get install gcc 就可以了。

注:CentOS的软件安装工具不是apt-get  是yum
# yum -y install gcc

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注