This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

Unable to build kde 4.4.2 on slackware...

Tags: None
(comma "," separated)
jinx
Registered Member
Posts
8
Karma
0
OS
I'm trying upgrade to the latest version of KDE. At the moment there is version 4.2.4 so I'm trying 4.4.2, but I'm running in an error which I don't get at all... I'm not sure whats missing.


[root@sys /tmp/kdelibs-4.4.2]$ cmake -DCMAKE_INSTALL_PREFIX:PATH='/mnt'
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Building kdelibs...
-- Phonon Version: 4.3.0
-- Found the KDE4 kconfig_compiler preprocessor: /tmp/kdelibs-4.4.2/bin/./kconfig_compiler.shell
-- Found automoc4: /usr/bin/automoc4
-- Strigi API needs 'signed char'
CMake Error at cmake/modules/MacroEnsureOutOfSourceBuild.cmake:17 (MESSAGE):
kdelibs requires an out of source build. Please create a separate build
directory and run 'cmake path_to_kdelibs [options]' there.
Call Stack (most recent call first):
CMakeLists.txt:110 (macro_ensure_out_of_source_build)


-- Configuring incomplete, errors occurred!


Does anyone have an idea whats the issue!?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You are running the configuration of KDELibs in the top level directory. KDELibs as stated by the error message requires an out-of-source build. This means using a seperate build directory.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jinx
Registered Member
Posts
8
Karma
0
OS
Im not sure if I get you. Im doing it this way because the building part of the slackware packages is done the same and I get the same error.
So not sure how to fix it...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Assuming your copy of the kdelibs source is located at /tmp/kdelibs-source/ then you need to create /tmp/kdelibs-source/build, change to that directory, then run CMake as follows:

Code: Select all
cmake .. <normal arguments>


Where <normal arguments> is "-DCMAKE_INSTALL_PREFIX:PATH='/mnt'" in your case


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft