Bug 421022 - Compile-install without sudo not possible
Summary: Compile-install without sudo not possible
Status: RESOLVED DUPLICATE of bug 418328
Alias: None
Product: frameworks-bluez-qt
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-04 19:51 UTC by Roman Gilg
Modified: 2024-02-09 22:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***