ubuntu编译安装httpd时报错?

Makefile:141: recipe for target 'include/private/apr_escape_test_char.h' failedmake[3]: * [include/private/apr_escape_test_char.h] Error 126make[3]: * Waiting for unfinished jobs....make[3]: Leaving directory '/opt/src/httpd-2.4.39/srclib/apr'/opt/sr...显示全部

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

收起
参与11

返回bryan的回答

bryanbryan软件架构设计师金融研发

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

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

银行 · 2019-07-18

回答者

bryan
bryan0514
软件架构设计师金融研发
擅长领域: 云计算容器容器云

bryan 最近回答过的问题

回答状态

  • 发布时间:2019-07-18
  • 关注会员:2 人
  • 回答浏览:1837
  • X社区推广