psifidotos / applet-window-appmenu

Plasma 5 applet in order to show the window appmenu
GNU General Public License v2.0
422 stars 33 forks source link

Error on installation : Could NOT find KF5 (missing: Wayland) #135

Closed adrianaryaputra closed 4 years ago

adrianaryaputra commented 4 years ago

All dependency installed, but got error:

install.sh: 1: [: -a: unexpected operator
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Found KF5Plasma: /usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaConfig.cmake (found version "5.68.0") 
-- Could NOT find KF5Wayland (missing: KF5Wayland_DIR)
-- Could NOT find KF5Wayland: found neither KF5WaylandConfig.cmake nor kf5wayland-config.cmake 
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.68.0") 
-- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.68.0") 
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find KF5 (missing: Wayland) (found suitable version "5.68.0",
  minimum required is "5.38.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
  CMakeLists.txt:19 (find_package)

i'm stuck and can't download the older KF5Wayland version.

psifidotos commented 4 years ago

You miss kwayland-dev package from kde frameworks

adrianaryaputra commented 4 years ago

got it... fixed by installing libkf5wayland-dev.

but got another error 😭 :

In file included from /home/ad/Downloads/applet-window-appmenu/plugin/appmenumodel.cpp:29:
/home/ad/Downloads/applet-window-appmenu/plugin/wm/waylandwindowmanager.h:36:10: fatal error: taskmanager/tasksmodel.h: No such file or directory
   36 | #include <taskmanager/tasksmodel.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/ad/Downloads/applet-window-appmenu/plugin/wm/waylandwindowmanager.cpp:20:
/home/ad/Downloads/applet-window-appmenu/plugin/wm/waylandwindowmanager.h:36:10: fatal error: taskmanager/tasksmodel.h: No such file or directory
   36 | #include <taskmanager/tasksmodel.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [plugin/CMakeFiles/appmenuplugin.dir/build.make:154: plugin/CMakeFiles/appmenuplugin.dir/wm/waylandwindowmanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [plugin/CMakeFiles/appmenuplugin.dir/build.make:76: plugin/CMakeFiles/appmenuplugin.dir/appmenumodel.cpp.o] Error 1
In file included from /home/ad/Downloads/applet-window-appmenu/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/moc_waylandwindowmanager.cpp:9,
                 from /home/ad/Downloads/applet-window-appmenu/build/plugin/appmenuplugin_autogen/mocs_compilation.cpp:7:
/home/ad/Downloads/applet-window-appmenu/plugin/wm/waylandwindowmanager.h:36:10: fatal error: taskmanager/tasksmodel.h: No such file or directory
   36 | #include <taskmanager/tasksmodel.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [plugin/CMakeFiles/appmenuplugin.dir/build.make:63: plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:607: plugin/CMakeFiles/appmenuplugin.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
[  3%] Built target org.kde.windowappmenu-plasmoids-metadata-json
[  6%] Automatic MOC for target plasma_applet_windowappmenu
[  9%] Built target plasma_applet_windowappmenu_autogen
[ 21%] Built target plasma_applet_windowappmenu
[ 24%] Automatic MOC for target dbusmenuqt
[ 24%] Built target dbusmenuqt_autogen
[ 54%] Built target dbusmenuqt
[ 57%] Automatic MOC for target appmenuplugin
[ 57%] Built target appmenuplugin_autogen
[ 60%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o
In file included from /home/ad/Downloads/applet-window-appmenu/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/moc_waylandwindowmanager.cpp:9,
                 from /home/ad/Downloads/applet-window-appmenu/build/plugin/appmenuplugin_autogen/mocs_compilation.cpp:7:
/home/ad/Downloads/applet-window-appmenu/plugin/wm/waylandwindowmanager.h:36:10: fatal error: taskmanager/tasksmodel.h: No such file or directory
   36 | #include <taskmanager/tasksmodel.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [plugin/CMakeFiles/appmenuplugin.dir/build.make:63: plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:607: plugin/CMakeFiles/appmenuplugin.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
adrianaryaputra commented 4 years ago

i successfully install from tag 0.6.0 ,, but master branch won't compile.

psifidotos commented 4 years ago

you miss again from README: plasma-workspace-devel >= 5.19.0