View previous topic :: View next topic |
Author |
Message |
lolikapuxa n00b
Joined: 04 Nov 2007 Posts: 28
|
Posted: Wed Nov 07, 2007 10:08 pm Post subject: Troubles installing firefox |
|
|
i've installed gentoo, but i can't emerge firefox. here's the output
emerge mozilla-firefox
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 6) x11-libs/gtk+-2.10.14 to /
* gtk+-2.10.14.tar.bz2 RMD160 ... [ ok ]
* gtk+-2.10.14.tar.bz2 SHA1 ... [ ok ]
* gtk+-2.10.14.tar.bz2 SHA256 ... [ ok ]
* gtk+-2.10.14.tar.bz2 size ... [ ok ]
* checking ebuild checksums ... [ ok ]
* checking auxfile checksums ... [ ok ]
* checking miscfile checksums ... [ ok ]
* checking gtk+-2.10.14.tar.bz2 ... [ ok ]
* Please re-emerge x11-libs/cairo with the X USE flag set
*
* ERROR: x11-libs/gtk+-2.10.14 failed.
* Call stack:
* ebuild.sh, line 1711: Called dyn_setup
* ebuild.sh, line 762: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* gtk+-2.10.14.ebuild, line 50: 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.10.14/temp/build.log'. [/quote] |
|
Back to top |
|
|
Wojtek_ Guru
Joined: 28 May 2006 Posts: 397 Location: London
|
Posted: Wed Nov 07, 2007 10:15 pm Post subject: |
|
|
Hi,
Just look what it says - 'cairo requires X use flag' so simply add 'X' to make.conf and reemerge again.
Cheers,
Wojtek
PS Why don't you install a graphical environment first? _________________ Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio |
|
Back to top |
|
|
lolikapuxa n00b
Joined: 04 Nov 2007 Posts: 28
|
Posted: Wed Nov 07, 2007 11:01 pm Post subject: |
|
|
Wojtek_ wrote: | Hi,
Just look what it says - 'cairo requires X use flag' so simply add 'X' to make.conf and reemerge again.
Cheers,
Wojtek
PS Why don't you install a graphical environment first? |
graphical environment? i have kde installed if that is what you mean.
i added USE="X" to make.conf
mybox daniel # emerge --unmerge x11-libs/cairo
mybox daniel # emerge x11-libs/cairo
and did the same with cairo, and it still complains the same thing
sorry for being noob |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Nov 07, 2007 11:09 pm Post subject: |
|
|
Post the output for "emerge -pv cairo". |
|
Back to top |
|
|
lolikapuxa n00b
Joined: 04 Nov 2007 Posts: 28
|
Posted: Wed Nov 07, 2007 11:12 pm Post subject: |
|
|
emerge -pv cairo
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/cairo-1.4.10 USE="-X -debug -directfb -doc -glitz -opengl -svg -xcb" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Nov 07, 2007 11:13 pm Post subject: |
|
|
lolikapuxa wrote: | emerge -pv cairo
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/cairo-1.4.10 USE="-X -debug -directfb -doc -glitz -opengl -svg -xcb" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB |
Well, it still says "-X", so X is disabled.
You need to add "X" to your use flags (without the "-" in front of it). The emerge cairo again. After that, continue where you left. |
|
Back to top |
|
|
lolikapuxa n00b
Joined: 04 Nov 2007 Posts: 28
|
Posted: Wed Nov 07, 2007 11:26 pm Post subject: |
|
|
mybad! i had something like this in make.conf
USE="X"
USE="hal"
changed to this
USE="X hal"
now working thank you guys |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Nov 07, 2007 11:41 pm Post subject: |
|
|
lolikapuxa wrote: | mybad! i had something like this in make.conf
USE="X"
USE="hal"
changed to this
USE="X hal"
now working thank you guys |
Not that it is important, now that the topic is solved, but in case you want to know, if you are going to do that, you can do it this way:
Or even
Code: |
USE="X"
USE="$USE hal"
|
make.conf is just a bash script, and as such, the bash syntax applies. |
|
Back to top |
|
|
WakkaDojo Apprentice
Joined: 26 Sep 2007 Posts: 174 Location: Massachusetts
|
Posted: Wed Nov 07, 2007 11:44 pm Post subject: |
|
|
Just a tip, if you don't want all of your use flags in one big line, you can do a couple of things. One is break the flags up into environment variables then combine them later:
Code: | FLAGS1="X alsa hal"
FLAGS2="-gnome qt gtk"
USE="$FLAGS1 $FLAGS2" |
This makes USE="X alsa hal -gnome qt gtk"
Another option would be to append to the USE variable:
Code: | USE="-gnome"
USE="$USE kde" |
Making USE="-gnome kde"
So that's just something you can do to organize your USE flags in /etc/make.conf. Ideally the best way to organize your flags would be by doing package specific flagging in /etc/portage/package.use, but that is a lot of work, and is practically only done for specific packages, not all. |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
|
Back to top |
|
|
|