The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15628 ====================================================================== Reported By: Guy Harris Assigned To: ====================================================================== Project: CMake Issue ID: 15628 Category: CMake Reproducibility: N/A Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-06-23 17:52 EDT Last Modified: 2015-06-23 17:52 EDT ====================================================================== Summary: CMake needs to request root privileges in order to install command-line tools Description: 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.
Steps to Reproduce: 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. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-06-23 17:52 Guy Harris New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers