On Sunday 30 April 2006 07:22 am, Jeff Rollin wrote: > Oh, yeah. I couldn't understand why people raved about the speed of Gentoo > till I added USE="-DG_DISABLE_DEBUG"
So, this is going to be a very elementary question, but it's honestly because I don't know. I have major problems with Firefox (and even Eclipse) acting very sluggishly. It's understandably annoying, but after using Windows for ten years, I've learned to just swallow a lot of garbage and forget about it. However, now that there's (possibly) a way to fix all this... I don't know about USE flags. I think I get that they're special compile-time preprocessor macros to enable/disable certain things, but I don't know how to use them, as in change them. If my apps all are compiled with debug extensions... that would explain why Gentoo is working (speed-wise) like Kubuntu and other Debian-based distros did. Well, I tried this: > localhost ~ # emerge -vpt mozilla-firefox > --- Invalid atom in /etc/portage/package.keywords: app-crypt/gpg-agent-1.9.19 > --- Invalid atom in /etc/portage/package.keywords: dev-libs/libassuan-0.6.10 > --- Invalid atom in /etc/portage/package.keywords: dev-libs/libksba-0.9.12 > --- Invalid atom in /usr/portage/profiles/package.mask: =dev-libs/libassuan-0.6.10 ~x86 > --- Invalid atom in /usr/portage/profiles/package.mask: =dev-libs/libksba-0.9.12 ~x86 > --- Invalid atom in /usr/portage/profiles/package.mask: =app-crypt/gpg-agent-1.9.19 ~x86 This part I'm worried about, but am not trying to fix right now. Any suggestions, though OT, would be nice. > These are the packages that I would merge, in reverse order: > Calculating dependencies ...done! > [ebuild U ] www-client/mozilla-firefox-1.0.8 [1.0.7-r4] -debug +gnome +ipv6 +java* -mozcalendar -mozdevelop -moznoxft -mozsvg +truetype -xinerama -xprint 32,135 kB I see here that I've got it compiled with the debug pointers (which I'm told slow things down) and it has no KDE/Qt support, either. This... could be a problem. First: I'd like to know where I can change the USE flags globally, such that all new activity will have no debug support, which I don't need. I'd also like to add KDE/Qt functionality, if that's possible on the global level as well. I know this is probably something I should have caught when I installed, but that was a while ago, and I didn't know what a USE flag was, so I left it at the default settings, not wanting to incur the Wrath of the Malconfigured OS. Second: How can I specifically re-build a package with changed USE flags? In other words, I'd like to rebuild a few things I use often and am having speed issues with, but not the whole system (just yet - I'll want a distcc network up before I attempt the whole system all at once, esp. on this little IBM X40...) Thanks for your time! Hope I'm not too annoying! And if there's any part of my Netiquette that isn't correct, tell me. I've only been an active mailing list user for about a year and a half now, so I'm still learning!
pgpbORANokCWp.pgp
Description: PGP signature