Re: Cannot build KernelShark on Ubuntu 22.04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Please try to build KernelShark following the instructions given in the README file in the git repository and let me know if you still run into issues.


On 4/30/24 16:41, David Aldrich wrote:

Working on WSL with Ubuntu 22.04 LTS, I am unable to build
KernelShark. I will try installing it as a package, but perhaps my
experience below will be useful for the project.

I cloned KernelShark:

git clone git://

I followed the instructions at:

which requires:

sudo apt-get install qtbase5-dev -y

When I attempt to build KernelShark with:

cmake ../

I see:

CMake Warning at CMakeLists.txt:76 (find_package):
   Could not find a configuration file for package "Qt6Widgets" that is
   compatible with requested version "6.3.0".

   The following configuration files were considered but not accepted:

version: 6.2.4
version: 6.2.4

-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required
is at least version "0.5.0")
-- Could NOT find Qt6StateMachine (missing: Qt6StateMachine_DIR)
CMake Error at CMakeLists.txt:77 (find_package):
   Found package configuration file:


   but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
   FOUND.  Reason given by package:

   Failed to find Qt component "StateMachine".

   Expected Config file at
   does NOT exist

This was despite installing:

apt install qt6-base-dev

[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux