Reputation: 196
brew install cmake
Warning: cmake-3.5.2 already installed, it's just not linked
I am tring to install cmake but it shows above error. Any suggestion helpful a lot....
Upvotes: 1
Views: 3337
Reputation: 196
I run this command
brew link cmake
I got this error
Linking /usr/local/Cellar/cmake/3.5.2... Error: Could not symlink share/emacs/site-lisp/cmake /usr/local/share/emacs/site-lisp is not writable.
After that i will gave full permissions to this folder (By sudo chmod 777 /usr/local/share/emacs/site-lisp)
Again I run
brew link cmake
It's linked and every thing working fine.
Upvotes: 2
Reputation: 50129
run brew link cmake
if that doesn't help then run brew doctor
to figure out why it can't link it -- likely it is missing user rights to write to the folder.
Upvotes: 1