Registered Member
|
Hi, i want to start working on a KDE 4 application ( namely KPackageKit ) and i'm really struggling to start development. I don't have any KDE dev knowledge, but i am a C++ developer by profession. I've downloaded the app source, and followed instructions, but can't get cmake to run succesfully. I have kdelibs-devel but it puts some of the required cmake modules ( FindKDE4Internal.cmake ) in a KDE 4 directory ( /usr/share/kde4/apps/cmake ) and not the cmake directory ( /usr/share/cmake ). This step is probably wrong, but i copied the missing modules from the KDE modules directory into the CMake one, and now i'm getting the following error.
All i want to do is get the app building so i can try and contribute. Thanks in advance. |
Administrator
|
Copying the files from /usr/share/kde4/apps/cmake/ to /usr/share/cmake is indeed incorrect.
Do you have kdebase-runtime installed?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Yes, it is installed. I'm doing all of this from within KDE 4.1.85 ( as provided by the Fedora 10 kde-testing packages.
|
Administrator
|
By Fedora 10 kde-testing do you mean this repository?
http://apt.kde-redhat.org/apt/kde-redha ... 86/testing Does this directory exist? /usr/share/apps/cmake/modules
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
yes, that or a mirror thereof. and the directory does not exist. There are 2 cmake modules folders that i can find, namely:
/usr/share/cmake/Modules /usr/share/kde4/apps/cmake/modules thanks |
KDE Developer
|
If you run kde4-config manually, what is its output for
% kde4-config --path data Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
Registered Member
|
The output is:
/home/david/.kde/share/apps/:/usr/share/kde-settings/kde-profile/default/share/apps/:/usr/share/kde4/apps/ thanks |
KDE Developer
|
That looks ok, the installation search path is in there.
The "ARGS" string in the output included in the first posting looks like if this is some kind of variable which hasn't been replaced properly. No idea what could make that happen though, probably a wrong version of cmake? I am using cmake 2.6.2 Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell