Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerging gnome] cairo needs X flag set [SOLVED]
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
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Wed Nov 29, 2006 2:46 am    Post subject: [emerging gnome] cairo needs X flag set [SOLVED] Reply with quote

Alright, so I am trying to emerge gnome, and I've done everything in The Gnome Configuration HOWTO @ http://www.gentoo.org/doc/en/gnome-config.xml

when I try to run the command emerge gnome gnome-screensaver, I get this error:

Code:
!!! ERROR: x11-libs/gtk+-2.8.19 failed.
Call stack:
   ebuild.sh, line 1562:    Called dyn_setup
   ebuild.sh, line 665:     Called pkg_setup
   gtk+-2.8.19.ebuild, line 57:     Called die

!!! cairo needs the X flag set
!!! If you need support, post the topmost build error, and the call stack if relevant.


I don't know how to set the "X flag"[/b]
_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)


Last edited by Toonytony on Thu Nov 30, 2006 1:28 am; edited 1 time in total
Back to top
View user's profile Send private message
noup
l33t
l33t


Joined: 21 Mar 2003
Posts: 917

PostPosted: Wed Nov 29, 2006 2:56 am    Post subject: Reply with quote

Tony, you should definitely read the Gentoo portage documentation, that's the basics of the system.

Answering to your question, you do that by editing /etc/portage/package.use, where you add a line that first contains the package name and then the USE flags you want for it:
Code:
x11-libs/cairo X


This obviously has to be followed by a re-emerge of Cairo, preferably with the "--one-shot" flag so that package doesn't get registered in the World file:
Code:
#emerge --oneshot -av cairo

_________________
noup.
Back to top
View user's profile Send private message
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Wed Nov 29, 2006 5:34 am    Post subject: Reply with quote

noup wrote:
Tony, you should definitely read the Gentoo portage documentation, that's the basics of the system.

Answering to your question, you do that by editing /etc/portage/package.use, where you add a line that first contains the package name and then the USE flags you want for it:
Code:
x11-libs/cairo X


This obviously has to be followed by a re-emerge of Cairo, preferably with the "--one-shot" flag so that package doesn't get registered in the World file:
Code:
#emerge --oneshot -av cairo

So I just open package.use and type x11-libs/cairo X?
_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)
Back to top
View user's profile Send private message
noup
l33t
l33t


Joined: 21 Mar 2003
Posts: 917

PostPosted: Wed Nov 29, 2006 12:30 pm    Post subject: Reply with quote

Toonytony wrote:

So I just open package.use and type x11-libs/cairo X?

Yes, after reading the available documentation, so you know what you're doing.
_________________
noup.
Back to top
View user's profile Send private message
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Thu Nov 30, 2006 1:27 am    Post subject: Reply with quote

noup wrote:
Toonytony wrote:

So I just open package.use and type x11-libs/cairo X?

Yes, after reading the available documentation, so you know what you're doing.

There we go. :) I got it to work. I'm using gnome right now. Thank you.
_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 7820

PostPosted: Mon May 21, 2007 7:23 am    Post subject: Reply with quote

Moved from Desktop Environments to Duplicate Threads, refer to topic "Please re-emerge [solved]".

As noted in the handbook USE flags specified via environment variables are not retained as persistent settings so, aside from when a given USE flag setting is itself transient in nature, use one of the persistent USE flag setting methods (/etc/make.conf, /etc/portage/package.use). Also, note that USE flags are case sensitive.
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