Bug 421022

Summary: Compile-install without sudo not possible
Product: [Frameworks and Libraries] frameworks-bluez-qt Reporter: Roman Gilg <subdiff>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alem99393
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roman Gilg 2020-05-04 19:51:19 UTC
Compiling and installing to some location in /opt without sudo is not possible because it tries to install files in system directory unconditionally:

CMake Error at cmake_install.cmake:79 (file):
  file INSTALL cannot copy file
  "/home/roman/dev/kde/bluez-qt/src/61-kde-bluetooth-rfkill.rules" to
  "/lib/udev/rules.d/61-kde-bluetooth-rfkill.rules".

It should only try to install in the prefix.
Comment 1 alem99393@gmail.com 2024-02-09 22:57:24 UTC
*** This bug has been marked as a duplicate of bug 418328 ***