Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > What combination of USE flags work for you ?

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-07-2009   #31 (permalink)
Linux User
 
hazel's Avatar
 
Join Date: May 2004
Location: Harrow, UK
Posts: 492
Quote:
Originally Posted by darkrose0510 View Post
package.use also has gnome for gtk (it wouldn't compile without it)
That's funny! I have -gnome in make.conf and no package.use file but I had no problem with compiling gtk.
__________________
"I'm just a little old lady; don't try to dazzle me with jargon!"
hazel is offline  


Reply With Quote
Old 04-07-2009   #32 (permalink)
Linux User
 
darkrose0510's Avatar
 
Join Date: Jan 2006
Location: Queensland, the cyclone/flood/drought capital of Australia
Posts: 364
I've got the same on my aspire one... are you running 32bit? It must be a 64bit thing I'm guessing.
__________________
Inventor of '{' and '}' - patent pending

A computer without a Microsoft operating system is like a dog without bricks tied to its head.
darkrose0510 is offline   Reply With Quote
Old 04-18-2009   #33 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
I had a bit of fun getting the xorg-server update to work with hotplugging, here is my current desktop system make.conf (32 bit system) ...
Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="-O2 -march=i686 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"

#next line replacement for above - added symlink for kernel symlink auto update
USE="
# start of USE flag list
# wanted
alsa arts audio cairo cdr clamav
dvd firefox hal ieee1394 imlib kde
mp3 nls opengl qt4 qt3
spell symlink truetype
X xine
# unwanted
-esd -gnome
-xinerama
"
# end of USE flag list
# add -input_evdev for xorg_1_5 with no hotplugging

INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="nvidia"

# added for openoffice
LINGUAS="en_GB"

# old flags changed 4 Apr 09 USE="X alsa cairo cdr clamav dvd firefox ieee1394 kde opengl qt4 qt3 xine symlink esd -gnome imlib minimal nls spell truetype xinerama"
#USE = "X alsa cairo cdr clamav dvd firefox ieee1394 kde opengl qt4 qt3 xine"
# added esd gnome imlib minimal nls spell truetype xinerama for IceWM install

#next lines added to allow portage to function until mirrorselect can be emerged
#GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
GENTOO_MIRRORS="ftp://gentoo.virginmedia.com/sites/gentoo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
I left the old use flag combination ... it worked but did not do everything I wanted ... I decided I lived without sound in X long enough so arts, audio, mp3 were added etc.
USE flag layout based on gruven's earlier posts ... unless you have a space after each flag emerge gets a bit confused

... I'm sure I will refine/add to the list but it works for the moment
Jonathan183 is offline   Reply With Quote
Old 04-19-2009   #34 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
Code:
USE="
# start of USE flag list
# wanted
alsa arts audio cairo cdr clamav
dvd firefox hal ieee1394 imlib kde
mp3 nls opengl qt4 qt3
spell symlink truetype
X xine
# unwanted
-esd -gnome
-xinerama
"
The words I highlighted above, while not particularly problematic, don't probably have the effect you intended. In the middle of a variable definition (which is just what USE is) comments have no effect. So, you are just adding a few words/tokens to your USE flags list: "# start of USE flag list wanted unwanted"

Probably not too problematic because neither of these tokens seems like a candidate for any future flag. But in any case I'd remove them. If you want further fine grained documentation in make.conf you can separate blocks by concatenating the USE variable later in the script. Like this:

Code:
# comment 1
USE="foo blah either"
# comment -2
USE="$USE -food -vlad -tepes"
Regards and happy Sunday
i92guboj is offline   Reply With Quote
Old 04-19-2009   #35 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
Thanks i92guboj ... the #wanted are just comments for me ... if they start causing problems I will rearrange as you suggested actually I'll probably give it a go
Jonathan183 is offline   Reply With Quote
Old 04-20-2009   #36 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
Quote:
Originally Posted by Jonathan183 View Post
Thanks i92guboj ... the #wanted are just comments for me ... if they start causing problems I will rearrange as you suggested actually I'll probably give it a go
They won't cause any problems for the reason I commented above: unlikely names for an USE flag. But that's besides the point of my previous post: the #wanted stuff are comments "for me" as you say, but they are not comments for bash. They are USE flags for bash and for portage to all purposes. That's why I suggest taking the comments out of the variable declaration.

Your way is probably harmless. Still not correct.

Of course, you are free to use them as you wish. I just wanted you to be aware of the potential issues.

With the word list that you have there, there won't be a problem. But if, for example, you do this:

Code:
USE="-kde
#this is so that kde is not enabled
foo
bar
"
Then, kde will be enabled, because in what you think that's a comment, "kde" is defined, and it will take precedence over the previous "-kde" token.

I hope it makes sense.
i92guboj is offline   Reply With Quote
Old 04-20-2009   #37 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
Thanks i92guboj, already acted on see below current version for 64 bit laptop ...
Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.

CFLAGS="-march=athlon64 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

### next line added to optimise for dual processors
MAKEOPTS="-j3"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"

### wanted flags
USE="alsa arts cairo cdr clamav
dvd dvdr fam firefox flac gif hal ieee1394 imlib jpeg kde mp3 nls
ogg opengl png qt4 qt3 raw ssl spell symlink tiff truetype
usb vorbis xine X"

### unwanted flags
USE="$USE -esd -gnome -msn -pcmcia -xinerama -yahoo"

VIDEO_CARDS="nvidia"

LINGUAS="en_GB"

GENTOO_MIRRORS="ftp://gentoo.virginmedia.com/sites/gentoo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
it was time to tidy a few things up anyway ... I'm compiling with this arrangement at the moment so would not have posted - once the flags have lasted for a month or so and been through a couple of
emerge -avuDN world and emerge --depclean then revdep-rebuild cycles I consider them stable enough
Jonathan183 is offline   Reply With Quote
Old 06-06-2009   #38 (permalink)
Linux User
 
saivin's Avatar
 
Join Date: Dec 2008
Location: Bengaluru, India
Posts: 292
Hi,
I installed Gentoo on my laptop with default USE flags and now am installing on desktop with these suggestions. So, nothing useful post from me regarding USE flags.

But I have one question: WHY HAVE YOU NOT MADE THIS A STICKY??? (Yes, I'm angry and am screaming)

Its such a useful information on such an important aspect of Gentoo system. Please consider this request...
__________________
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
saivin is offline   Reply With Quote
Old 06-07-2009   #39 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,100
Quote:
Originally Posted by saivin View Post
Hi,
I have one question: WHY HAVE YOU NOT MADE THIS A STICKY??? (Yes, I'm angry and am screaming)

Its such a useful information on such an important aspect of Gentoo system. Please consider this request...
Consider your wish granted saivin.
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 06-15-2009   #40 (permalink)
Linux User
 
saivin's Avatar
 
Join Date: Dec 2008
Location: Bengaluru, India
Posts: 292
Me too..me too...
The below is my USE flags list. I just appended the use.desc and removed whatever I didnot want and whatever I could not understand... It may not be a wisely decided set but its just working for me.
Code:
USE="
a52 aac aalib acpi alsa apm avahi 
bash-completion bcmath bluetooth branding bzip2 
cairo cdparanoia cdr cracklib crypt css cups curl 
dbus dri dvd dvdr 
encode
ffmpeg firefox flac fltk fontconfig ftp 
gif gimp gnome gnome-keyring gnutls gpm gzip gtk gtkhtml 
hal 
ieee1394 imap imlib 
java javascript jbig jpeg 
-kde 
lame lash ldap libnotify libsamplerate libwww lzo 
m17n-lib mad maildir matroska mbox memlimit mhash mime mmap mmx mng modplug mozilla mp3 mpeg mtp multilib musepack 
nas ncurses nsplugin 
ogg openal openexr 
pcre pdf perl php png policykit portaudio posix python 
-qt3 -qt4 quicktime 
raw rdesktop readline 
samba session smp sndfile snmp sockets socks5 source sox speex spell spl sse sse2 ssl svg svga symlink syslog sysvipc
taglib tcl tcpd theora tiff timidity tk tokenizer truetype 
unicode usb 
vcd vnc vorbis 
wavpack wifi win32codecs wmf 
X x264 xattr xine xinetd xml xmlrpc xpm xulrunner xvid 
zeroconf zlib "
Btw, why the make.conf is readable only by root? Whats so secretive about it? Infact, even 'sudo' didnot have permission, had to use 'su'.
__________________
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
saivin is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:18 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2