Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE flag question for installing FireFox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MultiForce
n00b
n00b


Joined: 22 Sep 2014
Posts: 2

PostPosted: Mon Sep 22, 2014 8:22 pm    Post subject: USE flag question for installing FireFox Reply with quote

Gentoo(/Linux) noob but I've managed to install Gentoo and LXDE etc. on a small laptop I have.

I want to install Firefox too but I guess I'm missing something about the whole USE flag thing.

emerge --ask firefox gives:
Quote:

The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by www-client/firefox-24.8.0
# required by firefox (argument)
=dev-lang/python-2.7.7 sqlite


I then added the USE flag it complains about to my /etc/portage/portage.use file, so it looks like this:

Quote:
x11-base/xorg-server udev
dev-lang/python-2.7.7 sqlite


I still get the same error msg when running emerge --ask firefox, so I guess I'm doing something wrong.

When I run emerge --info I don't see the sqlite flag but not sure if should be in that list anyway.
Output here:
http://pastebin.com/3vGtANf7
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Sep 22, 2014 8:33 pm    Post subject: Reply with quote

If you really named it portage.use, then that's your problem. The name of the file or directory should be package.use.

Also note the missing '=' character at the beginning of the second line.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.


Last edited by John R. Graham on Mon Sep 22, 2014 8:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Mon Sep 22, 2014 8:38 pm    Post subject: Reply with quote

should be
Code:
=dev-lang/python-2.7.7 sqlite

or
Code:
dev-lang/python sqlite


the first one will activate sqlite for python-2.7.7 only, the last one will activate flag for any python versions.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Sep 22, 2014 8:40 pm    Post subject: Reply with quote

John R. Graham wrote:
Also note the missing '=' character at the beginning of the second line.


...and that setting useflag by an '=foo' expression (unless you really mean it) is asking for a headache later on.
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Mon Sep 22, 2014 8:41 pm    Post subject: Reply with quote

John R. Graham wrote:
The name of the file or directory should be backage.use.


:?:
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Sep 22, 2014 8:43 pm    Post subject: Reply with quote

Wow. Thank you. Corrected above (hopefully before the OP saw it).

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
MultiForce
n00b
n00b


Joined: 22 Sep 2014
Posts: 2

PostPosted: Mon Sep 22, 2014 9:06 pm    Post subject: Reply with quote

John R. Graham wrote:
Wow. Thank you. Corrected above (hopefully before the OP saw it).

- John


Got it! Thanks guys!
Don't know how I could miss that so many times when I read through the wiki but I guess it's just the wrong day or something.

Started installing on a second laptop too so I'm sure I'll be back later :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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