저는 작은 KDE 앱을 직접 테스트 해보기 시작했습니다. 저는 거의 극복 한 cmake를 사용하는 방법에 대해 약간의 문제가있었습니다. 현재 내 앱은 정상적으로 빌드됩니다 (예 : cmake & & 오류없이 실행). 아무것도 자신에게 분명한 것 같다으로'make install'후 KDE 앱이 설치되지 않습니다
[email protected]:~/projects/kquickformat/build> make install
[ 0%] Built target kquickformat_automoc
Scanning dependencies of target kquickformat
[ 50%] Building CXX object src/CMakeFiles/kquickformat.dir/kquickformat_automoc.o
Linking CXX executable kquickformat
[100%] Built target kquickformat
Linking CXX executable CMakeFiles/CMakeRelink.dir/kquickformat
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/bin/kquickformat
CMake Error at src/cmake_install.cmake:38 (FILE):
file INSTALL cannot copy file
"/home/kemra102/projects/kquickformat/build/src/CMakeFiles/CMakeRelink.dir/kquickformat"
to "/usr/local/bin/kquickformat".
Call Stack (most recent call first):
cmake_install.cmake:37 (INCLUDE)
make: *** [install] Error 1
어떤 아이디어 그러나 '설치하기'실행 다음과 같은 오류를 준다?
/usr/local/bin에 대한 쓰기 권한이 있습니까? – juanchopanza
간단한 사용 권한 문제처럼 보입니다 : "you"는/usr/local/bin에 쓸 수 없으므로 'sudo make install'을 실행하십시오. –