【问题标题】:make *** [install-recursive]: Error 1 fedoramake *** [安装递归]:错误 1 ​​fedora
【发布时间】:2017-05-02 20:32:40
【问题描述】:

我正在尝试使用 make install 命令安装 Apache。我以 root 身份运行该命令。这是我收到的错误消息。

libtool: link: cannot find the library `/home/nicole/httpd-2.4.25/srclib/apr-util/xml/expat/libexpat.la' or unhandled argument `/home/nicole/httpd-2.4.25/srclib/apr-util/xml/expat/libexpat.la'
Makefile:93: recipe for target 'libaprutil-1.la' failed
make[2]: *** [libaprutil-1.la] Error 1
make[2]: Leaving directory '/home/nicole/httpd-2.4.25/srclib/apr-util'
/home/nicole/httpd-2.4.25/build/rules.mk:75: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/nicole/httpd-2.4.25/srclib'
/home/nicole/httpd-2.4.25/build/rules.mk:75: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

我必须安装 apr 和 aprutil 才能使用命令 ./configure --enable-mods-shared=all --prefix=/usr/local/apache 配置 Apache。该命令成功了,“make clean”也成功了

请帮忙!

【问题讨论】:

  • 确保您是 root 或有权访问特定路径。

标签: linux apache makefile fedora


【解决方案1】:

所以我发现我做错了什么...... 输入我的命令 ./configure --enable-mods-shared=all --prefix=/usr/local/apache --with-pcre=/usr/local/pcre 并运行它后... 我忘了在运行“make install”之前执行“make clean”命令,然后是“make”命令

【讨论】:

    猜你喜欢
    • 2014-11-26
    • 1970-01-01
    • 1970-01-01
    • 2013-02-23
    • 2017-10-24
    • 1970-01-01
    • 1970-01-01
    • 2016-04-07
    • 2015-08-06
    相关资源
    最近更新 更多