Re: [gentoo-user] pkg -flag
I thought the docs stated they default to on - it's been a while since I've read them. On Thu, 21 Aug 2003 12:56:02 -0400 Lloyd D Budd <[EMAIL PROTECTED]> wrote: On Thu, 2003-08-21 at 12:51, brett holcomb wrote: Aren't use flags defaulted to on so that if the package knows about debug and you don't explicitly say -debug then it will include the debug option. Apparently not... at least not on ppc. Do some default to on? -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 21 August 2003 11:56, Lloyd D Budd wrote: > On Thu, 2003-08-21 at 12:51, brett holcomb wrote: > > Aren't use flags defaulted to on so that if the package > > knows about debug and you don't explicitly say -debug then > > it will include the debug option. > > Apparently not... at least not on ppc. Do some default to on? No, not all USE flags default to on. Take a look at /etc/make.profile/use.defaults to see what a system starts out with. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/RSBKXVaO67S1rtsRAgOJAJ9SfDjyAR59wcd5X4ipXP5W6dX6LgCgyYgB d24SK7EtuW00UlpA8gJs8JU= =ef/n -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
On Thu, 2003-08-21 at 12:51, brett holcomb wrote: > Aren't use flags defaulted to on so that if the package > knows about debug and you don't explicitly say -debug then > it will include the debug option. Apparently not... at least not on ppc. Do some default to on? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
Aren't use flags defaulted to on so that if the package knows about debug and you don't explicitly say -debug then it will include the debug option. On Thu, 21 Aug 2003 11:00:21 -0500 donnie berkholz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 21 August 2003 09:13, Lloyd D Budd wrote: Hi Brett, So if a package has '-debug' then (a) does this mean that debug is not available? or (b) does this mean that I can optionally remove debug? That means you do not currently have 'debug' in your USE flags, therefore the package will not be built with 'debug'. If you did USE="debug" emerge -vp xfree, you would see the -debug changed to +debug. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/ROyXXVaO67S1rtsRAtJxAKCQmIaSBezvGE+K2hqATyukBLE9bQCguFVY ewWqTFaulHiifH35TIj1geQ= =KnXC -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
It depends - if the package you are installing knows about a debug option then it will use it, if you do -debug you tell it not to compile in the stuff for debug. It's package dependent, not Gentoo. On Thu, 21 Aug 2003 10:13:21 -0400 Lloyd D Budd <[EMAIL PROTECTED]> wrote: Hi Brett, So if a package has '-debug' then (a) does this mean that debug is not available? or (b) does this mean that I can optionally remove debug? On Thu, 2003-08-21 at 10:17, brett holcomb wrote: It depends on the package. If the package supports debug as an option then debug enables it, -debug disables it. On Thu, 21 Aug 2003 10:02:11 -0400 Lloyd D Budd <[EMAIL PROTECTED]> wrote: >Hi Brett. Thank you for the swift reply. You provide >sicinct info. >Unfortunately, I cannot info for the negative case. Do >you know the >answers to my specific questions? > >On Thu, 2003-08-21 at 10:10, brett holcomb wrote: >> Most packages have many options that they can be >> configured and built with. However, not everyone needs >>or >> wants all of them. For example, I may not want to >>compile >> a package with arts options since I don't use KDE. In >> another distro we have to use flags on the configure -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 21 August 2003 09:13, Lloyd D Budd wrote: > Hi Brett, So if a package has '-debug' then > (a) does this mean that debug is not available? > or > (b) does this mean that I can optionally remove debug? That means you do not currently have 'debug' in your USE flags, therefore the package will not be built with 'debug'. If you did USE="debug" emerge -vp xfree, you would see the -debug changed to +debug. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/ROyXXVaO67S1rtsRAtJxAKCQmIaSBezvGE+K2hqATyukBLE9bQCguFVY ewWqTFaulHiifH35TIj1geQ= =KnXC -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
On Thu, 2003-08-21 at 10:44, Jason Stubbs wrote: > On Thursday 21 August 2003 23:13, Lloyd D Budd wrote: > > Hi Brett, So if a package has '-debug' then > > (a) does this mean that debug is not available? > > or > > (b) does this mean that I can optionally remove debug? > > Neither. "-debug" means that the package supports the debug flag but that it > is disabled with the current use flag settings. Thank you, I feel so enlightened! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
On Thursday 21 August 2003 23:13, Lloyd D Budd wrote: > Hi Brett, So if a package has '-debug' then > (a) does this mean that debug is not available? > or > (b) does this mean that I can optionally remove debug? Neither. "-debug" means that the package supports the debug flag but that it is disabled with the current use flag settings. Jason -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] pkg -flag
I would have thought that it indicates the default value > -Original Message- > From: Lloyd D Budd [mailto:[EMAIL PROTECTED] > Sent: 21 August 2003 15:13 > To: [EMAIL PROTECTED] > Subject: Re: [gentoo-user] pkg -flag > > > Hi Brett, So if a package has '-debug' then > (a) does this mean that debug is not available? > or > (b) does this mean that I can optionally remove debug? > > On Thu, 2003-08-21 at 10:17, brett holcomb wrote: > > It depends on the package. If the package supports debug > > as an option then debug enables it, -debug disables it. > > > > On Thu, 21 Aug 2003 10:02:11 -0400 > > Lloyd D Budd <[EMAIL PROTECTED]> wrote: > > >Hi Brett. Thank you for the swift reply. You provide > > >sicinct info. > > >Unfortunately, I cannot info for the negative case. Do > > >you know the > > >answers to my specific questions? > > > > > >On Thu, 2003-08-21 at 10:10, brett holcomb wrote: > > >> Most packages have many options that they can be > > >> configured and built with. However, not everyone needs > > >>or > > >> wants all of them. For example, I may not want to > > >>compile > > >> a package with arts options since I don't use KDE. In > > >> another distro we have to use flags on the configure > > > > > > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
Hi Brett, So if a package has '-debug' then (a) does this mean that debug is not available? or (b) does this mean that I can optionally remove debug? On Thu, 2003-08-21 at 10:17, brett holcomb wrote: > It depends on the package. If the package supports debug > as an option then debug enables it, -debug disables it. > > On Thu, 21 Aug 2003 10:02:11 -0400 > Lloyd D Budd <[EMAIL PROTECTED]> wrote: > >Hi Brett. Thank you for the swift reply. You provide > >sicinct info. > >Unfortunately, I cannot info for the negative case. Do > >you know the > >answers to my specific questions? > > > >On Thu, 2003-08-21 at 10:10, brett holcomb wrote: > >> Most packages have many options that they can be > >> configured and built with. However, not everyone needs > >>or > >> wants all of them. For example, I may not want to > >>compile > >> a package with arts options since I don't use KDE. In > >> another distro we have to use flags on the configure > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
It depends on the package. If the package supports debug as an option then debug enables it, -debug disables it. On Thu, 21 Aug 2003 10:02:11 -0400 Lloyd D Budd <[EMAIL PROTECTED]> wrote: Hi Brett. Thank you for the swift reply. You provide sicinct info. Unfortunately, I cannot info for the negative case. Do you know the answers to my specific questions? On Thu, 2003-08-21 at 10:10, brett holcomb wrote: Most packages have many options that they can be configured and built with. However, not everyone needs or wants all of them. For example, I may not want to compile a package with arts options since I don't use KDE. In another distro we have to use flags on the configure -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
Hi Brett. Thank you for the swift reply. You provide sicinct info. Unfortunately, I cannot info for the negative case. Do you know the answers to my specific questions? On Thu, 2003-08-21 at 10:10, brett holcomb wrote: > Most packages have many options that they can be > configured and built with. However, not everyone needs or > wants all of them. For example, I may not want to compile > a package with arts options since I don't use KDE. In > another distro we have to use flags on the configure > command line like: > > configure --without-arts > > Since we don't do this directly in Gentoo this handled > with the USE flag. The USE flag tells Gentoo what > options to build the package with. For example if you > have a package who has an option to build with xmms you > can specify xmms in USE and the package will be built with > xmms. It's like specifying --with-xmms on the configure > line. Conversely, -xmms says do NOT configure with the > xmms option. By default, if a flag is not unset (has - in > front of it in the USE variable) it is considered set and > the package is compiled with that option. > > As above since I don't use KDE I have -arts -qt -KDE in my > USE variable. > > Please note that the USE flag only applies to optional > components for a package. If a package must have xmms to > run then it will be compiled with xmms no matter what your > USE variable is. > > On Thu, 21 Aug 2003 09:38:09 -0400 > Lloyd D Budd <[EMAIL PROTECTED]> wrote: > >Hi, > > > >I am trying to better understand flags. I believe I have > >reviewed each > >of the related documents, but I am still not sure of the > >impact of -flag > >when in an ebuild? > > > >For example when I 'emerge -pv xfree' the output is: > >x11-base/xfree-4.3.0-r3 [4.3.0-r2] -3dfx -sse -mmx -3dnow > >-xml2 > >+truetype +nls -cjk +doc -ipv6 -debug -static > > > >Does this mean that debug is not avialable? ie > >USE='debug' will have no > >possible effect. Or does this ean that I can optionally > >remove debug > >using USE='-debug'? > > > >Cheers, > >Lloyd -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pkg -flag
Most packages have many options that they can be configured and built with. However, not everyone needs or wants all of them. For example, I may not want to compile a package with arts options since I don't use KDE. In another distro we have to use flags on the configure command line like: configure --without-arts Since we don't do this directly in Gentoo this handled with the USE flag. The USE flag tells Gentoo what options to build the package with. For example if you have a package who has an option to build with xmms you can specify xmms in USE and the package will be built with xmms. It's like specifying --with-xmms on the configure line. Conversely, -xmms says do NOT configure with the xmms option. By default, if a flag is not unset (has - in front of it in the USE variable) it is considered set and the package is compiled with that option. As above since I don't use KDE I have -arts -qt -KDE in my USE variable. Please note that the USE flag only applies to optional components for a package. If a package must have xmms to run then it will be compiled with xmms no matter what your USE variable is. On Thu, 21 Aug 2003 09:38:09 -0400 Lloyd D Budd <[EMAIL PROTECTED]> wrote: Hi, I am trying to better understand flags. I believe I have reviewed each of the related documents, but I am still not sure of the impact of -flag when in an ebuild? For example when I 'emerge -pv xfree' the output is: x11-base/xfree-4.3.0-r3 [4.3.0-r2] -3dfx -sse -mmx -3dnow -xml2 +truetype +nls -cjk +doc -ipv6 -debug -static Does this mean that debug is not avialable? ie USE='debug' will have no possible effect. Or does this ean that I can optionally remove debug using USE='-debug'? Cheers, Lloyd -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] pkg -flag
Hi, I am trying to better understand flags. I believe I have reviewed each of the related documents, but I am still not sure of the impact of -flag when in an ebuild? For example when I 'emerge -pv xfree' the output is: x11-base/xfree-4.3.0-r3 [4.3.0-r2] -3dfx -sse -mmx -3dnow -xml2 +truetype +nls -cjk +doc -ipv6 -debug -static Does this mean that debug is not avialable? ie USE='debug' will have no possible effect. Or does this ean that I can optionally remove debug using USE='-debug'? Cheers, Lloyd -- [EMAIL PROTECTED] mailing list