Failed to compile kate on Ubuntu 20.04.3 LTS.

Hongyi Zhao hongyi.zhao at gmail.com
Mon May 2 00:46:21 BST 2022


On Mon, May 2, 2022 at 12:44 AM Christoph Cullmann (cullmann.io)
<christoph at cullmann.io> wrote:
>
> On 2022-05-01 07:41, Hongyi Zhao wrote:
> > Hi Kate Team,
> >
> > On Ubuntu 20.04.3 LTS, based on the guidance here [1], I tried with
> > the exactly same steps to build kate, and failed at the following
> > step:
> >
> > $ kdesrc-build --initial-setup
> > Can't locate ksb.pm in @INC (you may need to install the ksb module)
> > (@INC contains: ../../projects/kde/src/kdesrc-build/ /etc/perl
> > /usr/local/lib/x86_64-linux-gnu/perl/5.30.0
> > /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30
> > /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30
> > /usr/share/perl/5.30 /usr/local/lib/site_perl
> > /usr/lib/x86_64-linux-gnu/perl-base) at
> > /home/werner/.local/bin/kdesrc-build line 80.
> >
> > Any hints for this problem will be highly appreciated.
> >
> > [1] https://kate-editor.org/build-it/
>
> Hi,
>
> I actually would assume this refers to the ksb stuff shipped with
> kdesrc-build.
>
> I somehow fail to see how that can be missing.
>
> You did just clone the kdesrc-build repo like in the howto and that did
> happen?

$ mkdir -p ~/projects/kde/src && cd $_
$ git clone https://invent.kde.org/sdk/kdesrc-build.git
$ ln -sfr kdesrc-build/kdesrc-build ~/.local/bin/

> Greetings
> Christoph

Regards
HZ


More information about the KWrite-Devel mailing list