arcan1s / awesome-widgets

Minimalistic Plasmoid set
https://arcanis.me/projects/awesome-widgets/
GNU General Public License v3.0
74 stars 4 forks source link

Build issues #139

Closed akwala closed 4 years ago

akwala commented 4 years ago

Firstly, in the instructions for building, the path-to-source in the cmake command (after mkdir build && cd build) should be ../sources/.

Secondly, cmake can't find KF5Notifications. I've tried this with a repo cloned from git (after doing git submodule update --init --recursive) as well as with the downloaded source archive.

$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/user/.local -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ../sources/
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.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
-- Project: awesomewidgets
-- Version: 3.3.3
-- Build date: 2019-11-17 22:11
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.47.0") 
-- Could NOT find KF5Notifications (missing: KF5Notifications_DIR)
-- Could NOT find KF5Notifications: found neither KF5NotificationsConfig.cmake nor kf5notifications-config.cmake                                                                                                            
-- Found KF5Plasma: /usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaConfig.cmake (found version "5.47.0")  
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.47.0")                                                                                                             
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.47.0")                                                                                              
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):               
  Could NOT find KF5 (missing: Notifications) (found version "5.47.0")                                        
Call Stack (most recent call first):                                                                          
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)              
  /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)                           
  libraries.cmake:22 (find_package)                                                                           
  CMakeLists.txt:52 (include)

-- Configuring incomplete, errors occurred!
See also "[redacted]/awesome-widgets-development/build/CMakeFiles/CMakeOutput.log".
arcan1s commented 4 years ago

hi,

which distro are you using?

akwala commented 4 years ago

which distro are you using?

Kubuntu 18.04/Bionic

arcan1s commented 4 years ago

have you installed libkf5notifications-dev? Basically the list of required packages can be found at https://github.com/arcan1s/awesome-widgets/blob/development/.docker/Dockerfile-ubuntu-amd64#L7

akwala commented 4 years ago

have you installed libkf5notifications-dev? Basically the list of required packages can be found at https://github.com/arcan1s/awesome-widgets/blob/development/.docker/Dockerfile-ubuntu-amd64#L7

Thanks. Would be good to add this info under Dependencies in README.md.

arcan1s commented 4 years ago

updated, thanks :)