Failed to compile kate on Ubuntu 20.04.3 LTS.
Hongyi Zhao
hongyi.zhao at gmail.com
Fri May 6 00:27:49 BST 2022
On Thu, May 5, 2022 at 11:58 PM Christoph Cullmann (cullmann.io)
<christoph at cullmann.io> wrote:
>
> On 2022-05-02 01:46, Hongyi Zhao wrote:
> > 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/
>
> Hmm, perhaps the relative link does confuse it?
>
> Does it work if you execute the perl script in place, e.g. in the
>
> kdesrc-build
>
> folder?
Finally, I gave up further testing of this problem and used vscode
instead. I am sorry for such a decision :-(
> Greetings
> Christoph
Yours,
HZ
>
> >
> >> Greetings
> >> Christoph
> >
> > Regards
> > HZ
>
> --
> Ignorance is bliss...
> https://cullmann.io | https://kate-editor.org
More information about the KWrite-Devel
mailing list