Re: Failed to compile kate on Ubuntu 20.04.3 LTS.

Hongyi Zhao <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <CAGP6PO+EHSaff8KjKCw6jHjOVFi286-=rBc9vCf3005PW+_ZMQ@mail.gmail.com>
On Mon, May 2, 2022 at 12:44 AM Christoph Cullmann (cullmann.io)
<[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.