我正在尝试安装CLHEP 2.3.4.4,但遇到了问题,在"make install"中出现了错误。
我该怎么办才能解决这个问题?
[ 99%] Built target exctest3
[ 99%] Built target exctestNothrow
[100%] Built target testzmex
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/local/bin/clhep-config
CMake Error at cmake_install.cmake:36 (file):
file INSTALL cannot copy file
"/home/ivan/CLHEP/2.3.4.4/CLHEP/2.3.4.4-build/clhep-config" to
"/usr/local/bin/clhep-config".
Makefile:105: recipe for target 'install' failed
make: *** [install] Error 1
我该怎么办才能解决这个问题?
sudo make install
? - stackunderflow