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

Error duing compilation in Fedora #41

Closed Macintosh98 closed 1 year ago

Macintosh98 commented 2 years ago

Describe the bug

mocs_compilation.cpp:(.text+0xfd1): undefined reference to `MauiMan::ScreenManager::staticMetaObject'
/usr/bin/ld: CMakeFiles/CaskLib.dir/code/controllers/mauimaninterface.cpp.o: in function `MauiManInterface::screen()':
mauimaninterface.cpp:(.text+0x5de): undefined reference to `MauiMan::ScreenManager::ScreenManager(QObject*)'
collect2: error: ld returned 1 exit status
make[2]: *** [plugins/casklib/src/CMakeFiles/CaskLib.dir/build.make:665: bin/libCaskLib.so] Error 1
make[2]: Leaving directory '/home/abhishekzambare/MAUI/maui-shell/build'
make[1]: *** [CMakeFiles/Makefile2:661: plugins/casklib/src/CMakeFiles/CaskLib.dir/all] Error 2
make[1]: Leaving directory '/home/abhishekzambare/MAUI/maui-shell/build'
make: *** [Makefile:149: all] Error 2

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;/usr/lib/x86_64-linux-gnu/cmake/CaskLib;/usr/lib/x86_64-linux-gnu/cmake/CaskServer" ..
UriHerrera commented 2 years ago

You need to compile maui-manager.

Macintosh98 commented 2 years ago

this right? https://github.com/Nitrux/maui-manager

but its readme file shows installation of mauiman from https://invent.kde.org/maui/mauiman

which i compiled alrady

Macintosh98 commented 1 year ago

can you update whaterver the changes are in build instructions? for fedora and for other distros as well https://github.com/Nitrux/maui-shell/wiki/Build-instructions-for-Fedora

UriHerrera commented 1 year ago

Maui Shell cannot be built in Fedora currently, as Fedora needs a package that provides the following file(s).

Qt5SystemInfoConfig.cmake
qt5systeminfo-config.cmake

This/These file(s) are necessary to build Maui Manager, which is necessary to build Maui Shell. As such, this is an issue with Fedora; please ask Fedora maintainers to add QtSystems to their repositories.