Failed to compile kate on Ubuntu 20.04.3 LTS.
Christoph Cullmann (cullmann.io)
christoph at cullmann.io
Thu May 5 16:58:36 BST 2022
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?
Greetings
Christoph
>
>> Greetings
>> Christoph
>
> Regards
> HZ
--
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org
More information about the KWrite-Devel
mailing list