Hello,
I am attempting to use the source code to build open sim on Mac OSX Sierra with Xcode 9.2 installed. I have been following the documentation for building using source code on mac, and I am on the final step, the install. I have managed to build the ALL_BUILD and the RUN_TESTS_PARALLEL schemes without error. However, when I attempt to build the INSTALL scheme, the build fails due to a permission error.
CMake Error at cmake_install.cmake:84 (file):
file INSTALL cannot make directory "/usr/local/./libexec/simbody":
Permission denied
make: *** [install_buildpart_0] Error 1
Within the listed directory, I have provided permissions for all possible users, but I am still unable to build INSTALL. Is anyone aware of a solution to this problem?
Thank you
Permissions error while building from source code on Mac OSX
- Akhil Bheemreddy
- Posts: 14
- Joined: Wed Jul 26, 2017 9:41 am
- Christopher Dembia
- Posts: 506
- Joined: Fri Oct 12, 2012 4:09 pm
Re: Permissions error while building from source code on Mac OSX
I suggest you choose a different CMAKE_INSTALL_PREFIX in CMake. Currently, your CMAKE_INSTALL_PREFIX seems to be `/usr/local`. I typically use a directory in my user folder (/Users/chris), especially because I usually have multiple copies of Simbody floating around.