无法进行符号链接

无法进行符号链接

本文介绍了自制软件:无法进行符号链接,/usr/local/share/man/man7是不可写的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照安装指南在OSX上安装LightGBM.在安装cmake时,Homebrew会显示以下警告消息:

I'm installing LightGBM on OSX, following the installation guide. While installing cmake, Homebrew gives such warning message:

Warning: cmake-3.8.1 already installed, it's just not linked.

然后我尝试:

$brew link cmake

它给出:

Linking /usr/local/Cellar/cmake/3.8.1...
Error: Could not symlink share/man/man7/cmake-buildsystem.7
/usr/local/share/man/man7 is not writable.

推荐答案

Mark Setchell使用sudo chown -R $(whoami):admin /usr/local/share/man的主张是正确的.根据自制"问题排查页面:

The proposition of Mark Setchell to use sudo chown -R $(whoami):admin /usr/local/share/man is right. According to the Homebrew troubleshooting page:

但是Nano使用sudo的建议不是一个好方法.根据自制软件常见问题解答:

but the proposition of Nano to use sudo is not a good one. According to the Homebrew FAQ:

这篇关于自制软件:无法进行符号链接,/usr/local/share/man/man7是不可写的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 10:29