我需要将FANN扩展安装到 AMPPS,所以我需要使用 phpize util。为了使用 phpize,我需要 autoconf。我尝试通过 MacPort 和 Brew 安装 autoconf,但出现错误。
$ sudo port install autoconf
返回错误
错误:未找到端口自动配置
和
$ brew install autoconf
返回错误
Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink
share/autoconf/Autom4te/C4che.pm 目标 /usr/local/share/autoconf/Autom4te/C4che.pm 已经存在。您可能想要删除它: rm /usr/local/share/autoconf/Autom4te/C4che.pm
强制链接并覆盖所有冲突文件: brew link --overwrite autoconf
列出所有将被删除的文件: brew link --overwrite --dry-run autoconf
可能的冲突文件是: /usr/local/share/autoconf/Autom4te/C4che.pm /usr/local/share/autoconf/Autom4te/ChannelDefs.pm /usr/local/share/autoconf/Autom4te/Channels.pm /usr/本地/share/autoconf/Autom4te/Configure_ac.pm /usr/local/share/autoconf/Autom4te/FileUtils.pm /usr/local/share/autoconf/Autom4te/General.pm /usr/local/share/autoconf/Autom4te/ Getopt.pm /usr/local/share/autoconf/Autom4te/Request.pm /usr/local/share/autoconf/Autom4te/XFile.pm /usr/local/share/autoconf/INSTALL /usr/local/share/autoconf/ autoconf/autoconf.m4 /usr/local/share/autoconf/autoconf/autoconf.m4f /usr/local/share/autoconf/autoconf/autoheader.m4 /usr/local/share/autoconf/autoconf/autoscan.m4 /usr/本地/共享/autoconf/autoconf/autotest.m4 /usr/local/share/autoconf/autoconf/autoupdate.m4 /usr/local/share/autoconf/autoconf/c。m4 /usr/local/share/autoconf/autoconf/erlang.m4 /usr/local/share/autoconf/autoconf/fortran.m4 /usr/local/share/autoconf/autoconf/functions.m4 /usr/local/share/ autoconf/autoconf/general.m4 /usr/local/share/autoconf/autoconf/go.m4 /usr/local/share/autoconf/autoconf/headers.m4 /usr/local/share/autoconf/autoconf/lang.m4 / usr/local/share/autoconf/autoconf/libs.m4 /usr/local/share/autoconf/autoconf/oldnames.m4 /usr/local/share/autoconf/autoconf/programs.m4 /usr/local/share/autoconf/ autoconf/specific.m4 /usr/local/share/autoconf/autoconf/status.m4 /usr/local/share/autoconf/autoconf/types.m4 /usr/local/share/autoconf/autom4te.cfg /usr/local/共享/autoconf/autoscan/autoscan.list /usr/local/share/autoconf/autotest/autotest.m4 /usr/local/share/autoconf/autotest/autotest.m4f /usr/local/share/autoconf/autotest/general。m4 /usr/local/share/autoconf/autotest/specific.m4 /usr/local/share/autoconf/m4sugar/foreach.m4 /usr/local/share/autoconf/m4sugar/m4sh.m4 /usr/local/share/ autoconf/m4sugar/m4sh.m4f /usr/local/share/autoconf/m4sugar/m4sugar.m4 /usr/local/share/autoconf/m4sugar/m4sugar.m4f /usr/local/share/autoconf/m4sugar/version.m4 / usr/local/share/emacs/site-lisp/autoconf-mode.el /usr/local/share/emacs/site-lisp/autoconf-mode.elc /usr/local/share/emacs/site-lisp/autotest- mode.el /usr/local/share/emacs/site-lisp/autotest-mode.elc /usr/local/share/man/man1/autoconf.1 /usr/local/share/man/man1/autoheader.1 / usr/local/share/man/man1/autom4te.1 /usr/local/share/man/man1/autoreconf.1 /usr/local/share/man/man1/autoscan.1 /usr/local/share/man/ man1/autoupdate.1 /usr/local/share/man/man1/config.guess.1 /usr/local/share/man/man1/config。sub.1 /usr/local/share/man/man1/ifnames.1
我需要做什么来安装 autoconf?或者,也许您知道将 FANN 安装到 AMPPS 的其他方法?