LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 02-24-2008, 09:34 AM   #1
deucedlt
Member
 
Registered: Oct 2004
Distribution: Red Hat 9-2.4.20-31.9
Posts: 40

Rep: Reputation: 15
USE flags


When I run emerge -p <whatever> gentoo prints a list of what would be installed, including Use flags.
Does this mean that portage knows which flags are correct for each package and will override any
default settings and whatever I have set in /etc/make.conf? If so, then why should I concern myself
with USE flags?
 
Old 02-24-2008, 09:56 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
basically use flags define what other things that package would use at that time should you install it. those flags are a subset of all that package could do defined by what you have personally defined as acceptable flags for it to use. for example, if you install xchat without having the gtk2 use flag enabled, then it will be built without the gtk2 interface, only the text one. if you enable it, then the xchat ebuild will have permission to build the gtk2 gui.
 
Old 02-24-2008, 03:18 PM   #3
deucedlt
Member
 
Registered: Oct 2004
Distribution: Red Hat 9-2.4.20-31.9
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks for the input Acid Kewpie. Iknow what USE flags are for but was wondering if, having seen those specified for an ebuild by he output of the emerge -p <whatever> command, I have to change my make.conf file foreach individual ebuild, or if I can rely on the emerge operation to apply the correct flags, like for instance USE="flag" emerge <whatever> command would do. I assume yes but have learned not to trust assumptions.
 
Old 02-24-2008, 03:25 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
there are a default set of flags defined, and each ebuild will use as many as are available to each ebuild. there is no "correct" flags to choose from. the ebuild says "I would like a b c and d" and your system configs say "i wish to use a b e and f" and so when you install that package you get it built including functionality for a and b only.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC Flags matsko Linux - Software 2 05-14-2007 01:23 PM
Process Flags kikette Linux - General 2 10-31-2006 05:15 AM
Recommended USE flags? ssimontis Linux - Newbie 5 02-14-2005 11:14 PM
CC flags and the like Garp Linux - Software 2 05-17-2004 03:48 AM
rpmbuild flags vejnovic Linux - Software 0 05-03-2004 07:22 AM


All times are GMT -5. The time now is 08:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration