2013-05-07 10 views
8

मैं पहाड़ी शेर पर autoconf दृश्य homebrew स्थापित करने के लिए कोशिश कर रहा हूँ, मैं इस $ brew install autoconf किया था और मैंAutoconf होमब्री में लिंक नहीं है, इसे कैसे लिंक करें?

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

मिला जब मैं $ brew install autoconf की कोशिश की फिर से मुझे मिलता है:

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

मैं पहले कभी होमब्री का उपयोग नहीं किया है और टर्मिनल के साथ मुश्किल से कोई अनुभव नहीं है। कोई भी मेरी मदद करने और autoconf ठीक से स्थापित करने में सक्षम है?

चीयर्स

उत्तर

-3

की तरह यह त्रुटि संदेश में कहते हैं:

brew link --overwrite autoconf 
14

मैं एक ही समस्या से पहले था।

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

--dry रन के साथ चल रहा है::

brew link --overwrite --dry-run autoconf 

कि जानकारी दे: एक परिणाम के रूप

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

तो मैं अस्थायी रूप से दो फ़ोल्डर्स /usr/local/share/autoconf/ और /usr/local/share/emacs/ (Emacs फ़ोल्डर में ले जाया गया - सिर्फ मामले में) से यह डिफ़ॉल्ट जगह दूर है, और उसके बाद चलाएँ:

brew link --overwrite autoconf 

और यह काम करता है। हालांकि, यह करने का एक शानदार तरीका नहीं है, इससे पहले कि मैंने brew doctor, brew update और brew tap homebrew/dupes को आजमाया, इसे हल नहीं किया। ऐसा लगता है कि समस्या असफल brew install ऑपरेशन के बाद आई थी।

2

$sudo

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

या

$sudo brew link --overwrite autoconf 
साथ भागो
संबंधित मुद्दे