我正在尝试安装带有php56选项的httpd24,以便在MacOS塞拉利昂(10.12.2)中使用mod_php apache模块。
当我运行以下命令时:brew install php56 --with-httpd24 make在构建http24时失败。make日志的最后几行是:
Last 15 lines from /Users/Dash/Library/Logs/Homebrew/httpd24/03.make:
make[4]: Nothing to be done for `local-shared-build'.
Building shared: mod_heartbeat.la mod_heartmonitor.la
make[4]: Nothing to be done for `local-shared-build'.
Building shared: mod_dav.la
make[4]: Nothing to be done for `local-shared-build'.
Building shared: mod_status.la mod_autoindex.la mod_asis.la mod_info.la mod_suexec.la mod_cgi.la mod_cgid.la
make[4]: Nothing to be done for `local-shared-build'.
Building shared: mod_dav_fs.la
make[4]: Nothing to be done for `local-shared-build'.
Building shared: mod_dav_lock.la
make[4]: Nothing to be done for `local-shared-build'.
Building shared: mod_vhost_alias.la mod_negotiation.la mod_dir.la mod_actions.la mod_speling.la mod_userdir.la mod_alias.la mod_rewrite.la
make[4]: Nothing to be done for `local-shared-build'.
make: *** [install-recursive] Error 1发布于 2016-12-28 16:16:36
在我的设置中,结果是有一个符号链接:/usr/local/var/www,它在递归命令期间导致make崩溃。
rm /usr/local/var/www允许httpd24成功构建。请参阅:https://github.com/Homebrew/homebrew-apache/issues/143
https://stackoverflow.com/questions/41365855
复制相似问题