View previous topic :: View next topic |
Author |
Message |
Black Imp Apprentice
Joined: 09 Oct 2004 Posts: 168
|
Posted: Sun Dec 31, 2006 2:27 am Post subject: USE: too many flags! |
|
|
hi I've just installed a gentoo with kernel 2.6.18 gentoo r5 on a bios raid 0. I modified make.conf with a few flags for USE. when I emerge --info I find there are too many useless flags that I've never seen turned on! where are they from? I mean all those flags for each old video card.
Code: | Gentoo Base System version 1.12.1
Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo-r5 i686)
=================================================================
System uname: 2.6.18-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow alsa berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader dri dvd dvdr exif fortran gdbm gif gphoto2 gpm iconv ipv6 isdnlog jpeg2k kde libg++ mysqli ncurses nls nptl nptlonly opengl pam pcre perl ppds pppd python qt readline reflection scanner session spl sse ssl tcpd truetype-fonts type1-fonts udev unicode wifi xorg zlib alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
|
have I set anything wrong in kernel config? |
|
Back to top |
|
|
noice Guru
Joined: 05 Dec 2005 Posts: 473 Location: italia, Ischia
|
Posted: Sun Dec 31, 2006 2:36 am Post subject: |
|
|
have you set the extension features in make.conf?
es: Code: | VIDEO_CARDS="nv nvidia vesa fbdev fglrx radeon sis v4l"
INPUT_DEVICES="keyboard mouse joystick synaptics"
ALSA_CARDS="intel8x0 emu10k1 ens1371" |
i think that your profile is wrong. If you want change it: Code: | eselect profile list |
_________________ Noice
when you post remove comments Code: | grep -vh '^[[:space:]]*\(#\|$\)' "$@" |
|
|
Back to top |
|
|
Black Imp Apprentice
Joined: 09 Oct 2004 Posts: 168
|
Posted: Sun Dec 31, 2006 4:08 am Post subject: |
|
|
thank you! I've just read with more attention x86 Handbook and actually i've omitted to set profile. It 's new to me. Once was not set by users. thankx! |
|
Back to top |
|
|
Black Imp Apprentice
Joined: 09 Oct 2004 Posts: 168
|
Posted: Fri Jan 12, 2007 5:53 am Post subject: |
|
|
I've reinstalled gentoo - on a bios raid0 -. at the moment i've emerged only grub, updated glibc and reinstalled ncurses. I've modified make.conf and I've cutted this way all video cards flags except nv and nvidia - should I keep both of them for safety? - and all audio cards flags except emu10k1.
Code: |
VIDEO_CARDS="nv nvidia"
ALSA_CARDS="emu10k1"
INPUT_DEVICES="keyboard mouse joystick"
|
I guess synaptics is for touchpad, isn't it?
1. Now the most part of undesirable flags are about alsa plugins: how can I reduce their number?
2. where are these extended make.conf options documented ?
I 've tried
Code: |
eselect profile list
|
but it doesn't recognize 'eselect'. what should I emerge? in x86 handbook says there are only 2 profiles: one default fo 2.6 kernel and one default for 2.4 kernel
thanx |
|
Back to top |
|
|
Arfrever Bodhisattva
Joined: 29 Apr 2006 Posts: 2463 Location: 異世界
|
Posted: Fri Jan 12, 2007 9:59 am Post subject: |
|
|
Black Imp wrote: | I've cutted this way all video cards flags except nv and nvidia - should I keep both of them for safety? |
Yes. You can also add "vesa".
Black Imp wrote: | 1. Now the most part of undesirable flags are about alsa plugins: how can I reduce their number? |
Set ALSA_PCM_PLUGINS variable appropriately.
Black Imp wrote: | 2. where are these extended make.conf options documented ? |
"/usr/portage/profiles/desc/*.desc".
Black Imp wrote: | I 've tried
Code: |
eselect profile list
|
but it doesn't recognize 'eselect'. what should I emerge? |
Code: | # rm /etc/make.profile
# ln -s /usr/portage/default-linux/x86/2006.1/desktop /etc/make.profile |
Sveikinu
Arfrever |
|
Back to top |
|
|
Black Imp Apprentice
Joined: 09 Oct 2004 Posts: 168
|
Posted: Fri Jan 12, 2007 2:07 pm Post subject: |
|
|
thank you very much. i'll try later at home.
make.profile is already a link to /usr/portage/default-linux/x86/2006.1/desktop
Code: |
ls -GFg /etc/make.profile
|
|
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
|
Back to top |
|
|
|