Homebrew: Could not symlink, /usr/local/share/man/man7 is not writable

后端 未结 2 1713
Happy的楠姐
Happy的楠姐 2021-02-02 11:23

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

Warning: cmake-3.8.1         


        
2条回答
  •  心在旅途
    2021-02-02 12:10

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

    If commands fail with permissions errors, check the permissions of /usr/local’s subdirectories. If you’re unsure what to do, you can run cd /usr/local && sudo chown -R $(whoami) bin etc include lib sbin share var Frameworks

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

    Homebrew is designed to work without using sudo. You can decide to use it but we strongly recommend not to do so. If you have used sudo and run into a bug then this is likely to be the cause. Please don’t file a bug report unless you can reproduce it after reinstalling Homebrew from scratch without using sudo.

提交回复
热议问题