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

Wrong includes with kde compilation

Tags: None
(comma "," separated)
klocke
Registered Member
Posts
1
Karma
0

Wrong includes with kde compilation

Mon Oct 11, 2010 10:52 am
Hey,

right now I try to build KDE from the sourcecode, but I'm currently struggling:

I already compiled kdesupport, all files are installed to /home/kde-devel/kde.
My .bashrc looks like this: http://techbase.kde.org/Getting_Started/Increased_Productivity_in_KDE4_with_Scripts/.bashrc

But when I try to compile kdelibs I get the following error:

Code: Select all
Could NOT find LibAttica:  Found version "0.1.4", but required is at least "0.1.90" (found /usr/lib/libattica.so)


So cmake seems to look in the wrong lib-folder.

Here are some outputs of some variables:
Code: Select all
$ echo $LD_LIBRARY_PATH
/home/kde-devel/kde/lib:/lib
$ echo $PKG_CONFIG_PATH
/home/kde-devel/kde/lib/pkgconfig:/usr/lib/pkgconfig


Furthermore the files are installed correctly:
Code: Select all
$ ls $KDEDIR/lib | grep attica
libattica.so
libattica.so.0
libattica.so.0.2.0

$ cat $KDEDIR/lib/pkgconfig/libattica.pc | grep Version
Version: 0.2.0


So for me everything seems to be set up correctly, but it doesn't work... any ideas?

locke
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try:

Code: Select all
export CMAKE_PREFIX_PATH=$KDEDIR


Then re-configuring ( you may need to remove the build directory )


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


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]