When using kdesrc-build ktexteditor
, the package seems to build, but tells me it doesn’t install because its trying to write to something it doesn’t have access to.
CMake Error at src/cmake_install.cmake:142 (file):
file INSTALL cannot copy file
"/home/[USERNAME]/kde/build/ktexteditor/src/org.kde.ktexteditor.katetextbuffer.policy"
to "/usr/share/polkit-1/actions/org.kde.ktexteditor.katetextbuffer.policy":
Permission denied.
Call Stack (most recent call first):
cmake_install.cmake:51 (include)
How do I get around this (without needing to use sudo)? Also, how do I make other local KDE packages on my system to use local dependencies instead of system ones? Thank you.
I can’t reproduce, ktexteditor installs into ~/kde/usr
for me. Are you sure kdedir
is set in your kdesrc-builrc?
Depends on what you mean by “local”. Do you mean the ones built in kdesrc-build? They should find each other automatically.
When opening the config file, I come across this.
# Install directory for KDE software
kdedir ~/kde/usr
# Directory for downloaded source code
source-dir ~/kde/src
# Directory to build KDE into before installing
# relative to source-dir by default
build-dir ~/kde/build
I don’t think there shouldn’t be anything in here that would cause an install to /usr/
.
Edit:
I also noticed include-dependencies
is kept off since I am on a rolling release. Does this have to be on?