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

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

Open bjdev86 opened 1 year ago

bjdev86 commented 1 year ago

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 commented 1 year ago

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

UriHerrera commented 1 year ago

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

bjdev86 commented 1 year ago

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?

cniw commented 1 year ago

Dependencies:

Optional:

bjdev86 commented 1 year ago

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?

UriHerrera commented 1 year ago

@bjdev86 I have updated the instructions for Debian.

bjdev86 commented 1 year ago

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