MantisBT - CMake
View Issue Details
0015573CMakepublic2015-05-19 07:352015-11-02 09:15
Saro 
Brad King 
normalfeaturealways
closedfixed 
Apple (Macbook pro)OS X10.10.3
CMake 3.2.2 
CMake 3.3CMake 3.3 
0015573: Install links for command line fails always
Tried with CMake 3.2.2 and 3.1.3
Trying to Install command line fail and give error (in console):

mdworker[472]: code validation failed in the process of getting signing information: Error Domain=NSOSStatusErrorDomain Code=-67062 "The operation couldn’t be completed. (OSStatus error -67062.)
Always fail
At launch, CMake give warning:
CMake[466]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.3 instead of 10.10.3. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.

No tags attached.
Issue History
2015-05-19 07:35SaroNew Issue
2015-05-19 11:43Brad KingNote Added: 0038773
2015-05-19 11:43Brad KingAssigned To => Brad King
2015-05-19 11:43Brad KingStatusnew => resolved
2015-05-19 11:43Brad KingResolutionopen => fixed
2015-05-19 11:43Brad KingFixed in Version => CMake 3.3
2015-05-19 11:43Brad KingTarget Version => CMake 3.3
2015-05-21 09:02Brad KingNote Edited: 0038773bug_revision_view_page.php?bugnote_id=38773#r1783
2015-11-02 09:15Robert MaynardNote Added: 0039818
2015-11-02 09:15Robert MaynardStatusresolved => closed

Notes
(0038773)
Brad King   
2015-05-19 11:43   
(edited on: 2015-05-21 09:02)
The menu item for this works only when running as root or with sudo. Rather than trying to acquire admin rights when run as a normal user, it is much simpler to just tell the user to run a command with proper rights themselves. This was also discussed here:

 https://github.com/Kitware/CMake/pull/151 [^]

I've now implemented the change here:

 cmake-gui: Drop undocumented and unused --mac-install option
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=41477d5c [^]

 cmake-gui: Add --install option to add command-line tools on OS X
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=438ce4a0 [^]

 cmake-gui: Replace command-line install dialog with information box
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8ea2db26 [^]

 Help: Add notes for topic 'cmake-gui-osx-install-command-line'
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e462ef74 [^]

(0039818)
Robert Maynard   
2015-11-02 09:15   
Closing resolved issues that have not been updated in more than 4 months.