View previous topic :: View next topic |
Author |
Message |
Toonytony n00b
Joined: 26 Nov 2006 Posts: 42 Location: Seattle, WA
|
Posted: Wed Nov 29, 2006 2:46 am Post subject: [emerging gnome] cairo needs X flag set [SOLVED] |
|
|
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 |
|
|
noup l33t
Joined: 21 Mar 2003 Posts: 917
|
Posted: Wed Nov 29, 2006 2:56 am Post subject: |
|
|
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:
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 |
|
|
Toonytony n00b
Joined: 26 Nov 2006 Posts: 42 Location: Seattle, WA
|
Posted: Wed Nov 29, 2006 5:34 am Post subject: |
|
|
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:
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 |
|
|
noup l33t
Joined: 21 Mar 2003 Posts: 917
|
Posted: Wed Nov 29, 2006 12:30 pm Post subject: |
|
|
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 |
|
|
Toonytony n00b
Joined: 26 Nov 2006 Posts: 42 Location: Seattle, WA
|
Posted: Thu Nov 30, 2006 1:27 am Post subject: |
|
|
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 |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Mon May 21, 2007 7:23 am Post subject: |
|
|
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 |
|
|
|