From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mlna3-0006Vr-OG for garchives@archives.gentoo.org; Thu, 10 Sep 2009 17:37:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08C97E08D1; Thu, 10 Sep 2009 17:37:10 +0000 (UTC) Received: from mail-yw0-f204.google.com (mail-yw0-f204.google.com [209.85.211.204]) by pigeon.gentoo.org (Postfix) with ESMTP id D690FE08D1 for ; Thu, 10 Sep 2009 17:37:09 +0000 (UTC) Received: by ywh42 with SMTP id 42so476076ywh.30 for ; Thu, 10 Sep 2009 10:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=Za6s3BfFT4IWKf+gS+WBj38gHrNnkBSSD2mC0qwL2R4=; b=QAKb87hHgHAsIqf5W4zWGYUy5djsn1RlzIAw/RDWEn1Zw/VuKbU4z6VjlXzKALg8on L6tJMA3kFnaKOA5ZV/Z4CidQAHd+NPVKxZb/zTukwa5W2RwWOi+5gAKp5wyYK8RNGBjz nq7/D5Az1HNHYEWxNmrAAV6YGRTZBGdtCF2zE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=KH+GCk64vCbRoGaKvruEmVLlVm1+XgBa50cw3NFvxPMhDuebLFNTEeWDwEEpuCI9Ux LLUviNb7EeLD+WUHG4li71G/YgZlmRQ32kyZuz+4eY2nVtcyOzVrvPZ9s745ll2uilnG xyLecv/mVJaUBafTxqkdKxUdr1KLAx8kTYOUA= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.100.55.17 with SMTP id d17mr1927695ana.118.1252604229278; Thu, 10 Sep 2009 10:37:09 -0700 (PDT) In-Reply-To: References: <92ad22480909091216h4eeac997u6a918f2708eb5537@mail.gmail.com> <92ad22480909100414u53f7b5e7o3f2877a61592a6a4@mail.gmail.com> From: =?UTF-8?Q?Cr=C3=ADstian_Viana?= Date: Thu, 10 Sep 2009 14:36:54 -0300 Message-ID: <92ad22480909101036o6bc0e02cj7ecd1768e8bbdab7@mail.gmail.com> Subject: Re: [gentoo-user] Re: flags on a minimalist server To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=001485f4b2ca21798604733ca6c8 X-Archives-Salt: ac43c5ab-58dc-48fc-b4c6-82d581a715d7 X-Archives-Hash: 4238674002b6286957c202779601c2d9 --001485f4b2ca21798604733ca6c8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hi James, Where can I read up on the flags in some detail? > you can read it online at: http://www.gentoo.org/dyn/use-index.xml this page lists the global USE flags and the local USE flags. you can also read information about USE flags using the program "equery" (which, by the way, is in the gentoolkit package :P): $ equery u python it lists the USE flags of that package with a description, and if you have it enabled or not for that package. if you want to go a bit further, you can read the ebuild file ( http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.6.= 2-r1.ebuild?view=3Dmarkup) and see what it does when the USE flag "threads" is enabled. the python ebuild only passes that information to the Python configure script (--with-threads), so you should read in Python documentation why threads support is so important (or not). Is this a good idea or bad idea to leave the "-threads" flag unset > in rebuilding python or any other package on this mostly iptables firewal= l? > according to the "Local USE flags" webpage: python | threads: Enable threading support (DON'T DISABLE THIS UNLESS YOU KNOW WHAT YOU'RE DOING) it's better to keep it enabled =3D) see you, On Thu, Sep 10, 2009 at 11:41 AM, James wrote: > Cr=C3=ADstian Viana gmail.com> writes: > > > > Ebuils that need xml support don't have a USE flag for it. Only those > where > it's optional. > > > python has optional XML support, but gentoolkit needs that feature.-- > > > > OK I got the xml flag issue resolved, but what about the "threads" flag"? > > > From my original post: > > > USE=3D"-* -nls mmx hardened ncurses ssl crypt berkdb tcpd pam perl pcre = \ > python readline zlib bzip2 nptl nptlonly syslog" > > so nptl and nptlonly flags are set. -* means most other flags are unset. > > > To rebuild python, it want the xml flag set for gentoolkit (got it). > > But also it shows "-threads" flag as not set. > > dev-lang/python-2.6.2-r1 USE=3D"berkdb ncurses readline ssl > -build -doc -examples -gdbm* -ipv6* -sqlite -threads* -tk -ucs2 -wininst > -xml*" > > > Is this a good idea or bad idea to leave the "-threads" flag unset > in rebuilding python or any other package on this mostly iptables firewal= l? > (even though nptl and nptlonly are set) ???? > > > Where can I read up on the flags in some detail? > > > > James > > > > > > > --=20 Cr=C3=ADstian Deives dos Santos Viana [aka CD1] --001485f4b2ca21798604733ca6c8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hi James,

= Where can I read up on the flags in some detail?

you ca= n read it online at:

http://www.gentoo.o= rg/dyn/use-index.xml

this page lists the global USE flags and th= e local USE flags.

you can also read information about USE flags usi= ng the program "equery" (which, by the way, is in the gentoolkit = package :P):

$ equery u python

it lists the USE flags of that package with a = description, and if you have it enabled or not for that package.

if = you want to go a bit further, you can read the ebuild file (http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-= lang/python/python-2.6.2-r1.ebuild?view=3Dmarkup) and see what it does = when the USE flag "threads" is enabled. the python ebuild only pa= sses that information to the Python configure script (--with-threads), so y= ou should read in Python documentation why threads support is so important = (or not).

Is this a goo= d idea or bad idea to leave the "-threads" flag unset
in rebuilding python or any other package on this mostly iptables firewall?=

according to the "Local USE flags" webp= age:
python | threads: Enable threading support (DON'T DISABLE THIS = UNLESS YOU KNOW WHAT YOU'RE DOING)

it's better to keep it enabled =3D)

see you,

On Thu, Sep 10, 2009 at 11:41 AM, James <wireless@tampabay.= rr.com> wrote:
Cr=C3=ADstian Viana <cristiandeives <at> gmail.com> writes:


> Ebuils that need xml support don't have a USE flag for it. =C2=A0O= nly those where
it's optional.

> python has optional XML support, but gentoolkit needs that feature.--<= br>


OK I got the xml flag issue resolved, but what about the "thread= s" flag"?


>From my original post:


USE=3D"-* -nls mmx hardened =C2=A0ncurses ssl crypt berkdb tcpd pam pe= rl pcre \
python readline zlib bzip2 nptl nptlonly syslog"

so nptl and nptlonly flags are set. -* means most other flags are uns= et.


To rebuild python, it want the xml flag set for gentoolkit (got it).

But also it shows "-threads" flag as not set.

dev-lang/python-2.6.2-r1 =C2=A0USE=3D"berkdb ncurses readline ssl
-build -doc -examples -gdbm* -ipv6* -sqlite -threads* -tk -ucs2 -wininst -x= ml*"


Is this a good idea or bad idea to leave the "-threads" fla= g unset
in rebuilding python or any other package on this mostly iptables firewall?=
(even though nptl and nptlonly are set) ????


Where can I read up on the flags in some detail?



James









--
Cr=C3=ADstian De= ives dos Santos Viana [aka CD1]
--001485f4b2ca21798604733ca6c8--