Nitrux / maui-shell

Maui Shell is a convergent shell for desktops, tablets, and phones.
GNU Lesser General Public License v3.0
1.49k stars 50 forks source link

Could not find a package configuration file provided by "Phonon4Qt5" - Compiling maui-shell #30

Closed arindam-giri closed 2 years ago

arindam-giri commented 2 years ago

Describe the bug I was following your Ubuntu guide to compile the entire maui-shell. At the compile maui-shell CMAKE step I got the following error.

debugpoint@debugpoint-kde:~/mauikit/build/mauikit-filebrowsing/build/maui-shell/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_BSYMBOLICFUNCTIONS=OFF -DQUICK_COMPILER=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_PREFIX_PATH="/usr/lib/x86_64-linux-gnu/cmake/MauiKit;/usr/lib/x86_64-linux-gnu/cmake/MauiKitFileBrowsing"  ..
-- Found KF5: success (found suitable version "5.92.0", minimum required is "5.60") found components: I18n Config Service 
-- Found KF5: success (found version "5.92.0") found components: DocTools Runner Notifications NotifyConfig Su Wallet IdleTime Declarative I18n Crash GlobalAccel DBusAddons Wayland CoreAddons People ActivitiesStats Activities KIO Prison Package Archive IconThemes UnitConversion ItemModels Init TextEditor 
[cmakeoutput.log](https://github.com/Nitrux/maui-shell/files/8459606/cmakeoutput.log)

CMake Error at startcask/CMakeLists.txt:20 (find_package):
  Could not find a package configuration file provided by "Phonon4Qt5"
  (requested version 4.6.60) with any of the following names:

Phonon4Qt5Config.cmake
phonon4qt5-config.cmake

  Add the installation prefix of "Phonon4Qt5" to CMAKE_PREFIX_PATH or set
  "Phonon4Qt5_DIR" to a directory containing one of the above files.  If
  "Phonon4Qt5" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!
See also "/home/debugpoint/mauikit/build/mauikit-filebrowsing/build/maui-shell/build/CMakeFiles/CMakeOutput.log".

Then I checked the phonon4qt5 - its already installed.

debugpoint@debugpoint-kde:~/mauikit/build/mauikit-filebrowsing/build/maui-shell/build$ sudo apt install phonon4qt5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
phonon4qt5 is already the newest version (4:4.11.1-4+20.04+focal+release+build9).
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Expected behavior maui-shell should compile

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Any help on this?

cniw commented 2 years ago

Some distro split their package source into different packages like runtime, data, development, debugging, etc. In this case to building source code we need install the development package, in Debian based distro it has -dev suffix. sudo apt install libphonon4qt5-dev