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 2 when I tried to build 0.7.0 #163

Closed YamiYukiSenpai closed 3 years ago

YamiYukiSenpai commented 3 years ago
$ sudo bash install.sh 
-- 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
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
  Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
  CMakeLists.txt:19 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- 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.84.0") 
-- Found KF5Wayland: /usr/lib/x86_64-linux-gnu/cmake/KF5Wayland/KF5WaylandConfig.cmake (found version "5.84.0") 
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.84.0") 
-- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.84.0") 
-- Found KF5: success (found suitable version "5.84.0", minimum required is "5.38.0") found components: Plasma Wayland WindowSystem ConfigWidgets 
CMake Warning at CMakeLists.txt:21 (find_package):
  By not providing "FindLibTaskManager.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "LibTaskManager", but CMake did not find one.

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

    LibTaskManagerConfig.cmake
    libtaskmanager-config.cmake

  Add the installation prefix of "LibTaskManager" to CMAKE_PREFIX_PATH or set
  "LibTaskManager_DIR" to a directory containing one of the above files.  If
  "LibTaskManager" provides a separate development package or SDK, be sure it
  has been installed.

fatal: not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
  Your project should require at least CMake 3.16.0 to use FindXCB.cmake
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check)
  CMakeLists.txt:35 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so (found version "1.14") 
-- Found XCB_RANDR: /usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.14") 
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.14") found components: XCB RANDR 
-- KF5 VERSION : 5.84.0
-- KF5 VERSION CURRENT MINOR : 84
-- LibTaskManager CURRENT VERSION : -1
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
  Your project should require at least CMake 3.16.0 to use FindXCB.cmake
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check)
  plugin/CMakeLists.txt:30 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.14") found components: XCB 
-- Configuring done
CMake Error at plugin/CMakeLists.txt:12 (add_library):
  Target "appmenuplugin" links to target "PW::LibTaskManager" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
