Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMAKE_INSTALL_PREFIX not honored (install failure) #55

Open
hasufell opened this issue Jan 18, 2021 · 1 comment
Open

CMAKE_INSTALL_PREFIX not honored (install failure) #55

hasufell opened this issue Jan 18, 2021 · 1 comment

Comments

@hasufell
Copy link

cmake .. -DCMAKE_INSTALL_PREFIX=/home/hasufell/.local/ -DBUILD_KCM=on -DBUILD_PLASMOID=on
make -j
make install

Result:

[  1%] Generating ts...
[  1%] Built target tsfiles-5baa8c25129a54c60e9bf00052860100
[  2%] Generating mo...
[  2%] Built target pofiles-5baa8c25129a54c60e9bf00052860100
[  4%] actions for org.kde.fancontrol.gui.helper
[  5%] Built target org.kde.fancontrol.gui.helper.policy-customtarget
[  7%] Automatic MOC for target fancontrol_gui-helper
[  7%] Built target fancontrol_gui-helper_autogen
[ 11%] Built target fancontrol_gui-helper
[ 12%] Built target org.kde.fancontrol.gui-genericqml-metadata-json
[ 14%] Automatic MOC for target fancontrol_gui
[ 14%] Built target fancontrol_gui_autogen
[ 20%] Built target fancontrol_gui
[ 21%] Built target org.kde.fancontrol.kcm-kcms-metadata-json
[ 22%] Automatic MOC for target kcm_fancontrol
[ 24%] Built target kcm_fancontrol_autogen
[ 28%] Built target kcm_fancontrol
[ 30%] Built target org.kde.fancontrol.plasmoid-plasmoids-metadata-json
[ 31%] Automatic MOC for target fancontrol_qml_plugin
[ 31%] Built target fancontrol_qml_plugin_autogen
[ 51%] Built target fancontrol_qml_plugin
[ 52%] Automatic MOC for target fancontrol_test_lib
[ 52%] Built target fancontrol_test_lib_autogen
[ 77%] Built target fancontrol_test_lib
[ 78%] Automatic MOC for target loadertest
[ 78%] Built target loadertest_autogen
[ 82%] Built target loadertest
[ 84%] Automatic MOC for target pwmfantest
[ 84%] Built target pwmfantest_autogen
[ 88%] Built target pwmfantest
[ 90%] Automatic MOC for target fantest
[ 90%] Built target fantest_autogen
[ 94%] Built target fantest
[ 95%] Automatic MOC for target temptest
[ 95%] Built target temptest_autogen
[100%] Built target temptest
Install the project...
-- Install configuration: "Debug"
-- Installing: /home/hasufell/.local/share/icons/hicolor/scalable/apps/org.kde.fancontrol.gui.svg
-- Up-to-date: /home/hasufell/.local/share/locale
-- Up-to-date: /home/hasufell/.local/share/locale/de
-- Up-to-date: /home/hasufell/.local/share/locale/de/LC_MESSAGES
-- Installing: /home/hasufell/.local/share/locale/de/LC_MESSAGES/kcm_fancontrol.mo
-- Up-to-date: /home/hasufell/.local/share/locale/hu
-- Up-to-date: /home/hasufell/.local/share/locale/hu/LC_MESSAGES
-- Installing: /home/hasufell/.local/share/locale/hu/LC_MESSAGES/kcm_fancontrol.mo
-- Installing: /usr/libexec/kf5/kauth/fancontrol_gui-helper
CMake Error at helper/cmake_install.cmake:60 (file):
  file INSTALL cannot copy file
  "/home/hasufell/git/fancontrol-gui/build/bin/fancontrol_gui-helper" to
  "/usr/libexec/kf5/kauth/fancontrol_gui-helper": Permission denied.
Call Stack (most recent call first):
  cmake_install.cmake:68 (include)


make: *** [Makefile:127: install] Error 1
@Maldela
Copy link
Owner

Maldela commented Jan 20, 2021

The KAuth helper files need to be installed in their default directories under /usr. Nothing I can do about that.
I am developing a successor to fancontrol and fancontrol-gui, though, that won't need KAuth anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants