Hi. I already asked on trinity IRC channel, but none could help me with this. I am unable to compile the kdelibs on my Gentoo. At first i was getting error like this: http://paste.pocoo.org/show/454951/ As it was suggested to me by kb9vqf i commented out the HAVE_SYS_STAT_H #if statements in kdelibs/dcop/dcopserver.cpp and compilation proceeded at the point where I was getting this error. But I got another error: http://paste.pocoo.org/show/454963/ It seems that the header detection is not working on my system. My CMAKE kdelibs log: http://paste.pocoo.org/show/454964/ config.h generated by cmake for kdelibis: http://paste.pocoo.org/show/454978/ My arch is: x86_64 I will provide any other information necessary. Thanks. L0ner