[cmake-developers] [CMake 0016064]: Missing /usr/local/bin causes --install script to fail.

Mantis Bug Tracker mantis at public.kitware.com
Thu Apr 14 12:45:17 EDT 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=16064 
====================================================================== 
Reported By:                Ho Cheung
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16064
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-04-14 12:45 EDT
Last Modified:              2016-04-14 12:45 EDT
====================================================================== 
Summary:                    Missing /usr/local/bin causes --install script to
fail.
Description: 
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.

Steps to Reproduce: 
Clean install OSX.
Copy CMake app to /Applications
sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-04-14 12:45 Ho Cheung      New Issue                                    
======================================================================



More information about the cmake-developers mailing list