On Fri, Sep 16, 2005 at 08:53:10PM -0700, maxim wexler wrote > > Differs from both of yours again. Here's my > > package.use for the machine: > > > > dragonfly ~ # cat /etc/portage/package.use > > no such file on my machine. Did I miss something?
package.use is a file where you can turn USE flags on or off *FOR INDIVIDUAL PACKAGES*. Here's mine... app-misc/mc -X app-office/openoffice-bin java app-text/xpdf motif media-gfx/gimp doc exif media-libs/win32codecs real media-video/mplayer custom-cflags i8x0 real sse2 3dnowext mmxext net-misc/wget ssl net-nntp/slrn uudeview sys-libs/glibc userlocales www-client/links svga sys-apps/busybox static There are some options that certain packages *MUST* have, while other packages *MUST NOT* have them. E.g. busybox is a "rescue package". It is most likely going to be required when libraries are screwed up. So it needs static linking, which is a bad idea for most apps. I use mc (Midnight Commander) mostly in text consoles. It has weird interaction with X. I therefore turn off X support for mc. svga pounds away directly at IO ports, and requires setuid root (or else run an app as root). It's OK with links, but I don't want it in my global USE var, because then a whole bunch of other apps, besides links, will start requiring setuid. Additionally, check /usr/portage/profiles/use.local.desc for package-specific flags. /etc/portage/package.use is where those flags should go. > This is all I got: > USE="java alsa esd mad mp3 ogg oss vorbis xmms" > > Assembling these flags has been hit or miss. Something I read in a > forum somewhere or just a guess. It certainly doesn't represent all > the software I've emerged since setting up this system about 4 months > ago. Is there some sort of tried and true method of determining what > USE flags to use. cat /proc/cpuinfo on your machine, and post the output on this list. That'll let us know what CFLAGS and USE flags your cpu supports. And of course, a lot depends on what programs you're running on your machine. -- Walter Dnes <[EMAIL PROTECTED]> My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list