Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bjdev86 opened this issue Jan 12, 2023 · 7 comments
Open

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

bjdev86 opened this issue Jan 12, 2023 · 7 comments
Labels
user-support Issues asking for support by users,

Comments

@bjdev86
Copy link

bjdev86 commented Jan 12, 2023

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
Copy link
Author

bjdev86 commented Jan 13, 2023

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

@UriHerrera
Copy link
Member

UriHerrera commented Jan 13, 2023

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

@UriHerrera UriHerrera added the user-support Issues asking for support by users, label Jan 13, 2023
@UriHerrera UriHerrera changed the title Missing Maui Core Can't compile Maui Shell, "Couldnot find MauiCore" Jan 13, 2023
@UriHerrera UriHerrera changed the title Can't compile Maui Shell, "Couldnot find MauiCore" Can't compile Maui Shell, "Could not find MauiCore" Jan 13, 2023
@bjdev86
Copy link
Author

bjdev86 commented Jan 13, 2023

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: #38 (comment)

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

@bjdev86
Copy link
Author

bjdev86 commented Jan 14, 2023

Thank you @cniw. Your former post, #38 (comment), 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
Copy link
Member

@bjdev86 I have updated the instructions for Debian.

@bjdev86
Copy link
Author

bjdev86 commented Feb 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user-support Issues asking for support by users,
Projects
None yet
Development

No branches or pull requests

3 participants