【发布时间】: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