maui-shell icon indicating copy to clipboard operation
maui-shell copied to clipboard

Can't compile Maui Shell, "Could not find MauiCore"

Open bjdev86 opened this issue 1 year ago • 7 comments

I got to near the end of the installation process for Mauishell (as described here: https://github.com/Nitrux/maui-shell/wiki/Build-Instructions-for-Debian).

When I went running

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"  ..

I got an error saying:

Could not find a package configuration file provided by "MauiCore" with any
  of the following names:

    MauiCoreConfig.cmake
    mauicore-config.cmake

See screenshot:

Screenshot from 2023-01-12 15-26-37

I did some searching and found a "MauiCore" repo, https://github.com/Nitrux/maui-core/tree/main/scripts.

Do I need to clone, build and install MauiCore first before finishing up with MauiShell? I did install MaulKit and MauiKitFileBrowsing before getting to MauiShell.

bjdev86 avatar Jan 12 '23 23:01 bjdev86

Sorry, I forgot to mention I'm running Debian Linux 11

bjdev86 avatar Jan 13 '23 07:01 bjdev86

@bjdev86 Yes, you also need to install Maui Core.

UriHerrera avatar Jan 13 '23 14:01 UriHerrera

Very good, thanks @UriHerrera. I'm assuming that I need to install it like the other dependencies for example,


git clone https://invent.kde.org/camiloh/mauiman.git
cd mauiman
cmake -B build \
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DCMAKE_INSTALL_LIBDIR=/usr/lib
cmake --build build
cmake --install build

Source: https://github.com/Nitrux/maui-shell/issues/38#issuecomment-1145869236

But just replace "mauiman" with mauicore, and obviously cloning from the Nitrux/mauicore repo?

bjdev86 avatar Jan 13 '23 18:01 bjdev86

Dependencies:

  • https://invent.kde.org/maui/mauiman
  • https://invent.kde.org/maui/mauikit
  • https://invent.kde.org/maui/mauikit-calendar
  • https://invent.kde.org/maui/mauikit-filebrowsing
  • https://github.com/Nitrux/cask-server
  • https://github.com/Nitrux/maui-core

Optional:

  • https://github.com/Nitrux/maui-settings

cniw avatar Jan 14 '23 00:01 cniw

Thank you @cniw. Your former post, https://github.com/Nitrux/maui-shell/issues/38#issuecomment-1145869236, regarding dependency installation was also helpful. Are my clone, build installation instructions correct regarding the dependencies you listed? Are there any special installation instructions regarding the dependencies listed?

bjdev86 avatar Jan 14 '23 07:01 bjdev86

@bjdev86 I have updated the instructions for Debian.

UriHerrera avatar Feb 03 '23 06:02 UriHerrera

Thanks @UriHerrera. I plan to check these out when I get a chance.

bjdev86 avatar Feb 04 '23 05:02 bjdev86