Building `ktexteditor` locally

Christoph Cullmann christoph at
Mon Nov 2 08:36:59 GMT 2020

On 2020-11-02 00:16, Alex Turbov wrote:
> Hi devs,
> I'm trying to build `ktexteditor` repo locally and install it to the
> `~/.kde.devel` prefix. However, I'm getting error on `make install`:
> -- Installing:
> /usr/share/polkit-1/actions/org.kde.ktexteditor.katetextbuffer.policy
> CMake Error at src/cmake_install.cmake:143 (file):
>  file INSTALL cannot copy file
> "/home/exher/work/KDE/ktexteditor/master/build/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:77 (include)
> Obviously smth goes wrong and some files for some reason wanted to be
> installed system-wide. I guess it's a bug, cuz I told explicitly where
> I want to install it.
> How do you build it locally for development purposes?
> Thank you for your advice.


yes, at the moment there is the issue that this installs always to the 
system location.

There was some discussion to fix this,
I think at the moment you need to comment that out, if I don't miss 


Ignorance is bliss... |

More information about the KWrite-Devel mailing list