MantisBT - CMake
View Issue Details
0016064CMakeCMakepublic2016-04-14 12:452016-06-10 14:21
Ho Cheung 
Brad King 
normalminoralways
closedfixed 
MacOSX10.11.4
CMake 3.5.1 
CMake 3.6CMake 3.6 
0016064: Missing /usr/local/bin causes --install script to fail.
On a clean install of OSX 10.11.4, I discovered the install script fails to create the symlinks:

Work-iMac:~ hocheung20$ sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install
Failed: '/usr/local/bin/cmake' -> '/Applications/CMake.app/Contents/bin/cmake': No such file or directory

This is because in a clean install of OSX, only /usr/local exists. When I mkdir /usr/local/bin, the script succeeds.
Clean install OSX.
Copy CMake app to /Applications
sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install
No tags attached.
Issue History
2016-04-14 12:45Ho CheungNew Issue
2016-04-15 13:36Brad KingNote Added: 0040868
2016-04-15 13:36Brad KingAssigned To => Brad King
2016-04-15 13:36Brad KingStatusnew => resolved
2016-04-15 13:36Brad KingResolutionopen => fixed
2016-04-15 13:36Brad KingFixed in Version => CMake 3.6
2016-04-15 13:36Brad KingTarget Version => CMake 3.6
2016-06-10 14:21Kitware RobotNote Added: 0041194
2016-06-10 14:21Kitware RobotStatusresolved => closed

Notes
(0040868)
Brad King   
2016-04-15 13:36   
Thanks. Fixed:

cmake-gui: Teach --install make destination directory
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=32d569af [^]
(0041194)
Kitware Robot   
2016-06-10 14:21   
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.