https://bugs.kde.org/show_bug.cgi?id=421300

            Bug ID: 421300
           Summary: Problem with install.sh script
           Product: lattedock
           Version: git (master)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Linux/KDE Plasma: Manjaro KDE (Kernel 5.6.10-3-MANJARO)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

SUMMARY
When trying to build latte-dock-master, I was running into an issue with the
cmake script. When trying to run the install.sh script, it was pointing to the
wrong directory on my system specifically. 

STEPS TO REPRODUCE
1. Download git version of latte-dock
2. Extract components into folder
3. Make sure extra-cmake-modules is installed
4. Run install.sh script

OBSERVED RESULT

CMake Error at /usr/local/share/ECM/cmake/ECMConfig.cmake:11 (message):File or
directory /usr/local/include/KF5 referenced by variablePlasmaQuick_INCLUDE_DIR
does not exist

!Call Stack (most recent call
first):/usr/lib64/cmake/KF5PlasmaQuick/KF5PlasmaQuickConfig.cmake:45
(set_and_check)/usr/local/share/ECM/find-modules/FindKF5.cmake:74
(find_package)CMakeLists.txt:22 (find_package)


Work Around For My Issue
The problem is that the script references /usr/local/include/KF5 which does not
exist. KF5 is located in /usr/include/KF5 on my system. A quick fix I found is
just to create a symlink between /usr/include/KF5 and /usr/local/include/KF5

ln -s /usr/include/KF5/ /usr/local/include/KF5/

After this, the install.sh script runs just fine.

ADDITIONAL INFORMATION
I'm not sure if this is a bug related to cmake or latte-dock specifically.  
(First bug report. Sorry if anything is wrong & please let me know if I can do
anything better)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to