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

Trouble building kde from sources

Tags: None
(comma "," separated)
vesrin
Registered Member
Posts
6
Karma
0
OS

Trouble building kde from sources

Fri Dec 03, 2010 12:11 pm
Hey everyone,

I've tried recently building kde from sources, mostly following this guide:
http://techbase.kde.org/Build_KDE4.6_on_Kubuntu .

It looked like everything went ok. But now, when I start Dolphin, I get some errors regarding missing mimetypes and all icons have the same generic look.

I looked around the sources and found a mimetypes directory in kdelibs. I tried running cmakekde in that directory, but I get the error:

CMake Error at CMakeLists.txt:5 (macro_log_feature):
Unknown CMake command "macro_log_feature".

This is after I added this line to the CMakeLists.txt file:

cmake_minimum_required(VERSION 2.8)

Do you have any clues to what's going on? What should I try to fix this?
vesrin
Registered Member
Posts
6
Karma
0
OS
Ok, pinotree on #kde-devel helped me solve the issue.

For reference, in case anyone else runs into this problem:


I had the $XDG_DATA_DIRS variable set to a custom location - apparently, this is not needed for my setup and messed up kbuildsycoca. To fix this, I had to unset the variable and ran kbuildsycoca4 --noincremental.

Also, the cmake error I got is irrelevant - you should build the sources from a top directory (in this case, kdelibs).


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot]