2013-05-07 22 views
8

Próbuję zainstalować autoconfa widok homebrew na górskim lwem, zrobiłem to $ brew install autoconf i mamAutoconf niepołączony w homebrew, jak go połączyć?

Warning: Could not link autoconf. Unlinking... Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local You can try again using brew link autoconf ==> Summary /usr/local/Cellar/autoconf/2.69: 69 files, 2.0M, built in 52 seconds server:~ europemart$ brew link autoconf Linking /usr/local/Cellar/autoconf/2.69... Warning: Could not link autoconf. Unlinking... Error: Could not symlink file: /usr/local/Cellar/autoconf/2.69/bin/ifnames Target /usr/local/bin/ifnames already exists. You may need to delete it. To force the link and delete this file, do: brew link --overwrite formula_name

Kiedy próbowałem $ brew install autoconf ponownie uzyskać:

Warning: autoconf-2.69 already installed, it's just not linked

I Nigdy nie używałam homebrew i nie miałeś prawie żadnego doświadczenia z terminalem. Czy ktoś może mi pomóc i automatycznie zainstalować autoconf?

Cheers

Odpowiedz

-3

Jak mówi w komunikacie o błędzie:

brew link --overwrite autoconf 
14

miałem ten sam problem przed. W rezultacie:

Error: Permission denied - /usr/local/share/emacs/site-lisp/autotest-mode.elc 

działa z --dry-run:

brew link --overwrite --dry-run autoconf 

dać informacje, że:

Would remove: 
    ... 
    /usr/local/share/emacs/site-lisp/autoconf-mode.el 
    ... 
    /usr/local/share/autoconf/m4sugar/version.m4 
    ... etc. 

Więc przeniosłem chwilowo dwóch folderów /usr/local/share/autoconf/ i /usr/local/share/emacs/ (folder emacs - na wszelki wypadek) z domyślnego miejsca pobytu, a następnie uruchom:

brew link --overwrite autoconf 

I działa. Chociaż nie jest to elegancki sposób na zrobienie tego, Zanim spróbowałem brew doctor, brew update i brew tap homebrew/dupes go nie rozwiąże. Wygląda na to, że problem pojawił się po nieudanej operacji brew install.

2

Run z $sudo

$sudo brew link --overwrite --dry-run autoconf 

LUB

$sudo brew link --overwrite autoconf 
Powiązane problemy