2013-07-19 7 views
24

पर ग्राफिक्स मैगिक स्थापित करना मैं माउंटेन शेर पर ग्राफिक्स मैगिक स्थापित करने और समस्याओं का सामना करने की कोशिश कर रहा हूं। मैंने उन सभी चीजों की कोशिश की जिन्हें मैं ब्लॉग और अन्य स्टैक ओवरफ्लो प्रश्नों में खोज सकता था लेकिन कुछ भी काम नहीं किया। इसलिए मैंने प्रत्येक कमांड पर मिलने वाली त्रुटियों का पूरा ढेर रखा है। कृपया देखो और मेरी मदद करो।मैक ओएस एक्स 10.8

जब मैं

brew install graphicsmagick 

मैं चलाने इस

Warning: Could not link jpeg. 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 jpeg' 

और

Warning: Could not link libpng. 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 libpng' 

और आखिरी में मैं हो रही है

==> make install 
Warning: Could not link graphicsmagick. 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 graphicsmagick' 

Possible conflicting files are: 
==> Summary 
    /usr/local/Cellar/graphicsmagick/1.3.18: 283 files, 10M, built in 52 seconds 

अब अगर मैं brew link jpeg या brew link libpng करने की कोशिश मैं यह त्रुटि

Linking /usr/local/Cellar/jpeg/8d... Warning: Could not link jpeg. Unlinking... 

Error: Could not symlink file: /usr/local/Cellar/jpeg/8d/bin/wrjpgcom 
Target /usr/local/bin/wrjpgcom already exists. You may need to delete it. 
To force the link and overwrite all other conflicting files, do: 
    brew link --overwrite formula_name 

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

मिलता है मैं brew link --overwrite jpeg यह काम करने से अधिलेखित विधि का प्रयास करें। लेकिन 'brew link --overwrite libpng' मैं इस

Linking /usr/local/Cellar/libpng/1.5.14... Warning: Could not link libpng. Unlinking... 

Error: Permission denied - /usr/local/share/man/man5/png.5 

और उसके बाद जब मैं कोशिश brew link graphicsmagick मैं मिलता है:

Linking /usr/local/Cellar/graphicsmagick/1.3.18... Warning: Could not link graphicsmagick. Unlinking... 

Error: Could not symlink file: /usr/local/Cellar/graphicsmagick/1.3.18/share/man/man5/quantize.5 
/usr/local/share/man/man5 is not writable. You should change its permissions. 

कृपया मेरी मदद करो। अग्रिम में धन्यवाद।

+1

क्या 'काढ़ा doctor' आपको बता करता है हल? –

उत्तर

31

सब कुछ निकालने का प्रयास करें और फिर से शुरू:

brew uninstall imagemagick graphicsmagick libpng jpeg 
brew cleanup -s 
brew install graphicsmagick 

मुझे कुछ मुद्दों पर हाल ही में

+12

यदि आपको अभी भी अनुमति त्रुटियां मिलती हैं, तो 'सुडो चाउन -आर $ उपयोगकर्ता चलाएं: व्यवस्थापक/यूएसआर/स्थानीय' – joet3ch

+0

मैक पर ग्राफिक्स मैजिक स्थापित करने के सिंटैक्स के लिए धन्यवाद। क्या इस स्थापना में PHP के लिए एक्सटेंशन शामिल है? एक ऐप में पहुंचने की कोशिश कर, क्लास 'जीमैगिक' नहीं मिला। –

संबंधित मुद्दे