This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Novice Question - Build Issues

Tags: None
(comma "," separated)
User avatar
Kver
Registered Member
Posts
326
Karma
2
OS

Novice Question - Build Issues

Fri Mar 20, 2015 4:28 am
I'm a novice developer, and I'm still getting tripped up in the build stages whenever anything goes wrong; I just updated my development machine and all of my builds stopped working, this is the error I'm getting when I run make on my projects;

CMake Error at CMakeLists.txt:6 (find_package):
By not providing "FindKF5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "KF5", but
CMake did not find one.

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

KF5Config.cmake
kf5-config.cmake

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


-- Configuring incomplete, errors occurred!


I'm running Kubuntu 15.04, Frameworks 5.2.1

Any help would be appreciated - Google is failing me. :(


Reformed lurker.
dinosath
Registered Member
Posts
7
Karma
0

Re: Novice Question - Build Issues

Thu May 07, 2015 10:23 pm
Same problem here. How did you solve it?
User avatar
Kver
Registered Member
Posts
326
Karma
2
OS

Re: Novice Question - Build Issues

Fri May 08, 2015 1:55 am
dinosath wrote:Same problem here. How did you solve it?


Ultimately, I believe that issue was because I had missing development packages. I can't remember exactly which package it was, but instructions are here (specifically, you want the "build requirements" section;
https://community.kde.org/Frameworks/Building

Note: You may need more development packages than listed on that page. I still don't know personally how to find out what packages are needed precisely.

Now, hopefully, this will not be that thread.
Image


Reformed lurker.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]