Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GTK+ won't build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Tuxenstein
Apprentice
Apprentice


Joined: 28 May 2005
Posts: 155

PostPosted: Sun Dec 09, 2007 11:16 pm    Post subject: GTK+ won't build Reply with quote

I've been trying to build GTK+ for a while now and can't get past the checks before it gives me an error message:

Quote:
* Please re-emerge x11-libs/cairo with the X USE flag set
*
* ERROR: x11-libs/gtk+-2.12.1-r2 failed.
* Call stack:
* ebuild.sh, line 1717: Called dyn_setup
* ebuild.sh, line 768: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* gtk+-2.12.1-r2.ebuild, line 54: Called die
* The specific snippet of code:
* die "cairo needs the X flag set"
* The die message:
* cairo needs the X flag set
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.12.1-r2/temp/build.log'.


However, I've tried re-emerging Cairo (which is what I'm assuming the message is suggesting?) and have searched the forum and tried what was suggested in this thread:

https://forums.gentoo.org/viewtopic-t-628199-highlight-cairo.html

It didn't help and I still can't get the package to build. Any help will be appreciated! :)
Back to top
View user's profile Send private message
neiljw
Apprentice
Apprentice


Joined: 12 Nov 2007
Posts: 166
Location: Telford, UK

PostPosted: Sun Dec 09, 2007 11:18 pm    Post subject: Reply with quote

Well, did you do what it tells you to do and set the X USE flag?
_________________
Be lucky,

Neil
Back to top
View user's profile Send private message
Tuxenstein
Apprentice
Apprentice


Joined: 28 May 2005
Posts: 155

PostPosted: Mon Dec 10, 2007 12:06 am    Post subject: Reply with quote

:oops:I'm not quite sure how to go about it.
Back to top
View user's profile Send private message
didl
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 1106
Location: Pittsburgh, PA

PostPosted: Mon Dec 10, 2007 12:23 am    Post subject: Reply with quote

Code:
USE="X" emerge cairo


If your box is a desktop you may want to add "X" to your
global useflags in /etc/make.conf.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Dec 10, 2007 12:36 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.

See https://forums.gentoo.org/viewtopic-t-540747.html
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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