如何修復(fù)自制權(quán)限?我已經(jīng)卸載并安裝了Homebrew 3次,因?yàn)樗坪跤肋h(yuǎn)不允許我安裝任何東西,因?yàn)樗诖蠖鄶?shù)安裝結(jié)束時(shí)拒絕我的權(quán)限。作為一個(gè)例子,我將發(fā)布我目前面臨的這個(gè)libjpeg下載場(chǎng)景。我嘗試安裝libjpeg并獲?。? brew install libjpeg==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.mountain_lion.bottle.1.tar.gzAlready downloaded: /Library/Caches/Homebrew/jpeg-8d.mountain_lion.bottle.1.tar.gz==> Pouring jpeg-8d.mountain_lion.bottle.1.tar.gzWarning: Could not link jpeg. Unlinking...Error: The brew link step did not complete successfullyThe formula built, but is not symlinked into /usr/localYou can try again using `brew link jpeg'Error: Permission denied - /usr/local/opt/jpeg'brew link jpeg'導(dǎo)致Error: Permission denied - /usr/local/opt/jpeg這是我的釀酒醫(yī)生所讀的內(nèi)容$ brew doctorWarning: "config" scripts exist outside your system or Homebrew directories../configure scripts often look for *-config scripts to determine ifsoftware packages are installed, and what additional flags to use whencompiling and linking.Having additional scripts in your path can confuse software installed viaHomebrew if the config script overrides a system or Homebrew providedscript of the same name. We found the following "config" scripts:/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config/Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-configWarning: You have unlinked kegs in your CellarLeaving kegs unlinked can lead to build-trouble and cause brews that depend onthose kegs to fail to run properly once built. Run brew link on these:jpeg這個(gè)許可問(wèn)題一直使得任何事情都無(wú)法使用brew,我真的很感激任何建議。
如何修復(fù)自制權(quán)限?
HUWWW
2019-08-28 16:35:55