Scanning dependencies of target dbusmenuqt_autogen
Scanning dependencies of target org.kde.windowappmenu-plasmoids-metadata-json
Scanning dependencies of target plasma_applet_windowappmenu_autogen
Scanning dependencies of target appmenutest_autogen
[  3%] Automatic MOC for target dbusmenuqt
[  6%] Generating org.kde.windowappmenu-plasmoids-metadata.json
About to parse service type file "/usr/share/kservicetypes5/plasma-applet.desktop"
Found property definition "X-Plasma-API" with type "QString"
Found property definition "X-Plasma-RootPath" with type "QString"
Found property definition "X-Plasma-MainScript" with type "QString"
Found property definition "X-Plasma-ContainmentType" with type "QString"
Found property definition "X-Plasma-DropMimeTypes" with type "QStringList"
Found property definition "X-Plasma-DropUrlPatterns" with type "QStringList"
Found property definition "X-Plasma-NotificationArea" with type "QString"
Found property definition "X-Plasma-NotificationAreaCategory" with type "QString"
Found property definition "X-Plasma-DBusActivationService" with type "QString"
Found property definition "X-KDE-ParentApp" with type "QString"
Found property definition "X-Plasma-Provides" with type "QStringList"
Found property definition "X-Plasma-PreloadWeight" with type "int"
Found property definition "X-Plasma-ConfigPlugins" with type "QStringList"
Found property definition "X-Plasma-StandAloneApp" with type "bool"
Found property definition "X-Plasma-RequiredExtensions" with type "QStringList"
Found property definition "NoDisplay" with type "bool"
Generated  "/home/SGBC2T/yamiyukisenpai/Downloads/PlasmaExt/applet-window/applet-window-appmenu-0.7.0/build/org.kde.windowappmenu-plasmoids-metadata.json"
[  9%] Generating metadata.json
About to parse service type file "/usr/share/kservicetypes5/plasma-applet.desktop"
Found property definition "X-Plasma-API" with type "QString"
Found property definition "X-Plasma-RootPath" with type "QString"
Found property definition "X-Plasma-MainScript" with type "QString"
Found property definition "X-Plasma-ContainmentType" with type "QString"
Found property definition "X-Plasma-DropMimeTypes" with type "QStringList"
Found property definition "X-Plasma-DropUrlPatterns" with type "QStringList"
Found property definition "X-Plasma-NotificationArea" with type "QString"
Found property definition "X-Plasma-NotificationAreaCategory" with type "QString"
Found property definition "X-Plasma-DBusActivationService" with type "QString"
Found property definition "X-KDE-ParentApp" with type "QString"
Found property definition "X-Plasma-Provides" with type "QStringList"
Found property definition "X-Plasma-PreloadWeight" with type "int"
Found property definition "X-Plasma-ConfigPlugins" with type "QStringList"
Found property definition "X-Plasma-StandAloneApp" with type "bool"
Found property definition "X-Plasma-RequiredExtensions" with type "QStringList"
Found property definition "NoDisplay" with type "bool"
Generated  "/home/SGBC2T/yamiyukisenpai/Downloads/PlasmaExt/applet-window/applet-window-appmenu-0.7.0/build/lib/metadata.json"
[ 12%] Automatic MOC for target appmenutest
[ 12%] Built target org.kde.windowappmenu-plasmoids-metadata-json
[ 15%] Automatic MOC for target plasma_applet_windowappmenu
[ 15%] Built target appmenutest_autogen
Scanning dependencies of target appmenutest
[ 18%] Building CXX object plugin/libdbusmenuqt/test/CMakeFiles/appmenutest.dir/appmenutest_autogen/mocs_compilation.cpp.o
[ 21%] Building CXX object plugin/libdbusmenuqt/test/CMakeFiles/appmenutest.dir/main.cpp.o
[ 21%] Built target dbusmenuqt_autogen
[ 24%] Generating dbusmenu_interface.cpp, dbusmenu_interface.h
[ 27%] Generating dbusmenu_interface.moc
Scanning dependencies of target dbusmenuqt
[ 30%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenuimporter.cpp.o
[ 33%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenuqt_autogen/mocs_compilation.cpp.o
[ 33%] Built target plasma_applet_windowappmenu_autogen
[ 36%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenushortcut_p.cpp.o
Scanning dependencies of target plasma_applet_windowappmenu
[ 39%] Building CXX object lib/CMakeFiles/plasma_applet_windowappmenu.dir/plasma_applet_windowappmenu_autogen/mocs_compilation.cpp.o                                                                                                                          
[ 42%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenutypes_p.cpp.o
[ 45%] Linking CXX executable appmenutest
[ 45%] Built target appmenutest
[ 48%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/utils.cpp.o
[ 51%] Building CXX object lib/CMakeFiles/plasma_applet_windowappmenu.dir/appmenuapplet.cpp.o
[ 54%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/debug.cpp.o
[ 57%] Building CXX object plugin/libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/dbusmenu_interface.cpp.o
[ 60%] Building CXX object lib/CMakeFiles/plasma_applet_windowappmenu.dir/decorationpalette.cpp.o
[ 63%] Linking CXX shared module plasma_applet_windowappmenu.so
[ 63%] Built target plasma_applet_windowappmenu
[ 66%] Linking CXX static library libdbusmenuqt.a
[ 66%] Built target dbusmenuqt
Scanning dependencies of target appmenuplugin_autogen
[ 69%] Automatic MOC for target appmenuplugin
[ 69%] Built target appmenuplugin_autogen
Scanning dependencies of target appmenuplugin
[ 72%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenumodel.cpp.o
[ 75%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/commontools.cpp.o
[ 78%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin_autogen/mocs_compilation.cpp.o
[ 81%] Building CXX object plugin/CMakeFiles/appmenuplugin.dir/appmenuplugin.cpp.o
In file included from /home/SGBC2T/yamiyukisenpai/Downloads/PlasmaExt/applet-window/applet-window-appmenu-0.7.0/plugin/appmenumodel.cpp:29:
/home/SGBC2T/yamiyukisenpai/Downloads/PlasmaExt/applet-window/applet-window-appmenu-0.7.0/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:76: plugin/CMakeFiles/appmenuplugin.dir/appmenumodel.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/SGBC2T/yamiyukisenpai/Downloads/PlasmaExt/applet-window/applet-window-appmenu-0.7.0/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/moc_waylandwindowmanager.cpp:10,
                 from /home/SGBC2T/yamiyukisenpai/Downloads/PlasmaExt/applet-window/applet-window-appmenu-0.7.0/build/plugin/appmenuplugin_autogen/mocs_compilation.cpp:7:
/home/SGBC2T/yamiyukisenpai/Downloads/PlasmaExt/applet-window/applet-window-appmenu-0.7.0/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/SGBC2T/yamiyukisenpai/Downloads/PlasmaExt/applet-window/applet-window-appmenu-0.7.0/build/plugin/appmenuplugin_autogen/GQUGDM6HO3/moc_waylandwindowmanager.cpp:10,
                 from /home/SGBC2T/yamiyukisenpai/Downloads/PlasmaExt/applet-window/applet-window-appmenu-0.7.0/build/plugin/appmenuplugin_autogen/mocs_compilation.cpp:7:
/home/SGBC2T/yamiyukisenpai/Downloads/PlasmaExt/applet-window/applet-window-appmenu-0.7.0/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

Here's the entire thing that showed up in Konsole. Dunno what went wrong, so I'm hoping you'll be able to.

psifidotos commented 3 years ago

You miss libtaskmanager coming from plasma workspace development package