ubuntu编译安装httpd时报错?

Makefile:141: recipe for target 'include/private/apr_escape_test_char.h' failed
make[3]: [include/private/apr_escape_test_char.h] Error 126
make[3]:
Waiting for unfinished jobs....
make[3]: Leaving directory '/opt/src/httpd-2.4.39/srclib/apr'
/opt/src/httpd-2.4.39/srclib/apr/build/apr_rules.mk:118: recipe for target 'all-recursive' failed
make[2]: [all-recursive] Error 1
make[2]: Leaving directory '/opt/src/httpd-2.4.39/srclib/apr'
/opt/src/httpd-2.4.39/build/rules.mk:75: recipe for target 'all-recursive' failed
make[1]:
[all-recursive] Error 1
make[1]: Leaving directory '/opt/src/httpd-2.4.39/srclib'
/opt/src/httpd-2.4.39/build/rules.mk:75: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

1回答

bryanbryan  软件架构设计师 , 金融研发
wuwenpinyinxin赞同了此回答
缺少依赖包导致的,sudo apt-get install libnghttp2-devsudo apt-get install libxml2-dev 为什么不直接 apt install 安装呢?显示全部

缺少依赖包导致的,
sudo apt-get install libnghttp2-dev
sudo apt-get install libxml2-dev

为什么不直接 apt install 安装呢?

收起
 2019-07-18
浏览110
aixchina 邀答

提问者

lyx15731059252研发工程师, 天融信

问题状态

  • 发布时间:2019-07-17
  • 关注会员:2 人
  • 问题浏览:579
  • 最近回答:2019-07-18
  • 关于TWT  使用指南  社区专家合作  厂商入驻社区  企业招聘  投诉建议  版权与免责声明  联系我们
    © 2019  talkwithtrend — talk with trend,talk with technologist 京ICP备09031017号-30