Trying to emerge gnome to my computer after a successful "emerge system". However it stops on "x11-libs/gtk+-2.10.11". the error message is:

Please re-emerge x11-libs/cairo with the X USE flag set
!!! cairo needs the X flag set.

I couldn't find a solution on the forums for my particular situation. I do have " X " under my use flags in the /etc/make.conf file.
Assistance would be appreciative. thank you_________________In college there are three different paths to take; academics, social life, sleep. The downside is, you can only pick two.

i figured it out. i added the X use flag to the package.use file. thank you though_________________In college there are three different paths to take; academics, social life, sleep. The downside is, you can only pick two.

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.