$ cmake -DCMAKE_INSTALL_PREFIX=/path/to/some/folder $ sudo make install/build$ make install I am getting this error CMake Error at cmake_install.cmake:44 (FILE): file INSTALL cannot copy file "/home/heena/build/ptedit_1" to "/usr/local/bin/ptedit_1". make: *** [install] Error 1