2012-08-09 19 views
5

स्थापित के साथ जोड़ने: ostaptan: ~ ostap $ काढ़ा ImageMagick --disable-OpenMP --from स्रोत स्थापितब्रियू ImageMagick

==> Downloading http://downloads.sf.net/project/machomebrew/mirror/ImageMagick-6.7.7-6.tar.bz2 
Already downloaded: /Library/Caches/Homebrew/imagemagick-6.7.7-6.tar.bz2 
==> Patching 
patching file configure 
Hunk #1 succeeded at 32371 (offset 447 lines). 
==> ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/local/Cellar/imagemagick/6.7.7-6 --enable-shared --disable-static 
==> make install 
Error: The linking step did not complete successfully 
The formula built, but is not symlinked into /usr/local 
You can try again using `brew link imagemagick' 
==> Summary 
/usr/local/Cellar/imagemagick/6.7.7-6: 1388 files, 32M, built in 61 seconds 

बुरा में जोड़ने स्थापित करने के बाद जोड़ने:

ostaptan: wand ostap $ brew link imagemagick

Linking /usr/local/Cellar/imagemagick/6.7.7-6... 

Error: Could not symlink file: /usr/local/Cellar/imagemagick/6.7.7-6/include/ImageMagick/wand/wand-view.h 

Target /usr/local/include/ImageMagick/wand/wand-view.h already exists. You may need to delete it. 

To force the link and delete this file, do: 
    brew link -f formula_name 

To list all files that would be deleted: 
    brew link -n formula_name 

लिंक कैसे करें ??? क्या करें?? कहीं भी जवाब नहीं मिल रहा है!

उत्तर

11

के रूप में काढ़ा लिंक उत्पादन में सुझाव दिया, कोशिश

brew link -f imagemagick 

यह /usr/local/include/ImageMagick/ में पुराने लिंक को साफ करना चाहिए, और उसके बाद स्थापना को पूरा करने के लिए आवश्यक फ़ाइलें जोड़ देते हैं।

यदि यह काम नहीं करता है तो जांच करें कि आपके उपयोगकर्ता को /usr/local/include/ImageMagick/* पर लिखने की अनुमति है।

1

घंटे और केवल बात यह है कि मेरे लिए काम किया की कोशिश कर के घंटे के बाद किया गया था:

sudo brew link --overwrite imagemagick 

(इसके अलावा /usr/local/bin/brew की आवश्यकता है chownedroot करने के लिए)

0

Homebrew अब अधिलेखित sudo आदेश का समर्थन नहीं करता।

sudo brew link --overwrite imagemagick 

त्रुटि: होमब्री रूट के रूप में चलाना बेहद खतरनाक है और अब समर्थित नहीं है। चूंकि होमब्री इंस्टॉलेशन पर विशेषाधिकार नहीं छोड़ता है, तो आप सभी स्क्रिप्ट को अपने सिस्टम तक पूर्ण पहुंच प्रदान करेंगे।