2013-05-07 7 views
8

Ich versuche autoconf Ansicht Homebrew auf Berglöwen, ich habe diese $ brew install autoconf und ich bekamAutoconf nicht in homebrew verbunden, wie man es verbindet?

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

Als ich versuchte, $ brew install autoconf wieder ich zu installieren:

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

I‘ Ich habe noch nie Homebrew benutzt und habe kaum Erfahrung mit Terminal. Kann mir jemand helfen und autoconf richtig installieren?

Prost

Antwort

-3

Wie sagt es in der Fehlermeldung:

brew link --overwrite autoconf 
14

hatte ich das gleiche Problem vor. Als Ergebnis:

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

Laufen mit --dry-run:

brew link --overwrite --dry-run autoconf 

geben Info, dass:

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

Also zog ich temporarly zwei Ordner /usr/local/share/autoconf/ und /usr/local/share/emacs/ (Emacs-Ordner - Nur für den Fall) von seinem Standardort entfernt, und dann ausführen:

brew link --overwrite autoconf 

Und es funktioniert. Obwohl, es ist keine elegante Art, es zu tun, Bevor ich versuchte brew doctor, brew update und brew tap homebrew/dupes es hat es nicht gelöst. Es scheint, dass das Problem nach erfolglosen brew install Operation kam.

2

Run mit $sudo

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

ODER

$sudo brew link --overwrite autoconf 
Verwandte Themen