This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Unable to compile Kate

Tags: kate, troubleshooting, compile kate, troubleshooting, compile kate, troubleshooting, compile
(comma "," separated)
hbinariffin
Registered Member
Posts
1
Karma
0

Unable to compile Kate

Tue Feb 14, 2023 8:36 am
I followed the steps described here but I am getting the following error :(

Code: Select all
hbina@akarin ~/p/k/src> kdesrc-build --initial-setup
Can't locate ksb.pm in @INC (you may need to install the ksb module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl /home/hbina/kde/src/kdesrc-build/) at /home/hbina/kde/src/kdesrc-build/kdesrc-build line 85.
BEGIN failed--compilation aborted at /home/hbina/kde/src/kdesrc-build/kdesrc-build line 85.
hbina@akarin ~/p/k/src [2]> echo $PATH
/home/hbina/kde/src/kdesrc-build /home/hbina/kde/src/kdesrc-build /usr/local/go/bin /home/hbina/.cargo/bin /home/hbina/go/bin /home/hbina/git/kde/src/kdesrc-build /home/hbina/.wasmtime/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin /snap/bin
hbina@akarin ~/p/k/src> ls /home/hbina/kde/src/kdesrc-build
kdesrc-build  kdesrc-run
hbina@akarin ~/p/k/src> cat ~/.config/kdesrc-buildrc
global
    # use the latest KF5 and Qt5-based software.
    branch-group kf5-qt5

    # we want .kateproject files with ninja
    cmake-options -G "Kate - Ninja"

    # clangd tooling
    compile-commands-export yes
    compile-commands-linking yes

    # Install directory for KDE software
    kdedir ~/projects/kde/usr

    # Directory for downloaded source code
    source-dir ~/projects/kde/src

    # Directory to build KDE into before installing
    # relative to source-dir by default
    build-dir ~/projects/kde/build
end global

include ~/projects/kde/src/kdesrc-build/kf5-frameworks-build-include
include ~/projects/kde/src/kdesrc-build/kf5-applications-build-include
include ~/projects/kde/src/kdesrc-build/kf5-workspace-build-include
include ~/projects/kde/src/kdesrc-build/kf5-extragear-build-include


I am not sure sure what other information I should add here. I am using Ubuntu 22.04 if that is relevant.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]