Permissions error while building from source code on Mac OSX
Posted: Sun Feb 04, 2018 11:14 pm
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
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