2014-09-03 8 views
0

AMPPS에 FANN 확장을 설치해야하므로 phpize 유틸리티를 사용해야합니다. phpize를 사용하려면 autoconf가 필요합니다. MacPort 및 Brew를 통해 autoconf를 설치하려고했지만 오류가 발생합니다.Autoconf Mac OS X Mavericks

$ sudo port install autoconf 

반환 오류

Error: Port autoconf not found

그리고

$ brew install autoconf 

반환 오류 나는 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 Target /usr/local/share/autoconf/Autom4te/C4che.pm already exists. You may want to remove it: rm /usr/local/share/autoconf/Autom4te/C4che.pm

To force the link and overwrite all conflicting files: brew link --overwrite autoconf

To list all files that would be deleted: brew link --overwrite --dry-run autoconf

Possible conflicting files are: /usr/local/share/autoconf/Autom4te/C4che.pm /usr/local/share/autoconf/Autom4te/ChannelDefs.pm /usr/local/share/autoconf/Autom4te/Channels.pm /usr/local/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/local/share/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/share/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

? 아니면 AMPPS에 FANN을 설치하는 다른 방법을 알고 있습니까?

+0

오류가 제시 한 내용을 시도해 보셨습니까? 'brew link - autoconf를 덮어 씀 ' –

+0

예, 다른 오류가 발생합니다.'/usr/local/Cellar/autoconf/2.69 ... 오류 : 공유/autoconf/Autom4te/C4che.pm'을 심볼릭 링크 할 수 없습니다. –

+0

'sudo '명령 앞에 ... –

답변

-1

오류 : 겁내지 않는 사람 sudo brew link brew는 sudo와 함께 사용할 수 있지만 brew 실행 파일은 루트가 소유 한 경우에만 사용할 수 있습니다. 그러나 이것은 권장되지 않으며 완전히 지원되지 않으므로 에서 발생하는 위험은 사용자 자신의 책임입니다.

+0

해결책을 찾았습니까? 나는 붙어있다 ... @ Андрей Сердюк – nclsvh