ognjano3
(Aleksa A Ognjanovic)
February 24, 2021, 1:04am
1
CMake Error: Cannot open file for write: /home/aleksa/cmake-3.17.3/Source/kwsys/CMakeFiles/cmsys_c.dir/depend.make.tmp
CMake Error: : System Error: Permission denied
make[2]: *** [Source/kwsys/CMakeFiles/cmsys_c.dir/build.make:207: Source/kwsys/CMakeFiles/cmsys_c.dir/depend] Error 2
make[1]: *** [CMakeFiles/Makefile2:1676: Source/kwsys/CMakeFiles/cmsys_c.dir/all] Error 2
make: *** [Makefile:183: all] Error 2
Any next steps would be greatly appreciated.
ben.boeckel
(Ben Boeckel (Kitware))
February 24, 2021, 9:35pm
2
Hmm. More information would be required. Are there any system logs about that file (e.g., SELinux). Other than that, a permission error at this step is quite odd.
ognjano3
(Aleksa A Ognjanovic)
February 25, 2021, 6:55pm
3
It worked when I put sudo in front of make, it asked for my password and I was able to complete the download process
ben.boeckel
(Ben Boeckel (Kitware))
February 25, 2021, 7:17pm
4
That is…very odd. What stopped you from writing to your own home directory like that?