Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] KF - libkscreen won't build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
goatman
n00b
n00b


Joined: 31 Aug 2014
Posts: 11

PostPosted: Sun Oct 26, 2014 5:58 am    Post subject: [Solved] KF - libkscreen won't build Reply with quote

Hi,

I'm trying to install KDE 5, and I get errors while building "libkscreens" required for plasma_workspace.
Here are the logs:


http://pastebin.com/raw.php?i=afHi7zsm

http://pastebin.com/raw.php?i=W6KMQy5V

Any ideas where the problems lie?

Thank you!


Last edited by goatman on Mon Oct 27, 2014 5:00 am; edited 1 time in total
Back to top
View user's profile Send private message
SCT2010
n00b
n00b


Joined: 21 Oct 2014
Posts: 8

PostPosted: Sun Oct 26, 2014 11:40 am    Post subject: Reply with quote

Hi goatman

It looks like you dont have x11-libs/libxcb installed or not the latest version.

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lxcb-xevie
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lxcb-xprint
collect2: error: ld returned 1 exit status


What version do you have installed?

The stable kde-base/libkscreen-5.1.0.1 builds on my system with x11-libs/libxcb-1.10
Back to top
View user's profile Send private message
goatman
n00b
n00b


Joined: 31 Aug 2014
Posts: 11

PostPosted: Mon Oct 27, 2014 4:59 am    Post subject: Reply with quote

Spot on mate!

I had libxcb-1.11, downgrading to libxcb-1.10 solved it for me.

Thanks!

PS: This may be of interest to someone: [Xcb] [libxcb] Disable Xevie and Xprint by default
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Mon Oct 27, 2014 9:14 am    Post subject: Reply with quote

goatman wrote:
This may be of interest to someone: [Xcb] [libxcb] Disable Xevie and Xprint by default

I found it interesting, for one, thanks. The xprint code they removed was quite a trip down memory lane. ;)

Not complaining; I think it's better done by another component like CUPS, and some of that code was a bit gacky imo. Leave alone embedded shell strings, specific to each OS, for the spooler.

WRT xevie, the commit mentions MPX which in turn leads to XGE which means xcb is now required.
Back to top
View user's profile Send private message
asdruv
n00b
n00b


Joined: 09 Aug 2008
Posts: 3
Location: Costa Rica

PostPosted: Mon Dec 15, 2014 5:18 am    Post subject: Reply with quote

Hello,

I seem to be having the same problem building libkscreen as goatman:

http://pastebin.com/rw0gLDhh

http://pastebin.com/SPQEQvTv

http://pastebin.com/aLczQsLm

However, I am currently unable to switch back to x11-libs/libxcb-1.10::gentoo:

http://pastebin.com/2jfN3w0c

http://pastebin.com/LY2rH3C3

Is there any other available solution? or should I post a Bug?

Thank you!
_________________
"We are a way for the universe to know itself."
-Carl Sagan
Back to top
View user's profile Send private message
SCT2010
n00b
n00b


Joined: 21 Oct 2014
Posts: 8

PostPosted: Mon Dec 29, 2014 11:26 am    Post subject: Reply with quote

Hi asdruv

According to [Xcb] [libxcb] Disable Xevie and Xprint by default, libxcb-1.11 is compiled without support for the two modules Xprint and Xevie. The problem is in the libxcb-1.11 ebuild. Both modules aren't compiled, but the header files got installed. libkscreen finds the two header file and thinks these modules are available and tries to link against them.
The simplest solution is to rename or delete the two files:
Code:
/usr/include/xcb/xevie.h
/usr/include/xcb/xprint.h

A long term solution is to fix the libxcb-1.11 ebuild.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum