MantisBT - CMake
View Issue Details
0015628CMakeCMakepublic2015-06-23 17:522016-01-04 11:51
Guy Harris 
 
normalminorN/A
closedfixed 
MacOS X10.11
CMake 3.2.3 
 
0015628: CMake needs to request root privileges in order to install command-line tools
Even if you try to install them in /usr/local/bin (which should be the case in *all* versions of OS X, and really needs to be the case in 10.11, as per the other issue I filed), you need root privileges to do so, and CMake doesn't do anything to install the symlinks as root.
1. Start CMake.

2. Select "Install For Command Line Use" from the "Tools" menu.

3. Fix it to install in /usr/local/bin rather than /usr/bin.

4. Click "Install Command Line Links".

5. Notice the lack of any prompt for your password, as would be required if it were requesting root privileges (and you hadn't done so in the last few minutes).

6. Notice the set of "Failed create symlink installation may be incomplete: /usr/local/bin/..." messages.
No tags attached.
related to 0015629closed  A way to install the command-line tool links from the command line would be useful 
related to 0015627closed Brad King CMake shouldn't default to installing command-line tools in /usr/bin 
Issue History
2015-06-23 17:52Guy HarrisNew Issue
2015-06-24 08:48Brad KingRelationship addedrelated to 0015629
2015-06-24 08:49Brad KingNote Added: 0038966
2015-06-24 08:49Brad KingStatusnew => resolved
2015-06-24 08:49Brad KingResolutionopen => fixed
2015-06-24 08:50Brad KingRelationship addedrelated to 0015627
2016-01-04 11:51Robert MaynardNote Added: 0040076
2016-01-04 11:51Robert MaynardStatusresolved => closed

Notes
(0038966)
Brad King   
2015-06-24 08:49   
See 0015629:0038965. CMake 3.3 has a command-line to be run and users can choose to use sudo or not as desired.
(0040076)
Robert Maynard   
2016-01-04 11:51   
Closing resolved issues that have not been updated in more than 4 months.