In a freshly made occ-build directory
CMake Error at CMakeLists.txt:871 (file):
file failed to open for writing (Permission denied):
-- Info: (13:41:20) OCCT toolkits processed
-- Info: (13:41:20) OCCT configuration files prepared
-- Configuring incomplete, errors occurred!
I feel pretty much normal that writing a file in /usr/local/bin/ fails when a script is run as an unprivileged user because it should be written only at the make install step (with root rights). How should I fix this problem to be able to compile OCC as a normal user and have /usr/local/ as prefix ?