Title:   gentoo notes
Subject: Gentoo Download, Install from live cd, create custom .emerge
Author: John Stile <john@stilen.com>
-----------------------------------------------------------------------
REFERENCE: http://www.gentoo.org/dyn/use-index.xml
-----------------------------------------------------------------------
Upgrade to bleeding edge
 1. echo net-www/mozilla-firefox >> /etc/portage/package.unmask
 2. emerge -uDavt world 
  -u upgrade
  -D deep
  -a ask
  -v verbos
  -t tree of deps 
-----------------------------------------------------------------------
Fix word file (/etc/portage/package.keywords
   regenworld
-----------------------------------------------------------------------
Use falgs:
 global: /usr/portage/profiles/use.desc
 local: /usr/portage/profiles/use.local.desc
-----------------------------------------------------------------------
Use search on http://packages.gentoo.org
  to find pakcage containing your app.
   SEARCH: jffs
   Response: mtb 
-----------------------------------------------------------------------
Install vlc 
 * Reread: http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly
 1. vi /etc/portage/package.keywords
    Append line:
      =media-video/vlc-0.8.1 ~x86

 2. List latest stable version 
      emerge -p vlc
	[ebuild  N    ] media-libs/libmpeg2-0.4.0b
	[ebuild  N    ] media-libs/libdvbpsi-0.1.4-r1
	[ebuild  N    ] media-video/vlc-0.8.1

 3. Test install
      emerge -u vlc --pretend
        [blocks B     ] <net-www/mozilla-firefox-1.0-r3 (from pkg media-libs/freetype-2.1.9-r1)

    * So it appears freetype is preventing mozilla-firefox from instaling.

 5. Uninstall mozilla-firefox
      emerge -unmerge mozilla-firefox --pretend
 
 6. Install vlc
      emerge -uDavt vlc
       Start time:  Tue Mar  8 16:09:23 PST 2005
 7. Restart emerge.  I think it quit because it updated emerge
      emerge --resume

  Note: Noticed this message while building:
          * You should run etc-update
  Note: Noticed this message while building:
          * You should run 'revdep-rebuild --soname libreadline.so.4' asap
  Note: all these are deps:
     52 3dfx nls unicode debug altivec httpd vlm gnutls live v4l cdio cddb cdda ogg matroska dvb dvd vcd ffmpeg aac dts flac mpeg oggvorbis theora X opengl freetype svg fbcon svga oss aalib ggi libcaca esd arts alsa wxwindows ncurses xosd lirc joystick mozilla hal stream mad xv bidi1
-----------------------------------------------------------------------
Install Superkaramba and skins
  emerge superkaramba

 1. Search for "superkaramba" in Google.
 2. Follow "Get Themes" link http://netdragon.sourceforge.net/
 3. Scan rapidly the page until you see a text that says: "Information for Theme Creators"
 4. Download the Crystal Liquid Weather ++
 5. Create private directrory:
      mkdir -p ~/.superkaramba/
      tar -C ~/.superkaramba/ -xvjf 
 6. Unpack
      tar -C ~/.superkaramba/ -zxvf 20356-liquid_weather_plus.tar.gz 

<I only got this far>
 7. To select the new background, 
      right click on liquid weather ++, 
      go to "Configure theme-> Change the background" 
      choose "Crystal Blue" from the list. 
 8. Before proceeding create a backup of the following folders and files:
      - background
      - translations
      - liquid_weather.py

  
-----------------------------------------------------------------------
In gentoo there is no telnet binary  
Solution:  emerge  netkit-telnetd
-----------------------------------------------------------------------
   Referenced:  www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6   
   Find a mirror: http://www.gentoo.org/main/en/mirrors.xml
   Change to releases/x86/2004.3/livecd
   download the iso 
      wget http://gentoo.chem.wisc.edu/gentoo/releases/x86/2005.0/installcd/install-x86-minimal-2005.0.iso 
   Burn baby burn:   
      cdrecord -overburn -dev=0,0,0 -v -eject install-x86-universal-2004.3-r1.iso
   Boot from cd
      On my laptop, I booted with:   boot: gentoo dopcmcia 
        hdparm -tT /dev/hda
        modprobe airo
        modprobe airo_cs
        /etc/init.d/pcmcia
        # I didn't use this:  net-setup eth0
        # I didn't use this:  net-start 
        ifconfig eth0 192.168.0.2
        iwconfig eth0 essid all_your_base
        route add -net default gw 192.168.0.60
        echo '192.168.0.60' >> /etc/resolv.conf
 
     **NOTE: For my thinkpad 600e with an aironet 4800 nic, 
             I had to boot the default kernel, 
             modprobe airo_cs; modproble airo; 
             ifconfig 192.168.0.43; route add -net default gw 192.168.0.60   
    Prepare Disk:
        fdisk /dev/hda
          Partition  	Filesystem  	Size  	          Description
          /dev/hda1 	ext2 	        32M 	          Boot partition
          /dev/hda2 	(swap) 	        512M 	          Swap partition
          /dev/hda3 	ext3 	        Rest of the disk  Root partition
          p # to print current partitions
          d # to delete existing partitions
          n -> p -> 1 -> <enter> -> +100Mb       # new boot partition 
          n -> p -> 2 -> <enter> -> +130Mb       # new swap partition
          t -> 2 -> 82                           # change partiton type to swap
          n -> p -> 3 -> <enter> -> <enter>      # new root partition using remaining space
          w -> q                                 # to write and quit

        mke2fs -j /dev/hda1
        mke2fs -j /dev/hda3
        mkswap /dev/hda2
        swapon /dev/hda2 
        mkdir /mnt/gentoo
        mount /dev/hda3 /mnt/gentoo
        mkdir /mnt/gentoo/boot
        mount /dev/hda2 /mnt/gentoo/boot
        cd /mnt/gentoo

    Install gentoo stage   
       First:
           links2  http://www.gentoo.org/main/en/mirrors.xml
             look in releases/x86/2004.3/stages/x86/stage3-x86-2004.3.tar.bz2
               press 'd' to download
         -or- 
           cp /mnt/cdrom/stages/stage1-x86-2004.3.tar.bz2 /mnt/gentoo/
       Second: 
           /mnt/gentoo
           tar -xvjpf stage1-x86-2004.3.tar.bz2

    Install Portage
           links2 http://www.gentoo.org/main/en/mirrors.xml
             look in releases/x86/2004.3/snapshot/portage-20041022.tar.bz2
           cd /mnt/gentoo/usr            
           tar -xvjf /mnt/gentoo/portage-20041202.tar.bz2 -C /mnt/gentoo/usr 

    Set Complile options
           edit /mnt/gentoo/etc/make.conf , Set 
             CHOST="i386-pc-linux-gnu" 
             MAKEOPTS="-j2" 

    Append fast mirrors in /mnt/gentoo/etc/make.conf 
           mirrorselect -a -s4 -o |grep 'GENTOO_MIRRORS=' >> /mnt/gentoo/etc/make.conf 

    Setup dns for chrooted env
           cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

    Mount proc
           mount -t proc none /mnt/gentoo/proc

    Chroot
           cd /mnt/gentoo 
           chroot /mnt/gentoo /bin/bash
           env-update
           source /etc/profile

    Update Portage tree ( takes a long time to run )
           emerge --sync

    Set USE variable:
       /etc/make.profile/make.defaults
     **The default USE settings are placed in the make.defaults files of your profile. 
  
    Activate the userlocales USE flag
       mkdir /etc/portage
       echo "sys-libs/glibc userlocales" >> /etc/portage/package.use
     
    Stage1 - Bootstrap
       cd /usr/portage
       scripts/bootstrap.sh -f
       scripts/bootstrap.semoving linux-headers from your system
       # Remove linux-headers
       emerge -C linux-headers
       emerge --oneshot --nodeps linux26-headers
       scripts/bootstrap.sh
     
     Stage2 - Build all packages
       # List what will be built 
       emerge --pretend system
       # Download source
       emerge --fetchonly system
       # Build packages
       emerge system
     
     Stage3 - Configuring the Kernel 
       # Note locaded modules
       /bin/lsmod
          ipv6, airo_cs, ds, airo, yenta_socket, pcmcia_core, evdev, parport_pc, 
          parport, sbp2, ohci1394, ieee1394, ohci1394, uhci_hcd, usb_storage, ehci_hcd 
       # Timezone 
       ln -sf /usr/share/zoneinfo/GMT /etc/localtime 
       # Download Kernel source 
       #    list: http://www.gentoo.org/doc/en/gentoo-kernel.xml
       # Choose: kernel v2.6 source patched with performance-enhancing features
       emerge gentoo-dev-sources
       #NOTE: emerge selinux-sources # Linux Security Modules 
       #NOTE: emerge win4lin-sources # For running Microsoft Windows applicaitons
     
       # Kernel config
       #    Auto Config tool: genkernel
       # Manual
       cd /usr/src/linux; make menuconfig
-----------------------------------------------
    2.6 Kenerl options:
        Code maturity level options --->
          [*]  Promptfor development and/or incomplete code/drivers
        Processor type and features --->
        	(Athlon/Duron/K7) Processor family 
        File systems --->
         Pseudo Filesystems --->
       	[*] /proc file system support
      	[*] /dev file system support (OBSOLETE)
      	[*]   Automatically mount at boot
      	[*] Virtual memory file system support (former shm fs)
          <*> Reiserfs support
          <*> Ext3 journalling file system support
          <*> JFS filesystem support
          <*> Second extended fs support
          <*> XFS filesystem support
         Device Drivers --->
            Networking support --->
              <*> PPP (point-to-point protocol) support
              <*>   PPP support for async serial ports
              <*>   PPP support for sync tty ports
        Processor type and features  --->
          [ ] Symmetric multi-processing support
        USB Support --->
          <*>   USB Human Interface Device (full HID) support
-----------------------------------------------
       make && make modules_install 
       # Copy kernel into place   
       cp arch/i386/boot/bzImage /boot/kernel-2.6.10-gentoo-r6 
       cp System.map /boot/System.map-2.6.10-gentoo-r6 
       cp .config /boot/config-2.6.10-gentoo-r6
 
       # Alternatly, autoonfig kernel
       emerge genkernel
       genkernel all
        - or -
       genkernel --menuconfig all
 
       #install optional package (coldplug/hotplug)
       emerge coldplug
       rc-update add coldplug boot  
       emerge hotplug
       rc-update add hotplug default

      Install PCMCIA Support
       emerge pcmcia-cs
       rc-update add pcmcia default

      Make an initrd image
       emerge mkinird
        mkinitrd /boot/initrd-2.6.10-r6 2.6.10-gentoo-r6

       #Test add
       emerge --pretend --verbose <package>

       #Need an editor
       emerge vim
      
       #Auto Load modules
       vi /etc/modules.autoload.d/kernel-2.6
          ipv6, airo_cs, ds, airo, yenta_socket, pcmcia_core, evdev, parport_pc, 
          parport, sbp2, ohci1394, ieee1394, ohci1394, uhci_hcd, usb_storage, ehci_hcd 
       modules-update
   Create /etc/fstab
   vi /etc/fstab

#didn't work#    /dev/hda1    /boot         reiserfs      notail,noatime,acl,user_xattr 1 2
    /dev/hda1    /boot         ext2          defaults               1 2
    /dev/hda2    swap          swap          pri=42                 0 0
    /dev/hda3    /             reiserfs      noatime,acl,user_xattr 0 1
    none         /proc         proc          defaults               0 0
    none         /dev/shm      tmpfs         nodev,nosuid,noexec    0 0
    /dev/cdroms/cdrom0   /mnt/cdrom    auto      noauto,user  0 0
    none         /proc/bus/usb usbfs         defaults               0 0 

   Set host name,domain
    echo genx  > /etc/hostname
    echo waste.com > /etc/dnsdomainname

   Add domainname to default run level
    rc-update add domainname default
   Set Network settings
   vi /etc/conf.d/net
     iface_eth0="<your ip address> broadcast <your broadcast address> netmask <your netmask>" 
     -or-
     iface_eth0="dhcp"
     dhcpcd_eth0="-HD"
     dhcpcd_eth0="-N"
     
   Start NIC at boot
     rc-update add net.eth0 default

   Create /etc/hosts
     127.0.0.1     localhost genx
     
   Set root passwd
     passwd

   Update system software
     emerge --sync
     emerge --update world --deep
     # if it stops, restart where you left off with 
     emerge --resume --skipfirst --deep

   Install a logger
     emerge syslog-ng logrotate
     rc-update add syslog-ng default

   Install cron
     emerge dcron  
     rc-update add dcron default

   Other cool tools
     emerge slocate
     emerge reiserfsprogs
     emerge jfsutils
     emerge xfsprogs
     emerge kdebase kdenetwork kdeadmin

   Configure Grub
    emerge grub
    nano -w /boot/grub/grub.conf

       default 0
       timeout 30
       splashimage=(hd0,0)/grub/splash.xp.gz
       title=Gentoo Linux 2.4.10-r6

    Install grub
       cp /proc/mounts /etc/mtab
       grub-install --root-directory=/boot /dev/hda
       --or--
       At console type 'grub'
       grub> root (hd0,0)
       grub> setup (hd0) 
       grub> quit 

   Look at versions of programs installed
       etcat versions wireless-tools

2005-01-27 
  installed firefox and thunderbird
      firefox took about 5 hours
      thunderird took about 3 hours 
  update config files
      etc-update

2005-01-28
  Rebooted and now I can't log into kde...

  Error complaining aboot stuff like:
     xset:  unable to open display ":0"
     Xlib: connection to ":0.0" refused by server
     Xlib: Protocol not supported by server

     xsetroot:  unable to open display ":0"
     startkde: Starting up...
     Xlib: connection to ":0.0" refused by server
     Xlib: Protocol not supported by server

     ksplash: cannot connect to X server :0
     QPixmap: Cannot create a QPixmap when no GUI is being used
      
  This one was still the same
       ~/.xinitrc
            exec /usr/kde/3.3/bin/startkde

  Check possible sessions:
    ls /etc/X11/Sessions/
        Xsession kde-3.3.2

  These files in /etc/ were modified
       /etc/rc.conf
         Thses lines were deleted: 
           XSESSION="kde-3.3.2"
           DISPLAYMANAGER="kde"

  Action1. removed '/etc/' from /etc/make.conf variable in CONFIG_PROTECT_MASK
      
  Action2. Updated
     emerge --deep -U -v system  
     emerge --regen

  Action3. Try to remove and add startup scripts
     rc-update del xdm default
     rc-update add xdm default


###########################################################################<br>
Custom emerge package for gentoo:
###########################################################################<br>
Download from: http://stilen.com/scripts/ebuild/kwlaninfo-0.9.4.ebuild

<BEGIN kwlaninfo-0.9.4.ebuild>
# By John Stile
# Date: Wed Feb  2 11:38:36 PST 2005
# File: kwlaninfo-0.9.4.ebuild 
# DESCRIPTION: 
#    Inspired by linux Journal, Feb 2005, "Gentoo for All the Unusual Reasons"
# PORTAGE_OVERLAY SETUP:
# 1. Add Line To: /etc/make.conf
#     PORTDIR_OVERLAY=""
#     PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage-kwlaninfo"
# 2. Create ebild dir:
#     install -d /usr/local/portage-kwlaninfo
# 3. Put the embild into position
#      mkdir -p /usr/local/portage-kwlaninfo/net-wireless/kwlaninfo
#      cp kwlaninfo-0.9.4.ebuild /usr/local/portage-kwlaninfo/net-wireless/kwlaninfo/
# 4. Digest file:
#      ebuild /usr/local/portage-kwlaninfo/net-wireless/kwlaninfo/kwlaninfo-0.9.4.ebuild  digest
# 5. Unmaks by keyword from 'man protage'
#      echo "net-wireless/kwlaninfo ~x86" >> /etc/portage/package.keywords
# 6. Test to see if package is available:
#      emerge -p kwlaninfo
# Builtin functions
#    pkg_setup()
#    src_unpack()
#    src_compile()
#    src_install()
#    pkg_preinst()
#    pkg_postinst()
############################################################################## 
DESCRIPTION="KDE Applet to display information about wlan connections"
SRC_URI="http://www.ph-home.de/opensource/kde3/kwlaninfo/kwlaninfo-${PV}.tgz"
HOMEPAGE="http://www.ph-home.de/opensource/kde3/kwlaninfo/"
SLOT="0"
LICENSE="GNU GENERAL PUBLIC LICENSE"
KEYWORDS="x86"

RDEPEND="net-wireless/wireless-tools"
DEPEND="${RDEPEND}
        >=kde-base/kde-3
        >=x11-libs/qt-3.1"

PROVIDES="net-wireless/kwlaninfo"
RESTRICT="nomirror" # home grown, so don't look to Gentoo mirrors.
<END kwlaninfo-0.9.4.ebuild>

-------------------------------------------------------
2005 01 07
  Need to setup more wireless stuff... 
  http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup

    if [ ! -d /etc/portage ]; then 
      mkdir -p /etc/portage
    fi
    echo "=sys-apps/baselayout-1.11.9-r1 ~x86" >> /etc/portage/package.keywords
    echo "=sys-apps/sysvinit-2.86 ~x86" >> /etc/portage/package.keywords
    echo "=app-shells/bash-3.0-r7 ~x86" >> /etc/portage/package.keywords
    echo "=sys-libs/readline-5.0-r1 ~x86" >> /etc/portage/package.keywords
    emerge -uav sys-apps/baselayout net-wireless/wireless-tools sys-libs/readline bash

  Edit /etc/conf.d/wireless
    key_ESSID="s:mywepkey enc open"
    preferred_aps=( "ESSID" )
  For Debugging edit /etc/conf.d/rc 
    RC_VERBOSE=yes

  Make sure kernel has wrieless:
    /usr/src/linux/.config
        CONFIG_NET_RADIO=y 
        CONFIG_NET_WIRELESS=y
/etc/conf.d/wireless
-------------------------------------------------------
I switched to a thinkpad r51
    genx jstile #  lspci
    0000:00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
    0000:00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
    0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
    0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
    0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
    0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
    0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
    0000:00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
    0000:00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
    0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
    0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
    0000:00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
    0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf [FireGL 9000] (rev 02)
    0000:02:00.0 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)
    0000:02:00.2 FireWire (IEEE 1394): Texas Instruments: Unknown device 802a (rev 01)
    0000:02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)
    0000:02:02.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
    
-------------------------------------------------------
2005 02 08 
  Need to add thinkpad tools
   Unmask 
     echo "app-laptop/configure-thinkpad ~x86" >> /etc/portage/package.keywords
     echo "app-laptop/tpctl ~x86" >> /etc/portage/package.keywords
     emerge -uav app-laptop/configure-thinkpad app-laptop/thinkpad app-laptop/tpctl
-------------------------------------------------------
2005-06-01
  ximian-connector-2.0.2 in portage is not compatible with evolution-2.2.1.1
  Got'a have the ability to talk to evil exchange server
  So this is what I did:
      Browse to http://bugs.gentoo.org/
      Search for ximian-connector
      Found a posting that included the file ximian-connector-2.2.1.ebuild
          http://bugs.gentoo.org/show_bug.cgi?id=84971	
      Downloaded and moved ebuild into portage area
           cp ximian-connector-2.2.1.ebuild /usr/portage/mail-client/ximian-connector/
      Read the ebuild and try to learn something 
           cat ximian-connector-2.2.1.ebuild
      Create digest for ebuild
           ebuild /usr/portage/mail-client/ximian-connector/ximian-connector-2.2.1.ebuild digest
      Install ximian-connector-2.2.1
           emerge  --update ximian-connector
      While I'm at it, I'm installing 
	   emerge --update evolution-data-server
           emerge --update evolution-webcal   
      To configure the account:
           ximian-connector-setup-2.2
     But... in the end, I'm still having issues connecting to the server.

-------------------------------------------------------
2005-06-01
  installed dig, a kde theme, browser, text editor, and wifi tools, video player
         emerge --update bind-tools
         emerge --update baghira
         emerge --update mozilla-firefox
         emerge --update nedit
         emerge --update kwifitools
        Had to remove this one to get other tools 
         emerge --unmerge kdenetwork  
         emerge --update kwifimanager  
         emerge --update mplayer-skins mplayerplug-in mplayer
         emerge --update 
-------------------------------------------------------
2005-06-01
  Tried to install open office.
        emerge openoffice openoffice-bin
  It failed so it says to try the emerge with --pretend 
        emerge --update --pretend openoffice
  It appears that I must install tcsh
	emerge =app-office/app-shells/tcsh-6.14
  Saw 
 vi /etc/portage/package.keywords


  emerge --update =app-office/openoffice-1.1.4-r1
 
        ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.4-r1/work/sd/source/ui/dlg

        !!! ERROR: app-office/openoffice-1.1.4-r1 failed.
        !!! Function src_compile, Line 425, Exitcode 1
        !!! Build failed!
        !!! If you need support, post the topmost build error, NOT this status message.

  System requirements list 300 MB, but the build is bigger  
       du -sh /var/tmp/portage/openoffice-1.1.4-r1
           2.0G    /var/tmp/portage/openoffice-1.1.4-r1

  Celan it out
       rm -rf /var/tmp/portage/openoffice-1.1.4-r1
  Installing binary from OpenOffice.org
  It requres java but java is masked:
	emerge search sdk
            dev-java/sun-j2sdk [ Masked ]
               Latest version available: 1.5.0
               Latest version installed: [ Not Installed ]
               Size of downloaded files: 66,724 kB
               Homepage:    http://wwws.sun.com/software/java2/download.html
               Description: Sun's J2SE Development Kit, version 1.4.2 (From sources)
               License:     sun-csl

     vi /usr/portage/profiles/package.mask    
               # <compnerd@gentoo.org> (24 Jan 2005)
               # Masked as it has security holes. We (Java Herd) recommend that you use
               # sun-jdk instead of this deprecated package.  This will be removed unless
               # someone wishes to touch this (it has an evil license btw). (bug #78854)
               dev-java/sun-j2sdk

     emerge dev-java/sun-j2sdk

               Calculating dependencies
               !!! All ebuilds that could satisfy "dev-java/sun-j2sdk" have been masked.
               !!! One of the following masked packages is required to complete your request:
               - dev-java/sun-j2sdk-1.5.0 (masked by: package.mask)
               # <compnerd@gentoo.org> (24 Jan 2005)
               # Masked as it has security holes. We (Java Herd) recommend that you use
               # sun-jdk instead of this deprecated package.  This will be removed unless
               # someone wishes to touch this (it has an evil license btw). (bug #78854)

               - dev-java/sun-j2sdk-1.4.1-r1 (masked by: package.mask)
               - dev-java/sun-j2sdk-1.4.2 (masked by: package.mask)
       
               For more information, see MASKED PACKAGES section in the emerge man page or
               section 2.2 "Software Availability" in the Gentoo Handbook.

I'm not getting this unmask stuff... 
There has got to be an easy way to describe mask/unmask (aka KEYWORDS/ACCEPT_KEYWORDS; aka package.mask/package.unmask)      
   man emeerge 

       Masking is done via one of two methods: (second has presidence over first)
       1. FILE: /usr/portage/profile/package.mask 
                blocks listed packages
          FILE: /usr/portage/profile/package.unmask
                unblocks packages in /usr/portage/profile/package.mask

          To unblock Add package to /usr/portage/profile/package.unmask

       2. /etc/portage/package.keywords 
          /etc/make.conf
          ENV VARIABLE: KEYWORDS environment variable masks a package
                  FILE: ?
                        blocks listed packages
          ENV VARIABLE: ACCEPT_KEYWORDS
                  FILE: /etc/make.conf
                        unblocks packages in KEYWORDS
           NOTE: ~ prefix means not 'stable'

          To unblock  add package to ACCEPT_KEYWORDS in /etc/make.conf

     man 5 portage 
          special KEYWORDS:
                     *  Match any stable KEYWORD
                     ~* Match any unstable KEYWORD
 
So I try this and it fails too:
     echo "dev-java/sun-j2sdk ~x86" >> /etc/portage/package.keywords
     emerge dev-java/sun-j2sdk-1.4.2

                     Calculating dependencies

                     !!! Problem in dev-java/sun-j2sdk-1.4.2 dependencies.
                     !!! "Specific key requires an operator (dev-java/sun-j2sdk-1.4.2) (try adding an '=')" exceptions

     emerge =dev-java/sun-j2sdk-1.4.2
                     Calculating dependencies
                     !!! All ebuilds that could satisfy "=dev-java/sun-j2sdk-1.4.2" have been masked.
                     !!! One of the following masked packages is required to complete your request:
                     - dev-java/sun-j2sdk-1.4.2 (masked by: package.mask)
                     # <compnerd@gentoo.org> (24 Jan 2005)
                     # Masked as it has security holes. We (Java Herd) recommend that you use
                     # sun-jdk instead of this deprecated package.  This will be removed unless
                     # someone wishes to touch this (it has an evil license btw). (bug #78854)
                     
                     
                     For more information, see MASKED PACKAGES section in the emerge man page or
                     section 2.2 "Software Availability" in the Gentoo Handbook.

RTFM = Makes for a friendly and nice error message.
I would perfer: ERROR: you are a damn idiot. Quit now.
Error leaves two questions:
    What file or variable does it want me to edit?
    Whta file or variable is blocking it?

To  fix the error, i need to answer the two qutestions.

--------------------------------------------------------
Try to run revers dependency rebuild from gentools
revdep-rebuild -p
     Checking reverse dependencies...
     Packages containing binaries and libraries broken by any package update,
     will be recompiled.
     
     Collecting system binaries and libraries... done.
       (/root/.revdep-rebuild.1_files)
     
     Collecting complete LD_LIBRARY_PATH... done.
       (/root/.revdep-rebuild.2_ldpath)
     
     Checking dynamic linking consistency...
      done.
       (/root/.revdep-rebuild.3_rebuild)
     
     Assigning files to ebuilds... Nothing to rebuild
     
     Evaluating package order... done.
       (/root/.revdep-rebuild.5_order)
     
     Dynamic linking on your system is consistent... All done.

Try to check for security advisotries
glsa-check -l
     All listed as [U] means the system is not affected and

----------------------------------------------
echo 'ALSA_CARDS="intel8x0"' >> /etc/make.conf
emerge alsa-oss alsa-utils 
     
----------------------------------------------
20050609 jstile:  Updated system and lost moudle config
  emerge sync
  emerge world
  etc-update 
     Wow.. I lost my /etc/modules.autoload.d/kernel-2.6
        I think this is what I had:
        ipv6
	airo_cs
	ds
	airo
	ath_pci
	ath_hal
	snd-intel8x0
	e1000
	soundcore
	snd-intel8x0
---------------------------------------------
20050611 jstile:  Update system
     emerge sync
     emerge world
       Failed... on gaim
     USE="lrb4"  emerge app-crypt/mit-krb5
     USE="debug" emerge world
     emerge --info
----------------------------------------------
Prtial gentoo_thinkpad_R51_setup notes
--------------------
Printing
--------------------
http://www.gentoo.org/doc/en/printing-howto.xml
USE="cups foomaticdb ppds usb other_var1 other_var2" emerge cups
USE="cups foomaticdb ppds usb other_var1 other_var2" emerge foomatic

  --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
  LOG FILE = "/tmp/sandbox-net-print_-_foomatic-db-engine-3.0.2-22308.log"
  
  open_wr:   /dev/fd/3 (symlink to /proc/22687/fd/3)
  --------------------------------------------------------------------------------

--------------------
Framebuffer Console 
--------------------
 Use those kernel options:
   video=mtrr,vesafb:1400x1050 vga=834 

----------------
Wireless - wpa_supplicant	
--------------- 
# In the end i did use wpa_supplicatn, not ipw2200 or ipw2100.
# Reference http://gentoo-wiki.com/index.php?title=HOWTO_Wireless_Configuration_and_Startup
# Used second method: wpa_supplicant

  emerge wpa_supplicant
  cp /etc/wpa_supplicant.conf.example /etc/wpa_supplicant.conf
  I did not edit /etc/wpa_supplicant.conf

  vi /etc/conf.d/net
	iface_eth0="dhcp"
	modules=( "wpa_supplicant" )
	wpa_supplicant_ath0="-Dmadwifi"
	wpa_timeout_ath0=60
	essid_AP="all_your_base"
	key_AP=""
	iface_ath0="dhcp"
 
  emerge hotplug coldplug

  # not sure whta this is for: ifplugd
  # Need these modules: ath_pci, ath_hal

iwconfig ath0 essid all_your_base

 emerge --pretend kwifimanager
I'm using the Madwifi driver. 
emerge madwifi-driver madwifi-tools wpa_supplicant wavemon after unmasking them in /etc/portage/package.keywords). 
The required kernel modules are: ath_pci ath_hal ath_rate_onoe wlan wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_xauth.



--------------
ACPI
--------------
emerge --update acpid    
emerge --update acpi           
rc-update add acpid default

----------------
Sound  intel8x0
----------------
/etc/modules.autoload.d/kernel-2.6
	ADD:   soundcore, snd-intel8x0
modules-update

/etc/make.conf
	ADD:  ALSA_CARDS="intel8x0"

#didn't do this#  ALSA_CARDS="intel8x0m" emerge alsa-driver

emerge alsa-driver
emerge alsa-utils    
emerge alsa-oss

rc-update add alsasound default

-----------------------------
Mouse/UltraNav 
-----------------------------
used /dev/input/mice
-----------------------------
keyboard
-----------------------------
 Fn+F5 (Bluetooth), 
 Fn+Home/End (Brightness), 
 Fn+PgUp (ThinkLight) 
 Fn+F3 (Screen off) and Fn+F4 (Suspend) work with APM. 
 Fn+F4 fires a sleep event with ACPI running. 
 Fn+F12 (Hibernate) does not appear to work at all. 
 Alt+Space (Zoom) doesn't work
 
 xmodmap -e 'keycode 233 = F20'
xmodmap -e 'keycode 234 = F19' 

-----------------------------
Video ATI Mobile Radeon 9000.
-----------------------------
emerge ati-drivers
/opt/ati/bin/fglrxconfig
opengl-update ati 
opengl-update xorg-x11

Edit /etc/X11/xorg.conf
###BEGIN xorg.conf ####

Section "dri"
    Mode 0666
EndSection
Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a
EndSection
Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us"
EndSection
Section "InputDevice"
    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"
EndSection
Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   31.5 - 80.5
    VertRefresh 20 - 60
    Option "DPMS"
EndSection
Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "vga"
EndSection
Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    #Option                              "NoDDC"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
    Option "DesktopSetup"               "0x00000100"
    Option "MonitorLayout"              "AUTO, NONE"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
    Option "NoTV"                       "yes"
    Option "TVStandard"                 "NTSC-M"
    Option "TVHSizeAdj"                 "0"
    Option "TVVSizeAdj"                 "0"
    Option "TVHPosAdj"                  "0"
    Option "TVVPosAdj"                  "0"
    Option "TVHStartAdj"                "0"
    Option "TVColorAdj"                 "0"
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "CenterMode"                 "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=4c66
    Screen 0
EndSection
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"
    Subsection "Display"
        Depth       24
        Modes       "1400x1050" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier  "Server Layout"
    Screen "Screen0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
###END xorg.conf ####


-------------------------------------
Got mplayer working well:
USE="dvd cdr dvdr mmx sse alsa mppe-mppc kerberos avi bitmap-fonts crypt encode gif gpm jpeg mad mpeg ncurses oggvorbis opengl png python qt quicktime readline sdl spell ssl svga tcpd turetype X xml2 xmms xv zlib divx4linux libtheora libdv jasper iconvcodec cjkcodecs commons-codec win32codecs =media=plugins/realvideo-codecs" emerge  mplayer-skins mplayerplug-in mplayer             
-------------------------------------
20050611 jstile: Need to connect to a Microsoft VPN via pptp (requires mppe (Microsoft Point-To-Point Encryption)).
  REFERENCE: http://gentoo-wiki.com/HOWTO_PPTP_VPN_client_(Microsoft-compatible_with_mppe)

  emerge gentoo-sources
  cd /usr/src
  #     >>> original instance of package unmerged safely.
  #    
  #     * After installing a new kernel of any version, it is important
  #     * that you have the appropriate /etc/modules.autoload.d/kernel-X.Y
  #     * created (X.Y is the first 2 parts of your new kernel version)
  #    
  #     * For example, this kernel will require:
  #     * /etc/modules.autoload.d/kernel-2.6
  #    
  #     * If you are upgrading from a previous kernel, you may be interested
  #     * in the following documents:
  #     *   - General upgrade guide: http://www.gentoo.org/doc/en/kernel-upgrade.xml
  #     *   - 2.4 to 2.6 migration guide: http://www.gentoo.org/doc/en/migration-to-2.6.xml
  #    
  #    
  #     * For more info on this patchset, and how to report problems, see:
  #     * http://dev.gentoo.org/~dsd/gentoo-sources
  #    >>> Regenerating /etc/ld.so.cache...
  #    >>> sys-kernel/gentoo-sources-2.6.11-r10 merged.
  #    
  #    >>> clean: No packages selected for removal.
  #    
  #    >>> Auto-cleaning packages ...
  #    
  #    >>> No outdated packages were found on your system.
  #    
  #    
  #     * GNU info directory index is up-to-date.

 unlink linux
 ln -sf linux-2.6.11-gentoo-r10 linux
 
 # Patch the kerne
 cd /usr/src
wget ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc4/2.6.12-rc4-mm2/broken-out/ppp_mppe-add-ppp-mppe-encryption-module.patch 
 cd /usr/src/linux
 patch -p1 < ../ppp_mppe-add-ppp-mppe-encryption-module.patch
  #  patching file drivers/net/Kconfig
  #  Hunk #1 succeeded at 2470 (offset 63 lines).
  #  patching file drivers/net/Makefile
  #  Hunk #1 succeeded at 106 (offset 2 lines).
  #  patching file drivers/net/ppp_generic.c
  #  patching file drivers/net/ppp_mppe.c
  #  patching file drivers/net/ppp_mppe.h
  #  patching file include/linux/ppp-comp.h

 cp ../linux-2.6.11-gentoo-r9/.config .

make menuconfig
  #   Cryptographic options --->
  #  [*] Cryptographic API
  #  [*] HMAC support
  #  [M] MD5 digest algorithm
  #  --- SHA1 digest algorithm
  #  [M] SHA256 digest algorithm
  #  [M] SHA384 and SHA512 digest algorithms
  #  [M] DES and Triple DES EDE cipher algorithms
  #  [M] ARC4 cipher algorithm
  #  [M] Deflate compression algorithm
  #  
  #  and
  #  Device Drivers --->
  #  Networking support --->
  #  [*] PPP (point-to-point protocol) support
  #  [*] PPP filtering
  #  [M] PPP support for async serial ports
  #  [M] PPP support for sync tty ports
  #  [M] PPP Deflate compression
  #  [M] PPP BSD-Compress compression
  #  [M] PPP MPPE compression (encryption) (NEW) 

  make all && make modules_install
  mount /boot
  make install
    #This will: 
    # cp arch/i386/boot/bzImage /boot/kernel-2.6.11-gentoo-r10
    # cp System.map /boot/System.map-2.6.11-gentoo-r10
    # cp .config /boot/config-2.6.11-gentoo-r10

  Add mppe-mppc to USE in /etc/make.conf

  USE="mppe-mppc" emerge ppp pptpconfig pptpclient  

  pptpclient

  # feed in server, domain, user, password 

-------------------------------------
20050612 jstile: Set the time correctly
 # choice UTC or LOCAL

 # set system clock to UTC
 echo 'CLOCK="UTC"'  >> /etc/rc.conf

 # set the time zone
 rm -rf /etc/timezone
 ln  -s /usr/share/zoneinfo/US/Pacific /etc/timezone

 # Set the hardware clock another way 
 hwclock --utc --systohc
-------------------------------------
20050612 jstile: update stuff on system
  emerge --regen --update ximian-connector evolution evolution-data-server evolution-webcal

  emerge --sync
  emerge --update world --deep
-------------------------------------
Set default browser in Evolution to firefox
 gconftool-2 --set /desktop/gnome/url-handlers/http/command -t string 'mozilla %s'
 gconftool-2 --set /desktop/gnome/url-handlers/https/command -t string 'mozilla %s'
-------------------------------------
20050613 jstile:  printing is driving me crazy.
 setup print in evolution email client
 setup print in firefox
 setup print from command line

  It looks like evolution will respect the PRINTER environment variable
  The command lpr will also respect the PRINTER environment varialbe.

 emerge cups 
 cd /etc/cups/ 
 mv printers.conf printers.conf.orig
 vi printers.conf
     ------------------------------
     <DefaultPrinter stilen_hplj5m>
     Info stilen_hplj5m
     Location stilen_hplj5m
     DeviceURI socket://192.168.60.32:9100
     State Idle
     Accepting Yes
     JobSheets none none
     QuotaPeriod 0
     PageLimit 0
     KLimit 0
     </Printer>
     ------------------------------
 mv cupsd.conf cupsd.conf.orig
 vi cupsd.conf
     ------------------------------
     LogLevel info
     Printcap /etc/printcap
     User lp
     Group lp
     RunAsUser Yes
     Port 631
     BrowseAllow @LOCAL
     BrowseDeny All
     <Location />
       Order Deny,Allow
       Deny From All
       Allow From 127.0.0.1
       Allow From 127.0.0.2
       Allow From @LOCAL
     </Location>
     <Location /admin>
       AuthType BasicDigest
       AuthClass Group
       AuthGroupName sys
       Order Deny,Allow
       Deny From All
       Allow From 127.0.0.1
     </Location>
     ------------------------------
 rc-update add cupsd default
 emerge net-print/foomatic
 emerge net-print/hpijs
 emerge gnome-base/gnome-print
 emerge net-print/gnome-cups-manager
 emerge media-gfx/gimp-print

 echo "PRINTER=stilen_hplj5m" >> ~/.bashrc
 . ~/.bashrc
  echo "foo" |lpr -P stilen_hplj5m

 in kde, 'kde menu' -> Settings -> 'kde print manger'
 	choose cups
        Select stilen_hplj5m
 gnome-cups-manager
	# shows many errors.  Not sure what's happening

 # Installing this installed a lot of other stuff:
 emerge gnome-base/control-center
 # Run the gnome-control-center 
------------------------------------------
All kinds of bad stuff happended... need to add notes. 
------------------------------------------ 
 format a muvo usb mp3 memory stick
 emerge sys-fs/dosfstools
------------------------------------------ 
Add gtk debug tools
  emerge sys-devel/gdb dev-util/cgdb
------------------------------------------ 
20050617 jstile: trying to install dvdrip
       emerge games-emulation/psemu-gpupetemesagl
       emerge  dev-perl/gtk-perl
-------------------------------------------
20050619 jstile: kernel upgrade to 2.6.12, but need pptp mppe support
                 installing testing kernel (at least mppe works)
        -----------------------------
        pptp mppe setup in a nutshell
        -----------------------------
        echo 'sys-kernel/mm-sources ~x86' >> /etc/portage/package.keywords
        emerge sys-kernel/mm-sources
        cd /usr/src/
        cp linux/.config linux-2.6.12-rc6-mm1/
        rm -rf linux
        ln -s linux linux-2.6.12-rc6-mm1
        cd linux
         make oldconfig
          	I just accepted all the defaults
        	I figure if they sugest I trun something on its for a good reason
         make menuconfig
        Device Drivers
          Networking support
            <M>   PPP MPPE compression (encryption) (EXPERIMENTAL) 
        
        Cryptographic options 
          --- Cryptographic API
          <M>   MD5 digest algorithm
          <M>   SHA1 digest algorithm #this one is required
          <M>   SHA256 digest algorithm
          <M>   SHA384 and SHA512 digest algorithms
          <M>   DES and Triple DES EDE cipher algorithms ###this one is commonplace too (recommended)
          <M>   ARC4 cipher algorithm #this one is required
        Exit and save
        # Don't use genkernel here unless you cat tell it to use your config file.
        # Using 'genkernel all' erased my config options
        make && make modules_install
        
        vi /boot/grub/menu.lst    
          # For booting GNU/Linux
          title  Gentoo-2.6.12-rc6-mm1
          kernel (hd0,0)/kernel-2.6.12-rc6-mm1 root=/dev/hda3

        find {./,/lib/modules/} -name "*mppe*"
          ./drivers/net/ppp_mppe.c
          ./drivers/net/ppp_mppe.h
          ./drivers/net/ppp_mppe.c.rej
          ./drivers/net/ppp_mppe.h.rej
          ./include/config/ppp/mppe.h
          /lib/modules/2.6.12-rc6-mm1/kernel/drivers/net/ppp_mppe.ko
          /lib/modules/2.6.11-gentoo-r10/kernel/drivers/net/ppp_mppe.ko

         emerge madwifi-driver madwifi-tools wpa_supplicant wavemon
         find /lib/modules/ -name "ath*"
           /lib/modules/2.6.12-rc6-mm1/net/ath_hal.ko
           /lib/modules/2.6.12-rc6-mm1/net/ath_pci.ko
           /lib/modules/2.6.12-rc6-mm1/net/ath_rate_amrr.ko
           /lib/modules/2.6.12-rc6-mm1/net/ath_rate_onoe.ko
           /lib/modules/2.6.11-gentoo-r10/net/ath_hal.ko
           /lib/modules/2.6.11-gentoo-r10/net/ath_pci.ko
           /lib/modules/2.6.11-gentoo-r10/net/ath_rate_amrr.ko
           /lib/modules/2.6.11-gentoo-r10/net/ath_rate_onoe.ko

         ldconfig
         reboot
         emerge arts
         emerge media-video/ati-drivers
         emerge media-sound/esound
         emerge --sync ; emerge -a net-dialup/ppp; emerge -a net-dialup/pptpclient; emerge -a net-dialup/pptpconfig
 
        # To get this to work, I had to comment out require-mppe
        /etc/ppp/options.pptp
          lock
          noauth
          nobsdcomp
          nodeflate
          mtu 1000
          mru 1000
          lcp-echo-failure 10
          lcp-echo-interval 10

        # This is my peer
        /etc/ppp/peers/www.stilen.com
          remotename www.stilen.com
          linkname www.stilen.com
          ipparam www.stilen.com
          pty "pptp www.stilen.com --nolaunchpppd "
          name ms\\johns
          usepeerdns
          debug dump
          noauth
          file /etc/ppp/options.pptp

        # test it
          pon  www.stilen.com
          ifconfig 
          route -n
          cat /etc/resolv.conf

        # when you are done turn it off 
          poff www.stilen.com

        # The gui
        pptpconfig

       # check the module
         modinfo ppp_mppe
          filename:       /lib/modules/2.6.12-rc6-mm1/kernel/drivers/net/ppp_mppe.ko
          author:         Frank Cusack <frank@google.com>
          description:    Point-to-Point Protocol Microsoft Point-to-Point Encryption support
          license:        Dual BSD/GPL
          alias:          ppp-compress-18
          version:        1.0.2
          vermagic:       2.6.12-rc6-mm1 486 gcc-3.4
          depends:        ppp_generic
          srcversion:     C830CF53E0DE600A1583C9C

--------------------------------------        
# custom splash screen
        cd /boot/grub && wget http://www.schultz-net.dk/downloads/grub/gentoo.xpm.gz
        vi /boot/grub/menu.lst
           splashimage=/boot/grub/gentoo.xpm.gz

# Adding gensplash (see /etc/splash)
        emerge splashutils && splash_geninitramfs -v -g /boot/fbsplash-emergence-1024x768 -r 1024x768 emergence && rc-update add splash default
        # Add line to menu.lst
        /boot/grub/menu.lst
          # For booting GNU/Linux
          title  Gentoo-2.6.12-rc6-mm1-high_res
          kernel (hd0,0)/kernel-2.6.12-rc6-mm1 root=/dev/hda3 video=vesafb:ywrap,pmipal,1400x1280-24@70
          initrd (hd0,0)/fbsplash-emergence-1024x768

        # adjust resolution
          # 
          splash_geninitramfs -v -g /boot/fbsplash-emergence-1280x1024 -r 1280x1024 emergence
          # 
           title  Gentoo-2.6.9-gentoo-r13
           root (hd0,0)
           kernel (hd0,0)/vmlinuz ro root=/dev/hda3 video=vesafb:ywrap,pmipal,1280x1024-32@75 splash=verbose,theme:emergence
           initrd (hd0,0)/fbsplash-emergence-1280x1024

           splash_geninitramfs -v -g /boot/fbsplash-emergence-1400x1050 -r 1400x1050 emergence
           emerge bootsplash-themes # creates /etc/bootsplash
           bootsplash2fbsplash Theme-Matrix
-----------------------------------------------
20050622 jstile:
  Why don't I just leave the working system alone!

      # install samba dies
      emerge samba
      #######################
      # ERROR: install dies
      #######################
      configure: creating ./config.status
      config.status: creating include/builddefs
      config.status: creating include/config.h
      === include ===
      rm -f attr
      ln -s . attr
      === libmisc ===
      /usr/bin/libtool --mode=compile i386-pc-linux-gnu-gcc -O2 -mcpu=i686 -march=pentium-m -fomit-frame-pointer -O2 -mcpu=i686 -march=pentium-m -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -mcpu=i686 -march=pentium-m -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -c quote.c
      libtool: compile: unable to infer tagged configuration
      libtool: compile: specify a tag with `--tag'
      gmake[1]: *** [quote.lo] Error 1
      make: *** [default] Error 2

      !!! ERROR: sys-apps/attr-2.4.19-r1 failed.
      !!! Function src_compile, Line 51, Exitcode 2
      !!! (no error message)
      !!! If you need support, post the topmost build error, NOT this status message.

      # try to fix with gcc-update
      fix_libtool_files.sh 3.4.4

      /sbin/fix_libtool_files.sh `gcc -dumpversion` --oldarch i686-pc-linux-gnu

          * Scanning libtool files for hardcoded gcc library paths...
       *   [1/8] Scanning /lib ...
       *   [2/8] Scanning /usr/lib ...
       *   [3/8] Scanning /opt/blackdown-jdk-1.4.2.02/jre/lib/i386 ...
       *   [4/8] Scanning /usr/games/lib ...
       *   [5/8] Scanning /usr/i686-pc-linux-gnu/lib ...
       *   [6/8] Scanning /usr/kde/3.4/lib ...
       *   [7/8] Scanning /usr/local/lib ...
       *   [8/8] Scanning /usr/qt/3/lib ...

      vi /etc/ld.so.conf
      # comment out /usr/i686-pc-linux-gnu/lib
      gcc-config i386-pc-linux-gnu-3.4.4
          * Switching to i386-pc-linux-gnu-3.4.4 compiler ...

      #commented out

      ldconfig
      revdep-rebuild

      ##########################
      # This fixed it!!!!
      ##########################
      # purge autoconf and try to run emerge again
      emerge -P autoconf
      emerge attr

      emerge -uDvp world
      emerge -uDv world
      emerge -deep samba

      change:
        /etc/env.d/05binutils:1:MANPATH=/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man
        /etc/env.d/05binutils:2:INFOPATH=/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info
        /etc/env.d/05binutils:3:LDPATH=/usr/i686-pc-linux-gnu/lib

      to:
        /etc/env.d/05binutils
        MANPATH=/usr/share/binutils-data/i386-pc-linux-gnu/2.16.1/man
        INFOPATH=/usr/share/binutils-data/i386-pc-linux-gnu/2.16.1/info
        LDPATH=/usr/i386-pc-linux-gnu/lib

       env-update

       emerge --sync
       emerge -uDv world
       emerge --deep samba
       emerge -P autoconf

      from konqueror can't run smb://
      smb:// + konquerer = "Protocol not supported"
      # konqueror
      Added 'samba' to USE flags in /etc/make.conf
      env-upda
      emerge --deep kdenetwork
 
      Now evolution will not start correctly! Ar!@$$%

gdb evolution
	GNU gdb 6.3
	Copyright 2004 Free Software Foundation, Inc.
	GDB is free software, covered by the GNU General Public License, and you are
	welcome to change it and/or distribute copies of it under certain conditions.
	Type "show copying" to see the conditions.
	There is absolutely no warranty for GDB.  Type "show warranty" for details.
	This GDB was configured as "i386-pc-linux-gnu"...(no debugging symbols found)
	Using host libthread_db library "/lib/libthread_db.so.1".
       
        (gdb) r


        Starting program: /usr/bin/evolution
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        [Thread debugging using libthread_db enabled]
        [New Thread 16384 (LWP 4229)]
        es menu class init
        
        (evolution:4229): evolution-shell-WARNING **: Cannot activate 'OAFIID:GNOME_Evolution_Calendar_Component:2.2': g_module_open of `/usr/lib/evolution/2.2/components/libevolution-calendar.so' failed with `/usr/lib/evolution/2.2/components/libevolution-calendar.so: undefined symbol: em_popup_new'
        
find / -name libevolution-calendar.so
	/usr/lib/evolution/2.2/components/libevolution-calendar.so
equery belongs /usr/lib/evolution/2.2/components/libevolution-calendar.so
	[ Searching for file(s) /usr/lib/evolution/2.2/components/libevolution-calendar.so in *... ]
	mail-client/evolution-2.2.1.1 (/usr/lib/evolution/2.2/components/libevolution-calendar.so)

# Searched the forum but didn't find any cool stuff
	http://forums.gentoo.org/search.php?mode=results 
-----------------------------------
2005-10-31 

# Install with debug symbols
FEATURES="nostrip"   emerge   evolution evolution-exchange evolution-data-server 

# Get some info about what things where compiled against.
emerge --info 

# General debugging
gdb --args  evolution
  (gdb) start  -or- r
  (gdb) continue
   <some segfault>
  (gdb) bt
  (gdb) quit

# extra debugging
gdb E2K_DEBUG=2 /usr/bin/evolution

# Show dependencies 
equery depgraph evolution evolution-exchange evolution-data-server     

# 
emerge --regen
etc-update
xdpyinfo | less
fglrxinfo

find / -name "*evolution*" |grep '.pc$'
#  /usr/lib/pkgconfig/evolution-data-server-1.2.pc
#  /usr/lib/pkgconfig/evolution-plugin-2.4.pc
#  /usr/lib/pkgconfig/evolution-shell-2.4.pc

pkg-config --modversion /usr/lib/pkgconfig/evolution-data-server-1.2.pc
#	1.4.1
pkg-config --modversion /usr/lib/pkgconfig/evolution-plugin-2.4.pc
#	2.4.1
pkg-config --modversion /usr/lib/pkgconfig/evolution-shell-2.4.pc
#	2.4.1


-----------------------------------
20050716 jstile:  Update system

emerge sync
emerge world

  ERROR:   
      i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../dbus -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.4 -DDBUS_API_SUBJECT_TO_CHANGE=1 -O2 -pipe -march=pentium3 -fomit-frame-pointer -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus_bindings.lo -MD -MP -MF .deps/dbus_bindings.Tpo -c dbus_bindings.c  -fPIC -DPIC -o .libs/dbus_bindings.o
      i686-pc-linux-gnu-gcc: dbus_bindings.c: No such file or directory
      i686-pc-linux-gnu-gcc: no input files 
      make[3]: *** [dbus_bindings.lo] Error 1
      make[3]: Leaving directory `/var/tmp/portage/dbus-0.23.4-r1/work/dbus-0.23.4/python'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/var/tmp/portage/dbus-0.23.4-r1/work/dbus-0.23.4/python'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/var/tmp/portage/dbus-0.23.4-r1/work/dbus-0.23.4'
      make: *** [all] Error 2

      !!! ERROR: sys-apps/dbus-0.23.4-r1 failed.
      !!! Function src_compile, Line 106, Exitcode 2
      !!! (no error message)
      !!! If you need support, post the topmost build error, NOT this status message.

  # looked it up on http://forums.gentoo.org/viewtopic-t-360004-highlight-sysapps+dbus0+23+4r1.html
  emerge --deep dev-python/pyrex   
  emerge -Davu dbus
  emerge -Davu world

  ERROR:
      `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

  vi /etc/make.conf
  CHANGE:
      CHOST="i386-pc-linux-gnu"
      CFLAGS="-O2 -mcpu=i386 -march=pentium-m -fomit-frame-pointer"
      CXXFLAGS="${CFLAGS}"
   TO:
      CHOST="i386-pc-linux-gnu"
      CFLAGS="-O2 -march=i386 -march=pentium-m -fomit-frame-pointer"
      CXXFLAGS="${CFLAGS}"

  env-update
  emerge -uDpv world
  emerge -Davu world

  emerge --update world --deep
  revdep-rebuild 
---------------------------------------------        
20050719 jstile: Convert from KDE monolithic to the split ebuilds 
 
 # find conflicting packages
 emerge --deep -p -up kde-meta > conflict_list.txt
 # Look at conflict_list.txt and unmerge monolithic ebuilds
 emerge --unmerge kdeutils
 emerge --unmerge kdepim
 emerge --unmerge kdeedu
 emerge --unmerge kdebase
 emerge --unmerge kdebase
 emerge --unmerge kdegraphics
 emerge --unmerge kdeartwork
 emerge --unmerge kdewebdev
 emerge --unmerge kdetoys
 emerge --unmerge kdeadmin
 # Now install all kde split ebuilds
 emerge kde-meta
-------------------------------------------------
20050725 jstile: need a fully functional kde desktop
http://forums.gentoo.org/viewtopic-t-314633-highlight-konqueror+browsing+enighborhood.html?sid=601f622d8293b75d4bd4e5d4a4988439
emerge -av kdesu arts kate kuickshow kpdf kooka ksnapshot kopete knetattach krdc konqueror kwifimanager amarok k3b kscd kaffeine krec kmix kontact kmail kaddressbook korganizer kscreensaver kappfinder kmenuedit kwalletmanager krfb ksysguard konsole ark kfloppy kdict knotes kcalc kfilereplace kcharselect kcontrol kfind kxkb kdeprint kdemultimedia-kioslaves kdegraphics-kfile-plugins kdemultimedia-kfile-plugins kamera digikam  khelpcenter kdialog

-------------------------------------------------
20050727 jstile: 
 # Only want e1000 to start if I'm plugged into the network
  emerge -Dv  ifplugd
 # Update system
  emerge --deep -v rrdtool udev libxslt shadow mozilla-launcher ppp kivio koffice-libs koffice-data gconf
-------------------------------------------------
20050727 jstile: Update kernel to linux-2.6.13-rc3-mm1
   cd /usr/src/linux-2.6.13-rc3-mm1/
   cp ../linux/.config .
   make oldconfig
   cd ../
   rm -rf linux
   ln -s 
   ln -s linux-2.6.13-rc3-mm1 linux
   cd linux
   
   make && make modules_install
   cp arch/i386/boot/bzImage /boot/kernel-2.6.13-rc3-mm1
   cp System.map /boot/System.map-2.6.13-rc3-mm1
   cp .config /boot/config-2.6.13-rc3-mm1
   
   vi /boot/grub/menu.lst
      # For booting GNU/Linux				  	 
      title  Gentoo-2.6.13-rc3-mm1 			  	 
      kernel (hd0,0)/kernel-2.6.13-rc3-mm1 root=/dev/hda3	  	 
   							  	 
   emerge --sync 
   emerge madwifi-driver madwifi-tools wpa_supplicant wavemon	        
   emerge arts ati-drivers esound  ppp pptpclient pptpconfig

   #  look in /etc/modules.autoload.d/kernel-2.6
   # make sure modules are present  

   find /lib/modules/2.6.13-rc3-mm1/ -name "ath*"
      /lib/modules/2.6.13-rc3-mm1/net/ath_hal.ko
      /lib/modules/2.6.13-rc3-mm1/net/ath_pci.ko
      /lib/modules/2.6.13-rc3-mm1/net/ath_rate_amrr.ko
      /lib/modules/2.6.13-rc3-mm1/net/ath_rate_onoe.ko

   find /lib/modules/2.6.13-rc3-mm1/ -name "*mppe*"
      /lib/modules/2.6.13-rc3-mm1/kernel/drivers/net/ppp_mppe.ko

   find /lib/modules/2.6.13-rc3-mm1/ -name "*e1000*"
      /lib/modules/2.6.13-rc3-mm1/kernel/drivers/net/e1000
      /lib/modules/2.6.13-rc3-mm1/kernel/drivers/net/e1000/e1000.ko
  
   find /lib/modules/2.6.13-rc3-mm1/ -name "*wlan*"
      /lib/modules/2.6.13-rc3-mm1/net/wlan_xauth.ko
      /lib/modules/2.6.13-rc3-mm1/net/wlan_ccmp.ko
      /lib/modules/2.6.13-rc3-mm1/net/wlan_acl.ko
      /lib/modules/2.6.13-rc3-mm1/net/wlan_wep.ko
      /lib/modules/2.6.13-rc3-mm1/net/wlan_tkip.ko
      /lib/modules/2.6.13-rc3-mm1/net/wlan.ko
-------------------------------------------------
apm support:
   compile kernel with 
  Power management options (ACPI, APM)  --->
    [*] Power Management support
  ACPI (Advanced Configuration and Power Interface) Support  --->
    [ ] ACPI Support
  APM (Advanced Power Management) BIOS Support  --->
    <*> APM (Advanced Power Management) BIOS support
      [ ]   Ignore USER SUSPEND
      [*]   Enable PM at boot time

 vi /boot/grub/menu.lst
     add apm=on acpi=off
 emerge apmd
 /etc/init.d/apmd start
 rc-update add apmd default

 apm
-------------------------------------------------
Add sdk to USE flags in /etc/make.conf

env-update

emerge xorg-x11

echo "media-video/ati-drivers ~x86" >> /etc/portage/package.keywords
echo "media-video/ati-drivers-extra ~x86" >> /etc/portage/package.keywords

emerge ati-drivers ati-drivers-extra ati-gatos

opengl-update ati

fglrxconfig

startx
fglrxinfo

---------------------------------
fglrxconfig
Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.

Enter the number for your mouse model: [2]

Do you want to enable Emulate3Buttons (y/n)? [n]

Mouse device: [/dev/input/mice]

Enter a number to choose the keyboard type: [1]

Press [Enter] for the next page or
enter the number for your keyboard layout country: 1

Do you want to enable TV out (y/n)? [n]

Enter the number for your configuration: [1] 2

Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.

Enter your choice (1-8): [1] 6

Enter your choice: [1]

Enter your choice: 1

Which modes do you want? 6


Enter your choice: 2


Do you want to use a virtual desktop where the dimensions are bigger
than your maximum x and y screen resolution? (y/n) [n]

Enter the number for your default user restrictions: [1]

Enter the number for your profile: [1]

Do you want to initialize xfree86-dga (y/n)? [n]

Do you want to export pseudo color visuals (y/n)? [n]

Do you want to synchronize buffer swaps
with the vertical sync signal (y/n)? [n]

Please enter: [1]

Do you want to force multi sample visuals
for every OpenGL application? (y/n)? [n]

Disable FSAA Gamma (y/n)? [n]

Customize FSAA Multi Sample Position (y/n)? [n]

Do you want to use the external AGP GART module (y/n)? [n]

Do you want to enable "AGP Locked User Pages" (y/n)? [y]

--------------------------------------------
20050731 jstile: setup java plugin for java
# find the firefox plugin direcotry
   emerge --search firefox
   equery files www-client/mozilla-firefox    |grep plugin

   #Looks like it's in: 	/usr/lib/mozilla-firefox/plugins
# find java browser plugin 
   emerge --search jdk
   #	   *  dev-java/blackdown-jdk
   #		 Latest version available: 1.4.2.02
   #		 Latest version installed: 1.4.2.02
   #		 Size of downloaded files: 66,813 kB
   #		 Homepage:    http://www.blackdown.org
   #		 Description: Blackdown Java Development Kit
   #		 License:     sun-bcla-java-vm

equery files dev-java/blackdown-jdk |grep 'plugin' |grep '.so$'
   /opt/blackdown-jdk-1.4.2.02/jre/lib/i386/libjavaplugin_jni.so
   /opt/blackdown-jdk-1.4.2.02/jre/plugin/i386/mozilla/libjavaplugin_oji.so    
   /opt/blackdown-jdk-1.4.2.02/jre/plugin/i386/netscape4/libjavaplugin.so      
       
# Create link to java plugin inside firefox plugin directory 
  ln -s /opt/blackdown-jdk-1.4.2.02/jre/plugin/i386/mozilla/libjavaplugin_oji.so  /usr/lib/mozilla-firefox/plugins/
  restart firefox
-----------------------------------------------
20050731 jstile: update kde 3.4.2
emerge --deep  kde-meta kdeaccessibility-meta kdeaddons-meta kdeadmin-meta kdeartwork-meta kdebase-meta kdebindings-meta kdeedu-meta kdegames-meta kdegraphics-meta kdemultimedia-meta kdenetwork-meta kdepim-meta kdesdk-meta kdetoys-meta kdeutils-meta kdewebdev-meta
-----------------------------------------------
20050815 jstile: update pacakges
emerge --sync
emerge  --deep -u --pretend world
<ignore all the conflict stuff and just install updates>
emerge --deep -u --pretend vim-core pdflib callgrind sharutils XML-LibXSLT synergy amarok cgdb kvoctrain gst-plugins-gnomevfs tkdvd alsa-utils mozilla-firefox nmap udev baselayout imlib2 gpgme gnome-menus gaim libIDL samba opengl-update    
-----------------------------------------------
20050822 jstile: update packages
  emerge --sync
  emerge --update --deep  opengl-update file gtk+ libgcrypt libbonobo libbonoboui evolution xine-lib imlib2 baselayout udev apache cdrtools tkdvd busybox sane-backends wpa_supplicant netpbm gtkmm gnome-vfsmm grub madwifi-driver
-----------------------------------------------
20050912 jstile: ran out of space on my drive...
  offending dirs 
     2.8G    /usr/portage/distfiles
     1.1G /var/tmp/portage

  rm -rf /usr/portage/distfiles/*
  rm -rf /var/tmp/portage/*

  emerge --sync
  emerge --update portage
  emerge tmpwatch

  emerge --update --deep ncurses autoconf-wrapper xorg-x11 libxml2 openldap mysql libxslt udev orbit libbonoboui gnome-keyring svgalib foomatic-db xine-lib ffmpeg nmap apache swig subversion librsvg lsof amarok gentoolkit cvs ucspi-tcp djbdns

-----------------------------------------------
20050913 jstile: upgraded kernel to deal with a problem rebuiding mplayer
cd /usr/src/linux-2.6.13-rc5-mm1/
make oldconfig

   cd ../
   rm -rf linux
   ln -s linux-2.6.13-rc5-mm1 linux
   cd linux
   
   make && make modules_install
   cp arch/i386/boot/bzImage /boot/kernel-2.6.13-rc5-mm1
   cp System.map /boot/System.map-2.6.13-rc5-mm1
   cp .config /boot/config-2.6.13-rc5-mm1

   vi /boot/grub/menu.lst
      # For booting GNU/Linux				  	 
      title  Gentoo-2.6.13-rc5-mm1 			  	 
      kernel (hd0,0)/kernel-2.6.13-rc5-mm1 root=/dev/hda3	  	 
   
   emerge --sync 
   emerge pcmcia-cs 
   emerge madwifi-driver madwifi-tools wpa_supplicant wavemon	        
   emerge arts ati-drivers esound  ppp pptpclient pptpconfig
   emerge ati-drivers ati-drivers-extra ati-gatos

       -------------------------------------------------------
       ERROR:  I kept getting the error 
           !!!  Digest verification Failed: <file name>
	   !!! Reason: Filesize does not match recorded size 
       I checked the sizes and md5's jive with the Manifest.  
       The solution was running 'ebuild  /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r2.ebuild digest'
         
       The is is the error I cncountered
       
       enx portage #	emerge ati-drivers ati-drivers-extra ati-gatos
       Calculating dependencies ...done!
       >>> emerge (1 of 3) media-video/ati-drivers-8.14.13-r5 to /
       >>> md5 files   ;-) ati-drivers-8.14.13-r3.ebuild
       >>> md5 files   ;-) ati-drivers-8.16.20-r1.ebuild
       >>> md5 files   ;-) ati-drivers-8.14.13-r5.ebuild
       >>> md5 files   ;-) ati-drivers-8.14.13-r2.ebuild
       >>> md5 files   ;-) ati-drivers-8.16.20.ebuild
       >>> md5 files   ;-) ati-drivers-8.14.13-r4.ebuild
       >>> md5 files   ;-) files/09ati
       >>> md5 files   ;-) files/ioctl32.patch
       >>> md5 files   ;-) files/8.8.25-via-amd64.patch
       >>> md5 files   ;-) files/digest-ati-drivers-8.16.20-r1
       >>> md5 files   ;-) files/8.8.25-smp.patch
       >>> md5 files   ;-) files/fglrx-2.6.12-pci_name.patch
       >>> md5 files   ;-) files/digest-ati-drivers-8.16.20
       >>> md5 files   ;-) files/fglrx-8.14.13-alt-2.6.12-agp.patch
       >>> md5 files   ;-) files/p1.patch
       >>> md5 files   ;-) files/fglrx-2.6.12-inter_module_get.patch
       >>> md5 files   ;-) files/digest-ati-drivers-8.14.13-r2
       >>> md5 files   ;-) files/digest-ati-drivers-8.14.13-r3
       >>> md5 files   ;-) files/digest-ati-drivers-8.14.13-r4
       >>> md5 files   ;-) files/digest-ati-drivers-8.14.13-r5

       !!! Digest verification Failed:
       !!!    /usr/portage/distfiles/fglrx_6_8_0-8.14.13-1.i386.rpm
       !!! Reason: Filesize does not match recorded size

       -------------------------------------------------
       SOLUTION to corrupt ebuild and "Reason: Filesize does not match recorded size"
       ..................................
       TRI 1:  Select a different mirror 
       ..................................      
           mirrorselect  -s5 -H -D
 	   find /usr/portage/ -name "fglr*"
 	   rm -rf /usr/portage/distfiles/fglrx_6_8_0-8.14.13-1.i386.rpm /usr/portage/media-video/ati-drivers/files/fglrx-2.6.12-pci_name.patch /usr/portage/media-video/ati-drivers/files/fglrx-8.14.13-alt-2.6.12-agp.patch /usr/portage/media-video/ati-drivers/files/fglrx-2.6.12-inter_module_get.patch
 	   emerge --resume
           emerge ati-drivers ati-drivers-extra ati-gatos
       <Failed again>
       ...................................................
       TRI 2:  Delete the files, and force a new download
       ...................................................
     	    mkdir /root/BACKUP
     	    mv /usr/portage/media-video/ati-drivers /root/BACKUP/
     	    find /usr/portage/ -name "Manifest" |grep media-vid |grep ati

     		/usr/portage/media-video/ati-drivers-extra/Manifest
     		/usr/portage/media-video/elation/Manifest
     		/usr/portage/media-video/ati-gatos/Manifest

     	    rm -rf  /usr/portage/media-video/ati-drivers-extra/Manifest
     	    rm -rf  /usr/portage/media-video/ati-gatos/Manifest
 
     	    find /usr/portage/media-video/ -name "*ati*"

     	    rm -rf /usr/portage/media-video/ati-drivers-extra
     	    rm -rf /usr/portage/media-video/ati-gatos
     	    mirrorselect  -s5 -H -D

     	    emerge --regen
     	    emerge --sync
     	    emerge ati-drivers ati-drivers-extra ati-gatos

       <Fails again>
       ...................................................
       TRI 3:   Test to see if the other packages install
       ...................................................
       emerge  ati-drivers-extra ati-gatos
       <success>
       ...................................................
       TRI 4:   Test file size and md5sum against Manifest
       ...................................................
       
       ls -ltr /usr/portage/media-video/ati-drivers
       
 	   total 77
 	   -rw-r--r--  1 root root   227 Apr 24 23:05 metadata.xml
 	   -rw-r--r--  1 root root  7659 Sep 10 06:35 ati-drivers-8.14.13-r3.ebuild
 	   -rw-r--r--  1 root root  6687 Sep 10 06:35 ati-drivers-8.14.13-r2.ebuild
 	   -rw-r--r--  1 root root  6498 Sep 13 15:47 ati-drivers-8.16.20-r1.ebuild
 	   -rw-r--r--  1 root root  7763 Sep 13 15:47 ati-drivers-8.14.13-r5.ebuild
 	   drwxr-xr-x  2 root root   648 Sep 13 16:05 files
 	   -rw-r--r--  1 root root  6227 Sep 13 16:05 ati-drivers-8.16.20.ebuild
 	   -rw-r--r--  1 root root  7495 Sep 13 16:05 ati-drivers-8.14.13-r4.ebuild
 	   -rw-r--r--  1 root root  1779 Sep 13 16:05 Manifest
 	   -rw-r--r--  1 root root 19930 Sep 13 16:05 ChangeLog

      cat /usr/portage/media-video/ati-drivers/Manifest
            -----BEGIN PGP SIGNED MESSAGE-----
            Hash: SHA1

            MD5 105e48927920d0a38ce78b201f10b5ba ati-drivers-8.14.13-r3.ebuild 7659
            MD5 b6f094c1c5d5b686866cbe72cd810d8b ati-drivers-8.16.20-r1.ebuild 6498
            MD5 b349644e1bbe997832e57e9e2bddb72e ati-drivers-8.14.13-r5.ebuild 7763
            MD5 b0e07b107756bc3303e04b578b67d9a1 ati-drivers-8.14.13-r2.ebuild 6687
            MD5 142444f733b464a3c075fac4415aef50 ati-drivers-8.16.20.ebuild 6227
            MD5 a37cb5612ebeb94a8e4fa889c88c7c9e ati-drivers-8.14.13-r4.ebuild 7495
            MD5 8ae30c722759861e47d3361ff2a7b865 ChangeLog 19930
            MD5 c306bb93866a4dd8913899229dd20726 metadata.xml 227
            MD5 e61309d064f12cc623e4d6e78aa82b36 files/09ati 39
            MD5 73907ca81a7435350b4529ddaa7305d5 files/ioctl32.patch 368
            MD5 f1b11573ad27da023fce7d7a67a37861 files/8.8.25-via-amd64.patch 1198
            MD5 ac17fe94be90be4ac158d26cd759884f files/digest-ati-drivers-8.16.20-r1 158
            MD5 32c54a887820a2712b641217c3b54272 files/8.8.25-smp.patch 376
            MD5 0850638c4f5ac2466c793df428fc5d84 files/fglrx-2.6.12-pci_name.patch 2807
            MD5 ac17fe94be90be4ac158d26cd759884f files/digest-ati-drivers-8.16.20 158
            MD5 275238baa6d2db2b96bc8b98275a7928 files/fglrx-8.14.13-alt-2.6.12-agp.patch 2586
            MD5 0a9c95a134ef4f317240c54f62e9480e files/p1.patch 1120
            MD5 9ae27a9d7736cb6ce30b41ff384004d8 files/fglrx-2.6.12-inter_module_get.patch 1265
            MD5 82c5244e2e3822f5e73ff38138dc23c1 files/digest-ati-drivers-8.14.13-r2 157
            MD5 82c5244e2e3822f5e73ff38138dc23c1 files/digest-ati-drivers-8.14.13-r3 157
            MD5 82c5244e2e3822f5e73ff38138dc23c1 files/digest-ati-drivers-8.14.13-r4 157
            MD5 b9868c358d04b898fac7ee197572857d files/digest-ati-drivers-8.14.13-r5 157
            -----BEGIN PGP SIGNATURE-----
            Version: GnuPG v1.4.2 (GNU/Linux)

            iD8DBQFDJ1cD2G5bA0cA/ScRAkdeAJ45MXp5CGXTRRTWCVvDnvaWuU1TEwCgxRh5
            wwCTEfesnQH1nN99VGiOywk=
            =mGau
            -----END PGP SIGNATURE-----
      
      md5sum /usr/portage/media-video/ati-drivers/*
      
 	    8ae30c722759861e47d3361ff2a7b865  /usr/portage/media-video/ati-drivers/ChangeLog
 	    a7fde18ae6e40565fe2914c11a931b50  /usr/portage/media-video/ati-drivers/Manifest
 	    b0e07b107756bc3303e04b578b67d9a1  /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r2.ebuild
 	    105e48927920d0a38ce78b201f10b5ba  /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r3.ebuild
 	    a37cb5612ebeb94a8e4fa889c88c7c9e  /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r4.ebuild
 	    b349644e1bbe997832e57e9e2bddb72e  /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r5.ebuild
 	    b6f094c1c5d5b686866cbe72cd810d8b  /usr/portage/media-video/ati-drivers/ati-drivers-8.16.20-r1.ebuild
 	    142444f733b464a3c075fac4415aef50  /usr/portage/media-video/ati-drivers/ati-drivers-8.16.20.ebuild
 	    c306bb93866a4dd8913899229dd20726  /usr/portage/media-video/ati-drivers/metadata.xml

       ...................................................
       TRI 5:   Regenerate ebuild digest
       ...................................................
       NOTE: http://forums.vidalinux.com/viewtopic.php?p=3686&sid=68a138ee54f24a7d0fa4064327272422
      
       man ebuild

             digest Creates a digest file for the package in /usr/portage/[category]/[package]/files/. This digest file lists the md5sum's of  all  the  files
             found in the SRC_URI.  If the fetched source of the package is corrupt/bogus in some way, the md5sum will catch this.

       cd /usr/portage/distfiles/
       ebuild <packagename-packageversion.ebuild> digest
       cd /usr/portage/distfiles/
       ls -alF fglrx_6_8_0-8.14.13-1.i386.rpm

             -rw-rw-r--  1 root portage 8765541 Jun  8 13:13 fglrx_6_8_0-8.14.13-1.i386.rpm

       md5sum fglrx_6_8_0-8.14.13-1.i386.rpm

             5187698cee2edf3dee89bc3eee5729c1  fglrx_6_8_0-8.14.13-1.i386.rpm

      cd /usr/portage/media-video/ati-drivers/files/
      vi digest-ati-drivers-8.14.13-r2

 	     ebuild /usr/portage/media-video/ati-drivers-extra/ati-drivers-extra-8.16.20.ebuild  digest
 	     ebuild /usr/portage/media-video/ati-drivers/ati-drivers-8.16.20.ebuild digests
 	     ebuild /usr/portage/media-video/ati-drivers/ati-drivers-8.16.20.ebuild digest
 	     ebuild /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r** digest
 	     ebuild /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r* digest
 	     ebuild /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r2.ebuild digest
 	     ebuild /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r3.ebuild digest
 	     ebuild /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r4.ebuild digest
 	     ebuild /usr/portage/media-video/ati-drivers/ati-drivers-8.14.13-r5.ebuild digest
 
      FIXED the ati-drivers

   revdep-rebuild
	    Checking dynamic linking consistency...
	      broken /usr/bin/php (requires  libmysqlclient.so.12)
	      broken /usr/kde/3.4/bin/amarokapp (requires  libmysqlclient.so.12)
	      broken /usr/lib/samba/pdb/mysql.so (requires  libmysqlclient.so.12)
	     done.
      STILL NOT FIXED - 20050915
   -------------------------------------------------
   find /lib/modules/2.6.13-rc5-mm1/ -name "ath*"
   find /lib/modules/2.6.13-rc5-mm1/ -name "*mppe*"
   find /lib/modules/2.6.13-rc5-mm1/ -name "*e1000*"
   find /lib/modules/2.6.13-rc3-mm1/ -name "*wlan*"

   env-update
   emerge maplayer
      # that worked
---------------------------------------------------
20050915 jstile:  evolution hangs when trying to save an attachement

   Tryied to re-emerge all the components again with the --deep option,
   which results in gnome-contorlcenter 1.4 install, which fails.  
   when I try to emerege just gnome-controlcenter it tries to install 2.xxx 

    emerge strace
    strace -ocrash.log evolution 
   

    emerge mozilla-thunderbird # my fallback email client from now on

    emerge tmpwatch            # keep system from filling up
        vi /etc/cron.daily/tmpwatch
           Uncomment for /var/tmp/portage, /usr/portage/distfiles, and /tmp

    revdep-rebuild -X          # Try to fix problems
      !!! ERROR: dev-php/php-4.4.0 failed.
      !!! Function php-sapi_src_compile, Line 532, Exitcode 2
      !!! compile problem
      !!! If you need support, post the topmost build error, NOT this status message.

I think removing some of the ~x86 keywords and doing an "emerge --update --deep --newuse world" would be good
some of your packages might have to stay ~x86, but I don't know which ones, you'll have to find out the hard way
-------------------------------------------------------
20050920 jstile: system all messed up.  rebooted and now /dev/hdc is gone.
 Looks like devcie files were renamed.
 as of last reboot, I mounted /mnt/cdrom as /dev/hdc
                    k3b could write 
                    cdrecord -scan-bus would fail

   Now  /dev/hdc is gone.
   These are new: 
   ls -alF /dev |grep sr0
      lrwxrwxrwx   1 root root         3 Sep 19 21:11 cdrom -> sr0
      lrwxrwxrwx   1 root root         3 Sep 19 21:11 cdrw -> sr0
      lrwxrwxrwx   1 root root         3 Sep 19 21:11 dvd -> sr0
      lrwxrwxrwx   1 root root         3 Sep 19 21:11 dvdrw -> sr0
      brw-rw----   1 root cdrom  11,   0 Sep 19 21:11 sr0
   cdrecord -scan-bus
     device (0,0,0)

   emerge --deep -u udftools dvd+rw-tools cdrtools
   emerge --update --deep xorg-x11 qt kde-env libvorbis kdelibs iptables itcl apr eject ruby swig subversion mozilla-firefox lsof nmap vorbis-tools  dev-php/php openoffice sane-frontends graphviz valgrind k3b ucspi-tcp djbdns tcpdump

-------------------------------------------------------
20050929 jstile: Install access to man pages - RTFM
emerge man-pages
makewhatis                 
crontab -e
    23 23 * * * /usr/sbin/makewhatis > /dev/null 2>&1
-------------------------------------------------------
20050929 jstile: Installed ethernet plug detection -  Cable in/out detection
emerge sys-apps/netplug
-------------------------------------------------------
20050930 jstile:  For the longest time, while logging into kde, I get a traceback error.
     (no debugging symbols found)
     Using host libthread_db library "/lib/libthread_db.so.1".
     (no debugging symbols found)
     `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     (no debugging symbols found)
     [Thread debugging using libthread_db enabled]
     [New Thread 16384 (LWP 8680)]
     0xb6c37098 in waitpid () from /lib/libpthread.so.0
     #0  0xb6c37098 in waitpid () from /lib/libpthread.so.0
     #1  0xb793616c in ?? () from /usr/kde/3.4/lib/libkdecore.so.4
     #2  0xb784ccd0 in KCrash::defaultCrashHandler ()
        from /usr/kde/3.4/lib/libkdecore.so.4
     #3  0x00000000 in ?? ()
     #4  0x00000000 in ?? ()
     #5  0xb747f868 in QCString::~QCString () from /usr/qt/3/lib/libqt-mt.so.3

# Find what packages own the libraries in the traceback:
     equery belongs /usr/qt/3/lib/libqt-mt.so.3 /lib/libthread_db.so.1
        
        [ Searching for file(s) /usr/qt/3/lib/libqt-mt.so.3,/lib/libthread_db.so.1 in *... ]
        sys-libs/glibc-2.3.5-r1 (/lib/libthread_db.so.1 -> libthread_db-1.0.so)
        x11-libs/qt-3.3.4-r8 (/usr/qt/3/lib/libqt-mt.so.3 -> libqt-mt.so.3.3)
        x11-libs/qt-3.3.4-r8 (/usr/qt/3/lib/libqt-mt.so.3.3.4)
        x11-libs/qt-3.3.4-r8 (/usr/qt/3/lib/libqt-mt.so.3.3 -> libqt-mt.so.3.3.4)

# Now find  what packages were rebuilt since their install 
     emerge  --update -up --deep --newuse qt glibc     
# Now rebuild those packages, and hopefully fix the error
     emerge groff db cups qt glibc
# Update one config file
      mv /usr/kde/3.5/share/config/._cfg0000_kdebug.areas /usr/kde/3.5/share/config/kdebug.areas
# That fixed it!
------------------------------------------
20050930 jstile: install gkreallm
      emerge gkrellm-themes gkrellm-plugins gkrellm

------------------------------------------
20051015 jstile: update the correct way
       # grab latest gentoo tree
       emerge --sync
       # Update emerge and ebuild scripts
       emerge -u portage 

       # check what use flags were used to install a package
       equery uses <pkg name>
       qpkg -I -i -v <pkg name>  # I = currently installed packages

equery list subversion
[ Searching for package 'subversion' in all categories among: ]
 * installed packages
[I--] [  ] dev-util/subversion-1.2.3-r1 (0)
genx ~ # ls -l /etc/make.profile
lrwxrwxrwx  1 root root 48 Jun  4 09:43 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2005.0
genx ~ # ls /usr/portage/profiles/default-linux/x86/
2004.0  2004.3  2005.1  gcc2   make.defaults  parent    virtuals
2004.2  2005.0  dev     gcc31  packages       use.mask  xbox
genx ~ #                                                              

Lets upgrade.  Really, it's ok (-TR)
genx ~ # unlink /etc/make.profile
genx ~ # ln -s ../usr/portage/profiles/default-linux/x86/2005.
2005.0/ 2005.1/
genx ~ # ln -s ../usr/portage/profiles/default-linux/x86/2005.1 /etc/make.profile


genx ~ # emerge --update --newuse --deep -p world

These are the packages that I would merge, in order:


Calculating world dependencies |
!!! All ebuilds that could satisfy "~kde-base/kdebase-data-3.5.0_beta2" have been masked.
!!! One of the following masked packages is required to complete your request:
- kde-base/kdebase-data-3.5.0_beta2 (masked by: package.mask)
# Diego Pettenò <flameeyes@gentoo.org> (6 Sep 2005)
# KDE 3.5_alpha1 (and later) split ebuilds.
# Please pay a bit more attention, it's the first time I prepare them.


For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
!!!    (dependency required by "kde-base/kcontrol-3.5.0_beta2" [ebuild])



!!! Problem resolving dependencies for kde-base/kdebase-startkde
!!! Depgraph creation failed.
genx ~ #                                   



genx ~ # equery files kcontrol |less
genx ~ # cd /etc/portage/
genx portage # mv package.keywords package.keywords.old
genx portage # mv package.unmask package.unmask.old


# we have conflits...

# this is a list of everything i have explicitly emerged
# House keeping: prune list to just packages that we care about.
genx portage # vi /var/lib/portage/world

genx portage # cp world world.old
genx portage # vi world

# say you install some package, and it has deps that get installed when you install the main package.
# when you update that dep may go away
# to clean out packages that are no longer needed run this:
emerge --depclean 

#    
#    app-admin/gkrellm
#    app-admin/logrotate
#    app-admin/syslog-ng
#    app-admin/tmpwatch
#    app-admin/usbview
#    app-cdr/cdrtools
#    app-cdr/dvd+rw-tools
#    app-cdr/k3b
#    app-crypt/gnupg
#    app-dicts/aspell-en
#    app-editors/nedit
#    app-editors/vim
#    app-laptop/configure-thinkpad
#    app-laptop/thinkpad
#    app-laptop/tpb
#    app-laptop/tpctl
#    app-misc/bottlerocket
#    app-office/openoffice
#    app-pda/jpilot
#    app-portage/gentoolkit
#    app-text/acroread
#    app-text/aspell
#    app-text/ghostscript
#    app-text/gnome-spell
#    app-text/gtkspell
#    dev-db/mysql
#    dev-lang/ruby
#    dev-php/php
#    dev-util/strace
#    dev-util/subversion
#    dev-util/xxdiff
#    kde-base/kde
#    kde-base/kde-meta
#    kde-base/kdeaccessibility-meta
#    kde-base/kdeaddons-meta
#    kde-base/kdeadmin-meta
#    kde-base/kdeartwork-meta
#    kde-base/kdebase-meta
#    kde-base/kdebindings-meta
#    kde-base/kdeedu-meta
#    kde-base/kdegames-meta
#    kde-base/kdegraphics-meta
#    kde-base/kdemultimedia-meta
#    kde-base/kdenetwork-meta
#    kde-base/kdepim-meta
#    kde-base/kdesdk-meta
#    kde-base/kdetoys-meta
#    kde-base/kdeutils-meta
#    kde-base/kdewebdev-meta
#    kde-base/kdm
#    mail-client/evolution
#    mail-client/mozilla-thunderbird
#    mail-client/ximian-connector
#    media-fonts/corefonts
#    media-fonts/efont-unicode
#    media-fonts/freefonts
#    media-fonts/gnu-gs-fonts-other
#    media-fonts/lfpfonts-fix
#    media-fonts/sharefonts
#    media-fonts/terminus-font
#    media-fonts/urwvn-fonts
#    media-gfx/bootsplash-themes
#    media-gfx/gimp
#    media-gfx/xv
#    media-libs/alsa-oss
#    media-sound/alsa-utils
#    media-sound/xmms
#    media-video/ati-drivers
#    media-video/ati-drivers-extra
#    media-video/ati-gatos
#    media-video/dvdbackup
#    media-video/mplayer
#    net-analyzer/etherape
#    net-analyzer/netcat
#    net-analyzer/nmap
#    net-analyzer/tcpdump
#    net-analyzer/tcptraceroute
#    net-analyzer/xtraceroute
#    net-dialup/minicom
#    net-dialup/ppp
#    net-dialup/pptpclient
#    net-dialup/pptpconfig
#    net-dns/bind-tools
#    net-firewall/iptables
#    net-im/gaim
#    net-im/gaim-snpp
#    net-im/skype
#    net-irc/bitchx
#    net-irc/epic5
#    net-irc/xchat
#    net-libs/gecko-sdk
#    net-misc/dhcpcd
#    net-misc/ntp
#    net-misc/openssh
#    net-misc/rdesktop
#    net-misc/vnc
#    net-news/raggle
#    net-p2p/gtk-gnutella
#    net-print/cups
#    net-wireless/kwirelessmonitor
#    net-wireless/madwifi-driver
#    net-wireless/madwifi-tools
#    net-wireless/wavemon
#    net-wireless/wireless-tools
#    net-wireless/wpa_supplicant
#    net-www/mplayerplug-in
#    sys-apps/acl
#    sys-apps/apmd
#    sys-apps/attr
#    sys-apps/coldplug
#    sys-apps/hotplug
#    sys-apps/ifplugd
#    sys-apps/iproute2
#    sys-apps/less
#    sys-apps/mkinitrd
#    sys-apps/netplug
#    sys-apps/pam-login
#    sys-apps/pcmcia-cs
#    sys-apps/usbd
#    sys-boot/grub
#    sys-fs/dosfstools
#    sys-fs/lsscsi
#    sys-kernel/genkernel
#    sys-kernel/gentoo-sources
#    sys-libs/gpm
#    sys-process/dcron
#    sys-process/lsof
#    sys-process/time
#    www-client/mozilla-firefox
#    x11-base/opengl-update
#    x11-misc/synergy
#    x11-plugins/gaim-assistant
#    x11-plugins/gaim-encryption
#    x11-plugins/gaim-latex
#    x11-plugins/gaim-otr
#    x11-plugins/gaimosd
#    x11-plugins/gkrellm-plugins
#    x11-plugins/gkrellm-wifi
#    x11-plugins/gkrellmwireless
#    x11-terms/xterm
#    x11-themes/baghira
#    x11-themes/gaim-smileys
#    x11-themes/gkrellm-themes
-themes/mplayer-skins

#     remove all packages that we don't use
emerge --depclean -p           

emerge --depclean

#    Packages installed:   983
#    Packages in world:    144
#    Packages in system:   59
#    Unique package names: 800
#    Required packages:    1061
#    Number removed:       202
#    
#     * Regenerating GNU info directory index...
#     * Processed 153 info files.
#    
#    

revdep-rebuild -X
#<snip of error>
#<snip of error>!!! Please attach the config.log to your bug report:
#<snip of error>!!! /var/tmp/portage/ximian-connector-2.2.3/work/ximian-connector-2.2.3/config.log
#<snip of error>
#<snip of error>!!! ERROR: mail-client/ximian-connector-2.2.3 failed.

revdep-rebuild -X --ignore --pretend  
#    Checking dynamic linking consistency...
#      broken /usr/bin/ximian-connector-setup-2.2 (requires  libcamel-provider-1.2.so.3 libebook-1.2.so.3 libecal-1.2.so.2 libedataserverui-1.2.so.4 libemiscwidgets.so.0 libeshell.so.0 libeutil.so.0 libevolution-a11y.so.0 libevolution-widgets-a11y.so.0 libgal-2.4.so.0 libgal-a11y-2.4.so.0)
#      broken /usr/lib/evolution-data-server-1.2/camel-providers/libcamelexchange.so (requires  libcamel-provider-1.2.so.3 libebook-1.2.so.3 libecal-1.2.so.2 libedataserverui-1.2.so.4 libeshell.so.0 libgal-2.4.so.0 libgal-a11y-2.4.so.0)
#      broken /usr/lib/gaim/gevolution.so (requires  libebook-1.2.so.3)
#      broken /usr/lib/transcode/af6_decore.so (requires  libaviplay-0.7.so.0)
#      broken /usr/lib/transcode/export_af6.so (requires  libaviplay-0.7.so.0)
#      broken /usr/lib/xine/plugins/1.1.0/xineplug_dmx_audio.so (requires  libmodplug.so.0)
#      broken /usr/libexec/clock-applet (requires  libecal-1.2.so.2)
#      broken /usr/libexec/evolution/2.2/evolution-exchange-storage (requires  libcamel-provider-1.2.so.3 libebook-1.2.so.3 libecal-1.2.so.2 libedataserverui-1.2.so.4 libemiscwidgets.so.0 libeshell.so.0 libeutil.so.0 libevolution-a11y.so.0 libevolution-widgets-a11y.so.0 libgal-2.4.so.0 libgal-a11y-2.4.so.0)
#     done.
#      (/root/.revdep-rebuild.3_rebuild)
#    
#    Assigning files to packages...
#      /usr/bin/ximian-connector-setup-2.2 -> mail-client/ximian-connector
#      /usr/lib/evolution-data-server-1.2/camel-providers/libcamelexchange.so -> mail-client/ximian-connector
#      /usr/lib/gaim/gevolution.so -> net-im/gaim
#      /usr/lib/transcode/af6_decore.so -> media-video/transcode
#      /usr/lib/transcode/export_af6.so -> media-video/transcode
#      /usr/lib/xine/plugins/1.1.0/xineplug_dmx_audio.so -> media-libs/xine-lib
#      /usr/libexec/clock-applet -> gnome-base/gnome-panel
#      /usr/libexec/evolution/2.2/evolution-exchange-storage -> mail-client/ximian-connector
#     done.
#      (/root/.revdep-rebuild.4_packages_raw, /root/.revdep-rebuild.4_package_owners)
#    
#    Cleaning list of packages to rebuild... done.
#      (/root/.revdep-rebuild.4_packages)
#    
#    Assigning packages to ebuilds... done.
#      (/root/.revdep-rebuild.4_ebuilds)
#    
#    Evaluating package order... done.
#      (/root/.revdep-rebuild.5_order)
#    
#    All prepared. Starting rebuild...
#    emerge --oneshot --pretend =gnome-base/gnome-panel-2.12.1 =mail-client/ximian-connector-2.2.3 =media-libs/xine-lib-1.1.0-r6 =media-video/transcode-0.6.14-r3 =net-im/gaim-1.5.0
#    
#    These are the packages that I would merge, in order:
#    
#    Calculating dependencies ...done!
#    [ebuild     U ] x11-libs/libwnck-2.12.1 [2.10.3]
#    [ebuild  N    ] app-text/gnome-doc-utils-0.4.2
#    [ebuild     U ] gnome-base/gnome-menus-2.12.0 [2.10.2-r1]
#    [ebuild     U ] dev-libs/glib-2.8.2 [2.6.5]
#    [ebuild  N    ] x11-libs/cairo-1.0.2
#    [ebuild     U ] x11-libs/pango-1.10.1 [1.8.2]
#    [ebuild     U ] x11-libs/gtk+-2.8.6 [2.6.10]
#    [ebuild     U ] gnome-base/gnome-desktop-2.12.1 [2.10.2]
#    [ebuild     U ] gnome-base/gnome-panel-2.12.1 [2.10.2]
#    [ebuild   R   ] mail-client/ximian-connector-2.2.3
#    [ebuild     U ] media-libs/xine-lib-1.1.0-r6 [1.1.0-r4]
#    [ebuild     U ] media-video/transcode-0.6.14-r3 [0.6.14-r2]
#    [ebuild   R   ] net-im/gaim-1.5.0
#    

# Break the deps into individual emerges.  A dep from one is causing ximian-connector to fail.
# This next line might get past it, 
# REFERENCE: http://forums.gentoo.org/viewtopic-t-373752-highlight-ximianconnector.html
for x in =gnome-base/gnome-panel-2.12.1 =mail-client/ximian-connector-2.2.3 =media-libs/xine-lib-1.1.0-r6 =media-video/transcode-0.6.14-r3 =net-im/gaim-1.5.0;
do emerge --oneshot --nodeps $x;
done          

revdep-rebuild -X --ignore --pretend
#   Configuring search environment for revdep-rebuild
#    
#    Checking reverse dependencies...
#    
#    Packages containing binaries and libraries broken by a package update
#    will be emerged.
#    
#    Collecting system binaries and libraries... done.
#      (/root/.revdep-rebuild.1_files)
#    
#    Collecting complete LD_LIBRARY_PATH... done.
#      (/root/.revdep-rebuild.2_ldpath)
#    
#    Checking dynamic linking consistency...
#      broken /usr/bin/ximian-connector-setup-2.2 (requires  libcamel-provider-1.2.so.3 libebook-1.2.so.3 libecal-1.2.so.2 libedataserverui-1.2.so.4 libemiscwidgets.so.0 libeshell.so.0 libeutil.so.0 libevolution-a11y.so.0 libevolution-widgets-a11y.so.0 libgal-2.4.so.0 libgal-a11y-2.4.so.0)
#    i#  broken /usr/lib/evolution-data-server-1.2/camel-providers/libcamelexchange.so (requires  libcamel-provider-1.2.so.3 libebook-1.2.so.3 libecal-1.2.so.2 libedataserverui-1.2.so.4 libeshell.so.0 libgal-2.4.so.0 libgal-a11y-2.4.so.0)
#      broken /usr/libexec/clock-applet (requires  libecal-1.2.so.2)
#      broken /usr/libexec/evolution/2.2/evolution-exchange-storage (requires  libcamel-provider-1.2.so.3 libebook-1.2.so.3 libecal-1.2.so.2 libedataserverui-1.2.so.4 libemiscwidgets.so.0 libeshell.so.0 libeutil.so.0 libevolution-a11y.so.0 libevolution-widgets-a11y.so.0 libgal-2.4.so.0 libgal-a11y-2.4.so.0)
#     done.
#      (/root/.revdep-rebuild.3_rebuild)
#    
#    Assigning files to packages...
#      /usr/bin/ximian-connector-setup-2.2 -> mail-client/ximian-connector
#      /usr/lib/evolution-data-server-1.2/camel-providers/libcamelexchange.so -> mail-client/ximian-connector
#      /usr/libexec/clock-applet -> gnome-base/gnome-panel
#      /usr/libexec/evolution/2.2/evolution-exchange-storage -> mail-client/ximian-connector
#     done.
#      (/root/.revdep-rebuild.4_packages_raw, /root/.revdep-rebuild.4_package_owners)
#    
#    Cleaning list of packages to rebuild... done.
#      (/root/.revdep-rebuild.4_packages)
#    
#    Assigning packages to ebuilds... done.
#      (/root/.revdep-rebuild.4_ebuilds)
#    
#    Evaluating package order... done.
#      (/root/.revdep-rebuild.5_order)
#    
#    All prepared. Starting rebuild...
#    emerge --oneshot --pretend =gnome-base/gnome-panel-2.12.1 =mail-client/ximian-connector-2.2.3
#    
#    These are the packages that I would merge, in order:
#    
#    Calculating dependencies ...done!
#    [ebuild     U ] x11-libs/libwnck-2.12.1 [2.10.3]
#    [ebuild  N    ] app-text/gnome-doc-utils-0.4.2
#    [ebuild     U ] gnome-base/gnome-menus-2.12.0 [2.10.2-r1]
#    [ebuild     U ] dev-libs/glib-2.8.2 [2.6.5]
#    [ebuild  N    ] x11-libs/cairo-1.0.2
#    [ebuild     U ] x11-libs/pango-1.10.1 [1.8.2]
#    [ebuild     U ] x11-libs/gtk+-2.8.6 [2.6.10]
#    [ebuild     U ] gnome-base/gnome-desktop-2.12.1 [2.10.2]
#    [ebuild     U ] gnome-base/gnome-panel-2.12.1 [2.10.2]
#    [ebuild   R   ] mail-client/ximian-connector-2.2.3
#    Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.
#     

# man emerge snip:
#              N = new, (not yet installed)
#              S = new, slot installation (side-by-side versions)
#              U = updating, (changing versions)
#              D = downgrade, (Best version seems lower)
#              R = replacing, (Remerging same version))
#              F = fetch restricted, (Manual download)
#              f = fetch restricted, (Already downloaded)
#              B = blocked by an already installed package

revdep-rebuild -X --ignore
#    ...
#     * Running elibtoolize in: ximian-connector-2.2.3
#     *   Applying portage-1.5.10.patch ...
#     *   Applying sed-1.5.6.patch ...
#     * econf: updating ximian-connector-2.2.3/config.guess with /usr/share/gnuconfig/config.guess
#     * econf: updating ximian-connector-2.2.3/config.sub with /usr/share/gnuconfig/config.sub
#    ./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-e2k-debug --without-e2k-debug --without-e2k-debug --disable-gtk-doc --build=i386-pc-linux-gnu
#    checking for a BSD-compatible install... /bin/install -c
#    checking whether build environment is sane... yes
#    checking for gawk... gawk
#    checking whether make sets $(MAKE)... yes
#    checking Evolution version... configure: error: Evolution development libraries not installed
#    
#    !!! Please attach the config.log to your bug report:
#    !!! /var/tmp/portage/ximian-connector-2.2.3/work/ximian-connector-2.2.3/config.log
#    
#    !!! ERROR: mail-client/ximian-connector-2.2.3 failed.
#    !!! Function econf, Line 495, Exitcode 0
#    !!! econf failed
#    !!! If you need support, post the topmost build error, NOT this status message.
#    

# Try to figure out what could be missing
equery  depgraph ximian-connector
#    [ Searching for packages matching ximian-connector... ]
#    * dependency graph for mail-client/ximian-connector-2.2.3
#    `-- mail-client/ximian-connector-2.2.3
#     `-- mail-client/evolution-2.4.1
#      `-- x11-themes/gnome-icon-theme-2.10.1
#       `-- x11-libs/gtk+-2.8.6
#       `-- sys-devel/gettext-0.14.5
#        `-- sys-libs/glibc-2.3.5-r2
#         `-- sys-kernel/linux-headers-2.6.11-r2 (virtual/os-headers)
#       `-- x11-themes/hicolor-icon-theme-0.8
#       `-- dev-util/intltool-0.34.1
#        `-- dev-lang/perl-5.8.7-r1
#         `-- sys-devel/libperl-5.8.7
#          `-- sys-libs/db-4.2.52_p2
#           `-- dev-lang/tcl-8.4.11
#           `-- dev-java/blackdown-jdk-1.4.2.02 (virtual/jre) [ java ]
#            `-- dev-java/java-config-1.2.11-r1
#             `-- dev-lang/python-2.4.2 (virtual/python)
#              `-- sys-libs/zlib-1.2.3
#              `-- dev-lang/tk-8.4.11
#               `-- x11-base/xorg-x11-6.8.2-r6 (virtual/x11)
#                `-- sys-devel/flex-2.5.4a-r6
#                `-- dev-libs/expat-1.95.8
#                `-- media-libs/freetype-2.1.10
#                `-- media-libs/fontconfig-2.3.2
#                `-- x11-base/opengl-update-3.0.0
#                 `-- app-admin/eselect-opengl-1.0.2-r1
#                  `-- app-admin/eselect-0.9.6
#                   `-- sys-apps/sed-4.1.4
#                `-- x11-misc/ttmkfdir-3.0.9-r3
#                `-- media-libs/libpng-1.2.8
#                `-- sys-libs/ncurses-5.4.20050319
#                 `-- sys-libs/gpm-1.20.1-r5
#                 `-- sys-devel/patch-2.5.9-r1
#              `-- sys-libs/readline-5.0-r2
#              `-- sys-libs/gdbm-1.8.3-r2
#              `-- dev-libs/openssl-0.9.7g
#        `-- dev-perl/XML-Parser-2.34
#      `-- dev-libs/atk-1.10.3
#       `-- dev-libs/glib-2.8.2
#      `-- gnome-extra/libgtkhtml-3.8.1
#       `-- gnome-base/gail-1.8.5
#        `-- gnome-base/libgnomecanvas-2.10.2
#         `-- gnome-base/libglade-2.5.1
#          `-- dev-libs/libxml2-2.6.22
#         `-- x11-libs/pango-1.10.1
#          `-- x11-libs/cairo-1.0.2
#         `-- media-libs/libart_lgpl-2.3.17
#       `-- gnome-base/libgnomeui-2.10.1
#        `-- dev-libs/popt-1.7-r1
#        `-- gnome-base/gconf-2.10.1-r1
#         `-- gnome-base/orbit-2.12.4
#          `-- dev-libs/libIDL-0.8.6
#        `-- gnome-base/libgnome-2.10.1-r1
#         `-- gnome-base/libbonobo-2.10.1
#         `-- gnome-base/gnome-vfs-2.10.1-r2
#          `-- app-arch/bzip2-1.0.3-r5
#          `-- app-admin/fam-2.7.0-r4 (virtual/fam)
#           `-- net-nds/portmap-5b-r9
#          `-- gnome-base/gnome-mime-data-2.4.2
#          `-- x11-misc/shared-mime-info-0.16
#          `-- net-libs/gnutls-1.2.4
#           `-- dev-libs/libgcrypt-1.2.1-r1
#            `-- dev-libs/libgpg-error-1.1
#           `-- app-crypt/opencdk-0.5.7
#           `-- dev-libs/lzo-1.08-r1
#           `-- dev-libs/libtasn1-0.2.13
#            `-- sys-devel/bison-2.1
#             `-- sys-devel/m4-1.4.3
#             `-- sys-devel/gnuconfig-20050602
#          `-- net-fs/samba-3.0.20-r1
#           `-- sys-apps/acl-2.2.31
#            `-- sys-apps/attr-2.4.23
#           `-- net-print/cups-1.1.23-r4
#            `-- sys-libs/pam-0.78-r2 (virtual/pam) [ pam ]
#             `-- sys-libs/cracklib-2.8.5
#             `-- sys-libs/pwdb-0.62
#            `-- media-libs/tiff-3.7.3
#             `-- media-libs/jpeg-6b-r6
#           `-- app-crypt/mit-krb5-1.4.1-r2 (virtual/krb5) [ ldap kerberos ]
#           `-- net-nds/openldap-2.2.28-r1
#            `-- sys-apps/tcp-wrappers-7.6-r8
#            `-- dev-libs/cyrus-sasl-2.1.21-r1
#             `-- dev-db/mysql-4.1.14
#              `-- sys-apps/ed-0.2-r6
#               `-- sys-apps/texinfo-4.8-r1
#              `-- sys-process/procps-3.2.5-r1
#           `-- app-admin/syslog-ng-1.6.8-r1 (virtual/logger) [ syslog ]
#            `-- dev-libs/libol-0.3.16
#          `-- sys-apps/dbus-0.23.4-r1
#           `-- dev-python/pyrex-0.9.3-r2
#           `-- x11-libs/qt-3.3.4-r8
#            `-- media-libs/libmng-1.0.8-r1
#             `-- media-libs/lcms-1.14-r1
#         `-- media-sound/esound-0.2.36-r1
#          `-- media-libs/audiofile-0.2.6-r1
#          `-- media-libs/alsa-lib-1.0.9
#           `-- sys-kernel/gentoo-sources-2.6.13-r2 (virtual/alsa)
#            `-- sys-devel/binutils-2.16.1
#             `-- sys-devel/binutils-config-1.8-r5
#              `-- app-shells/bash-3.0-r12
#            `-- app-text/docbook-sgml-utils-0.6.14
#             `-- app-text/docbook-dsssl-stylesheets-1.79
#              `-- app-text/sgml-common-0.6.3-r4
#             `-- app-text/openjade-1.3.2-r1
#              `-- app-text/opensp-1.5.1
#             `-- dev-perl/SGMLSpm-1.03-r5
#             `-- app-text/docbook-xml-simple-dtd-4.1.2.4-r2
#             `-- app-text/docbook-xml-simple-dtd-1.0-r1
#             `-- app-text/docbook-xml-dtd-4.4
#             `-- app-text/docbook-sgml-dtd-3.0-r3
#             `-- app-text/docbook-sgml-dtd-3.1-r3
#             `-- app-text/docbook-sgml-dtd-4.0-r3
#             `-- app-text/docbook-sgml-dtd-4.1-r3
#             `-- app-text/jadetex-3.13-r1
#             `-- sys-apps/which-2.16
#             `-- www-client/links-2.1_pre18 (virtual/textbrowser)
#              `-- media-libs/svgalib-1.9.21-r1
#               `-- sys-apps/module-init-tools-3.2_pre7-r1 (virtual/modutils)
#               `-- sys-apps/pcmcia-cs-3.2.8-r2 (virtual/pcmcia) [ pcmcia ]
#                `-- dev-util/pkgconfig-0.19
#                `-- x11-libs/gtk+-1.2.10-r11
#                 `-- dev-libs/glib-1.2.10-r5
#            `-- sys-fs/udev-070
#             `-- sys-apps/hotplug-base-20040401
#             `-- sys-apps/baselayout-1.12.0_pre8-r2
#              `-- sys-apps/sysvinit-2.86-r1
#              `-- sys-apps/coreutils-5.3.0-r1
#            `-- sys-devel/make-3.80-r2
#           `-- media-sound/alsa-headers-1.0.9b
#        `-- gnome-base/libbonoboui-2.10.1-r1
#        `-- gnome-base/gnome-keyring-0.4.4
#       `-- gnome-base/libgnomeprintui-2.10.2
#        `-- gnome-base/libgnomeprint-2.10.3
#         `-- net-print/libgnomecups-0.2.0-r2
#       `-- net-libs/libsoup-2.2.6.1
#      `-- gnome-extra/evolution-data-server-1.4.1
#       `-- dev-libs/nspr-4.4.1-r2
#       `-- dev-libs/nss-3.9.2-r3
#        `-- app-arch/zip-2.31
#         `-- app-arch/unzip-5.52
#      `-- mail-filter/spamassassin-3.0.4
#       `-- dev-perl/PodParser-1.30
#       `-- perl-core/MIME-Base64-3.05
#       `-- perl-core/Storable-2.13
#       `-- dev-perl/HTML-Parser-3.45
#        `-- dev-perl/HTML-Tagset-3.04
#       `-- dev-perl/Net-DNS-0.49
#        `-- perl-core/Digest-MD5-2.33
#         `-- perl-core/digest-base-1.10
#        `-- dev-perl/Digest-HMAC-1.01-r1
#         `-- dev-perl/Digest-SHA1-2.10
#        `-- perl-core/Test-Simple-0.60
#         `-- perl-core/Test-Harness-2.52
#       `-- dev-perl/IO-Socket-SSL-0.96
#        `-- dev-perl/Net-SSLeay-1.25
#       `-- perl-core/DB_File-1.811-r1
#      `-- app-pda/gnome-pilot-2.0.13
#       `-- gnome-base/gnome-panel-2.12.1
#        `-- gnome-base/gnome-desktop-2.12.1
#         `-- x11-libs/startup-notification-0.8
#        `-- x11-libs/libwnck-2.12.1
#        `-- gnome-base/gnome-menus-2.12.0
#         `-- dev-python/pygtk-2.6.2
#          `-- dev-python/numeric-23.8
#          `-- dev-python/pyopengl-2.0.1.09
#           `-- media-libs/glut-3.7.1 (virtual/glut)
#          `-- x11-libs/gtkglarea-1.99.0
#       `-- dev-util/gob-2.0.12
#       `-- app-pda/pilot-link-0.11.8-r1
#        `-- dev-tcltk/itcl-3.3
#      `-- app-pda/gnome-pilot-conduits-2.0.13
#      `-- app-text/gnome-spell-1.0.6
#       `-- app-text/enchant-1.1.6
#        `-- app-dicts/aspell-en-6.0.0 (virtual/aspell-dict)
#         `-- app-text/aspell-0.60.3
#      `-- app-crypt/gnupg-1.4.2-r2
#       `-- net-misc/curl-7.14.0
#       `-- mail-mta/ssmtp-2.61 (virtual/mta) [ !static ]
#        `-- net-mail/mailbase-1
#       `-- dev-libs/libusb-0.1.10a
#       `-- media-gfx/xloadimage-4.1-r3
#      `-- media-libs/gstreamer-0.8.11
#      `-- media-libs/gst-plugins-0.8.11
#    [ mail-client/ximian-connector-2.2.3 stats: packages (182), max depth (15) ]
#
#
# Stuff from above that was listed in red:
#   java in           `-- dev-java/blackdown-jdk-1.4.2.02 (virtual/jre) [ java ]
#   pam               `-- sys-libs/pam-0.78-r2 (virtual/pam) [ pam ]
#   ldap kerberos in  `-- app-crypt/mit-krb5-1.4.1-r2 (virtual/krb5) [ ldap kerberos ]
#   syslog in         `-- app-admin/syslog-ng-1.6.8-r1 (virtual/logger) [ syslog ]
#   pcmcia in         `-- sys-apps/pcmcia-cs-3.2.8-r2 (virtual/pcmcia) [ pcmcia ]
#   !static in        `-- mail-mta/ssmtp-2.61 (virtual/mta) [ !static ]
#
    
equery uses ximian-connector
#    [ Searching for packages matching ximian-connector... ]
#    [ Colour Code : set unset ]
#    [ Legend        : Left column  (U) - USE flags from make.conf                     ]
#    [                  : Right column (I) - USE flags packages was installed with ]
#    [ Found these USE variables for mail-client/ximian-connector-2.2.3 ]
#     U I
#     - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
#     - - doc   : Adds extra documentation (API, Javadoc, etc)
#    

------------------------------
Solution 1
-----------
# !!! Found a Thread!!!!
#
# URL: http://forums.gentoo.org/viewtopic-t-346242-highlight-evolution+development+libraries.html
# URL: http://www.steev.net/?p=61
#
# - The ximian-connector is no longer what you want... Try evolution-exchange
emerge evolution-exchange
# - Modify world, substitude  evolution-exchange  for 
vi /var/lib/portage/world  
#    Change:    mail-client/ximian-connector
#    To:        gnome-extra/evolution-exchange
 

emerge --depclean -p
#    =kde-base/kdeartwork-kwin-styles-3.4*
#    =kde-base/ktnef-3.4*
#    =kde-base/kregexpeditor-3.4*
#    =kde-base/kgpg-3.4*
#    =kde-base/kstars-3.4*
#    =kde-base/kjumpingcube-3.4*
#    =kde-base/libksieve-3.4*
#    =kde-base/kruler-3.4*
#    =kde-base/kdnssd-3.4*
#    =kde-base/libkcddb-3.4*
#    =kde-base/ktux-3.4*
#    =kde-base/konqueror-3.4*
#    =kde-base/kmailcvt-3.4*
#    =kde-base/kmplot-3.4*
#    =kde-base/kaboodle-3.4*
#    =kde-base/kdemultimedia-kappfinder-data-3.4*
#    =kde-base/libkpimexchange-3.4*
#    =kde-base/kaddressbook-3.4*
#    =kde-base/libkdegames-3.4*
#    =kde-base/kdenetwork-filesharing-3.4*
#    =kde-base/kcharselect-3.4*
#    =kde-base/libkdenetwork-3.4*
#    =kde-base/kimagemapeditor-3.4*
#    =kde-base/ksirtet-3.4*
#    =kde-base/libkmime-3.4*
#    =kde-base/konqueror-akregator-3.4*
#    =kde-base/kalzium-3.4*=kde-base/mpeglib-3.4*
#    =kde-base/konq-plugins-3.4*
#    =kde-base/kdesu-3.4*                                                                                
#    =kde-base/klickety-3.4*
#    =kde-base/kodo-3.4*
#    =kde-base/kooka-3.4*
#    =kde-base/artsplugin-mpg123-3.4*
#    =kde-base/kmessedwords-3.4*
#    =kde-base/kfind-3.4*
#    =kde-base/kicker-applets-3.4*
#    =kde-base/kbackgammon-3.4*
#    =kde-base/kreversi-3.4*
#    =kde-base/ksystraycmd-3.4*                                                                          
#    =kde-base/kenolaba-3.4*
#    =kde-base/konsolekalendar-3.4*
#    =kde-base/nsplugins-3.4*
#    =kde-base/libkpgp-3.4*
#    =kde-base/kteatime-3.4*
#    =kde-base/knewsticker-3.4*
#    =kde-base/kappfinder-3.4*
#    =kde-base/kdenetwork-kfile-plugins-3.4*
#    =kde-base/kedit-3.4*
#    =kde-base/kiconedit-3.4*
#    =kde-base/kicker-3.4*
#    =kde-base/kandy-3.4*
#    =kde-base/kworldwatch-3.4*
#    =kde-base/atlantik-3.4*
#    =kde-base/kscd-3.4*
#    =kde-base/khexedit-3.4*
#    =kde-base/kdepim-kresources-3.4*
#    =kde-base/kdeartwork-emoticons-3.4*
#    =kde-base/ktuberling-3.4*
#    =kde-base/dcoprss-3.4*                                                                              
#    =kde-base/kdepim-wizards-3.4*                                                                       
#    =kde-base/ktimer-3.4*
#    =kde-base/kwin4-3.4*
#    =kde-base/krec-3.4*
#    =kde-base/klatin-3.4*
#    =kde-base/kshisen-3.4*
#    =kde-base/kmilo-3.4*
#    =kde-base/kspaceduel-3.4*
#    =kde-base/kontact-3.4*
#    =kde-base/mimelib-3.4*
#    =kde-base/korn-3.4*
#    =kde-base/kxsldbg-3.4*
#    =kde-base/libkpimidentities-3.4*
#    =kde-base/klipper-3.4*
#    =kde-base/kcoloredit-3.4*
#    =kde-base/kcalc-3.4*
#    =kde-base/ksmiletris-3.4*
#    =kde-base/kfax-3.4*
#    =kde-base/ksokoban-3.4*
#    =kde-base/kommander-3.4*
#    =kde-base/kdeartwork-kworldclock-3.4*
#    =kde-base/akregator-3.4*                                                                            
#    =kde-base/kdebase-data-3.4*
#    =kde-base/klettres-3.4*
#    =kde-base/klines-3.4*
#    =kde-base/libkdepim-3.4*
#    =kde-base/ktalkd-3.4*
#    =kde-base/kcontrol-3.4*
#    =kde-base/kpat-3.4*
#    =kde-base/ksvg-3.4*
#    =kde-base/kpercentage-3.4*
#    =kde-base/kfloppy-3.4*
#    =kde-base/kstart-3.4*
#    =kde-base/ark-3.4*
#    =kde-base/libkdeedu-3.4* 
#    =kde-base/khotkeys-3.4*
#    =kde-base/kvoctrain-3.4*
#    =kde-base/kdeprint-3.4*
#    =kde-base/kfilereplace-3.4*
#    =kde-base/korganizer-3.4*
#    =kde-base/kdeartwork-sounds-3.4*
#    =kde-base/kxkb-3.4*
#    =kde-base/ksame-3.4*
#    =kde-base/kdemultimedia-arts-3.4*
#    =kde-base/artsplugin-xine-3.4*
#    =kde-base/artsplugin-mpeglib-3.4*
#    =kde-base/kwalletmanager-3.4*
#    =kde-base/khelpcenter-3.4*
#    =kde-base/kpersonalizer-3.4*
#    =kde-base/khangman-3.4*
#    =kde-base/secpolicy-3.4*
#    =kde-base/kpager-3.4*
#    =kde-base/kmenuedit-3.4*
#    =kde-base/artsplugin-audiofile-3.4*
#    =kde-base/kscreensaver-3.4*
#    =kde-base/drkonqi-3.4*
#    =kde-base/libkonq-3.4*
#    =kde-base/kaddressbook-plugins-3.4*
#    =kde-base/kdat-3.4*
#    =kde-base/fifteenapplet-3.4*
#    =kde-base/libkcal-3.4*
#    =kde-base/renamedlg-images-3.4*
#    =kde-base/kget-3.4*
#    =kde-base/kppp-3.4*
#    =kde-base/kcron-3.4*
#    =kde-base/kalarm-3.4*
#    =kde-base/amor-3.4*
#    =kde-base/kview-3.4*
#    =kde-base/kdebase-startkde-3.4*
#    =kde-base/kdepasswd-3.4*
#    =kde-base/kdeartwork-iconthemes-3.4*
#    =kde-base/kaudiocreator-3.4*
#    =kde-base/konquest-3.4*
#    =kde-base/kpdf-3.4*
#    =kde-base/kcheckpass-3.4*
#    =kde-base/keduca-3.4*
#    =kde-base/certmanager-3.4*
#    =kde-base/libkholidays-3.4*
#    =kde-base/ktouch-3.4*
#    =kde-base/kdeartwork-wallpapers-3.4*
#    =kde-base/kdvi-3.4*
#    =kde-base/kbruch-3.4*
#    =kde-base/kmahjongg-3.4*
#    =kde-base/ksmserver-3.4*
#    =kde-base/kode-3.4*
#    =kde-base/kpilot-3.4*
#    =kde-base/katomic-3.4*
#    =kde-base/kgamma-3.4*
#    =kde-base/kcminit-3.4*
#    =kde-base/kbattleship-3.4*
#    =kde-base/kdeaddons-kfile-plugins-3.4*
#    =kde-base/noatun-plugins-3.4*
#    =kde-base/kmix-3.4*
#    =kde-base/kdeartwork-kscreensaver-3.4*
#    =kde-base/kpf-3.4*
#    =kde-base/kasteroids-3.4*
#    =kde-base/eyesapplet-3.4*
#    =kde-base/kjots-3.4*
#    =kde-base/ksirc-3.4*
#    =kde-base/kmail-3.4*
#    =kde-base/konsole-3.4*
#    =kde-base/kopete-3.4*
#    =kde-base/kolourpaint-3.4*
#    =kde-base/kfouleggs-3.4*
#    =kde-base/kdebase-kioslaves-3.4*
#    =kde-base/ksnapshot-3.4*
#    =kde-base/kmid-3.4*
#    =kde-base/kmoon-3.4*
#    =kde-base/ksplashml-3.4*
#    =kde-base/ktron-3.4*
#    =kde-base/networkstatus-3.4*
#    =kde-base/kwordquiz-3.4*
#    =kde-base/kdesktop-3.4*
#    =kde-base/knewsticker-scripts-3.4*
#    =kde-base/kdcop-3.4*
#    =kde-base/akode-3.4*
#    =kde-base/kmrml-3.4*
#    =kde-base/lilo-config-3.4*
#    =kde-base/kontact-specialdates-3.4*
#    =kde-base/atlantikdesigner-3.4*
#    =kde-base/kdemultimedia-kioslaves-3.4*
#    =kde-base/kdialog-3.4*
#    =kde-base/kdf-3.4*
#    =kde-base/kturtle-3.4*
#    =kde-base/karm-3.4*
#    =kde-base/knotes-3.4*
#    =kde-base/kiten-3.4*
#    =kde-base/kdeaddons-docs-konq-plugins-3.4*
#    =kde-base/krdc-3.4*
#    =kde-base/ksim-3.4*
#    =kde-base/kdepim-kioslaves-3.4*
#    =kde-base/knetattach-3.4*
#    =kde-base/kghostview-3.4*
#    =kde-base/kdeartwork-icewm-themes-3.4*
#    =kde-base/juk-3.4*
#    =kde-base/knode-3.4*
#    =kde-base/klinkstatus-3.4*
#    =kde-base/vimpart-3.4*
#    =kde-base/kpoker-3.4*
#    =kde-base/kdict-3.4*
#    =kde-base/renamedlg-audio-3.4*
#    =kde-base/quanta-3.4*
#    =kde-base/krfb-3.4*
#    =kde-base/kdegraphics-kfile-plugins-3.4*
#    =kde-base/kuser-3.4*
#    =kde-base/kitchensync-3.4*
#    =kde-base/kdeedu-applnk-3.4*
#    =kde-base/kuickshow-3.4*
#    =kde-base/kviewshell-3.4*
#    =kde-base/kweather-3.4*
#    =kde-base/kolf-3.4*
#    =kde-base/kmines-3.4*
#    =kde-base/kdm-3.4*
#    =kde-base/librss-3.4*
#    =kde-base/kreadconfig-3.4*
#    =kde-base/ksysguard-3.4*
#    =kde-base/kdeadmin-kfile-plugins-3.4*
#    =kde-base/kverbos-3.4*
#    =kde-base/kate-plugins-3.4*
#    =kde-base/lisa-3.4*
#    =kde-base/ksig-3.4*
#    =kde-base/ksync-3.4*
#    =kde-base/libkscan-3.4*
#    =kde-base/kdemultimedia-kfile-plugins-3.4*
#    =kde-base/lskat-3.4*
#    =kde-base/kbounce-3.4*
#    =kde-base/kgoldrunner-3.4*
#    =kde-base/kblackbox-3.4*
#    =kde-base/ksnake-3.4*
#    =kde-base/kmathtool-3.4*
#    =kde-base/ktip-3.4*
#    =kde-base/noatun-3.4*
#    =kde-base/kdebugdialog-3.4*
#    =kde-base/libksirtet-3.4*
#    =kde-base/kwin-3.4*
#    =kde-base/kdeartwork-styles-3.4*
#    =kde-base/kate-3.4*
#    =kde-base/klaptopdaemon-3.4*
#    =kde-base/kig-3.4*
#    
#    Packages installed:   784
#    Packages in world:    145
#    Packages in system:   59
#    Unique package names: 800
#    Required packages:    1059
#    Number removed:       1

emerge --depclean
# lots of pacages conflicting.  
# thats wack.

#     * GNU info directory index is up-to-date.
#     * IMPORTANT: 3 config files in /etc need updating.
#     * Type emerge --help config to learn how to update config files.
#    ----------------------------------
#    # Split ebuilds are bighting me.
#    
#    # The KDE Split Ebuilds HOWTO
#    # http://www.gentoo.org/doc/en/kde-split-ebuilds.xml

# THIS FIXED IT:
# Take out all 'kde-base/*' packages from /var/lib/portage/world file
# Install all split ebuild
vi /var/lib/portage/world
# REMOVE: kde-base/kde
#         kde-base/kdenetwork-meta
#         kde-base/kdepim-meta
#         kde-base/kdeadmin-meta
#         kde-base/kdebindings-meta
#         kde-base/kdetoys-meta
#         kde-base/kde-meta
#         kde-base/kdeedu-meta
#         kde-base/kdeartwork-meta
#         kde-base/kdeaddons-meta
#         kde-base/kdeutils-meta
#         kde-base/kdemultimedia-meta
#         kde-base/kdegames-meta
#         kde-base/kdegraphics-meta
#         kde-base/kdeaccessibility-meta
#         kde-base/kdesdk-meta
#         kde-base/kdebase-meta
#         kde-base/kdewebdev-meta
#
# ADD:    kde-base/kde-meta
#
emerge --depclean
revdep-rebuild -X --ignore --pretend
revdep-rebuild -X 

# Check out what would be installed
emerge -pvet world

# Do it for real
emerge --update --newuse --deep world 


# It's complaining about kernel source Makefile missing, but it's there.
emerge genkernel     
genkernel --menuconfig all

pushd /usr/src/
ll
#    total 40
#    drwxr-xr-x   6 root root   320 Oct 16 09:02 ./
#    drwxr-xr-x  15 root root   568 Oct 16 20:42 ../
#    -rw-r--r--   1 root root     0 Oct 16 08:42 .keep
#    lrwxrwxrwx   1 root root    20 Sep 13 21:41 linux -> linux-2.6.13-rc5-mm1/
#    drwxr-xr-x  18 root root   632 Sep  6 15:42 linux-2.6.13-gentoo/
#    drwxr-xr-x  18 root root   632 Oct 16 08:44 linux-2.6.13-gentoo-r4/
#    drwxr-xr-x  18 root root  1056 Oct 15 17:35 linux-2.6.13-rc3-mm1/
#    drwxr-xr-x  18 root root  1056 Oct 15 17:39 linux-2.6.13-rc5-mm1/
#    -rw-r--r--   1 root root 33657 Jun 11 07:35 ppp_mppe-add-ppp-mppe-encryption-module.patch
rm -rf linux
ln -s linux-2.6.13-gentoo-r4/ linux
genkernel  all   
cd /usr/src/linux
make all && make modules_install && make install
emerge --update --newuse --deep world
emerge madwifi-driver madwifi-tools wpa_supplicant wavemon
emerge arts ati-drivers esound  ppp pptpclient pptpconfig

 genkernel --menuconfig --no-clean --gentspash=Dragon  all
 genkernel --menuconfig --no-clean --gensplash=Dragon  all
 vi .config
 genkernel --menuconfig --no-clean --gensplash=Dragon  all
 
#########################################
# TR has a better way to do all this:
cp /usr/src/linux-2.6.13-rc5-mm1/.config /usr/src/linux-2.6.13-gentoo-r4/
cd /usr/src/linux-2.6.13-gentoo-r4/
make oldconfig
genkernel --menuconfig --no-clean all
emerge madwifi-driver madwifi-tools wpa_supplicant wavemon
emerge arts ati-drivers esound  ppp pptpclient pptpconfig
emerge -Du media-fonts/sgi-fonts media-fonts/unifont
# All the gtk apps have big font's now.  
# this is because I was  missing control-center.  
# After running 'gnome-font-properties'  it went back to normal
emerge control-center && gnome-font-properties

----------------------------------------------
To get pptp working after all these updates, I had to 

   mknod /dev/ppp c 108 0

--------------------------------
What is gnome-font-properties doing?
--------------------------------
hhttp://www.usenetlinux.com/archive/topic.php/t-279725.html
Problems with gnome based apps when using kde ( not gnome ).
Just starting/killing gnome-font-properties fixes/breaks fonts, clipboard, and shortcuts change.

Answer1: install gnome-settings-daemon (emerge gnome-base/control-center)
              emerge -u gnome-base/control-center
              gnome-settings-daemon
Answer2: When not using gnome, gtk+2 app's will read ~/.gtkrc-2.0 for font and theme settings
              emerge gtk-theme-switch (and run it with `switch2`) for a little gui app to write a nice .gtkrc-2.0 for you
              emerge gtk-theme-switch
              ./usr/bin/switch2

fix_libtool_files.sh 3.4.3-20050110


---------------------------------------------
Get a lot of info about your gentoo install 
---------------------------------------------
emerge --info
#    Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r4 i686)
#    =================================================================
#    System uname: 2.6.13-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.70GHz
#    Gentoo Base System version 1.12.0_pre9
#    dev-lang/python:     2.3.5, 2.4.2
#    sys-apps/sandbox:    1.2.13
#    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-r1
#    sys-devel/binutils:  2.16.1
#    sys-devel/libtool:   1.5.20
#    virtual/os-headers:  2.6.11-r2
#    ACCEPT_KEYWORDS="x86 ~x86"
#    AUTOCLEAN="yes"
#    CBUILD="i386-pc-linux-gnu"
#    CFLAGS="-O2 -march=i386 -march=pentium-m -fomit-frame-pointer"
#    CHOST="i386-pc-linux-gnu"
#    CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
#    CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
#    CXXFLAGS="-O2 -march=i386 -march=pentium-m -fomit-frame-pointer"
#    DISTDIR="/usr/portage/distfiles"
#    FEATURES="autoconfig distlocks sandbox sfperms strict"
#    GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://prometheus.cs.wmich.edu/gentoo http://gentoo.chem.wisc.edu/gentoo/"
#    LINGUAS="en"
#    PKGDIR="/usr/portage/packages"
#    PORTAGE_TMPDIR="/var/tmp"
#    PORTDIR="/usr/portage"
#    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
#    USE="x86 X acl alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr cjkcodecs commons-codec crypt cups curl divx4linux dvd dvdr dvdread eds emboss encode esd evolution fam foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 iconvcodec imagemagick imlib ipv6 jasper java jpeg kde kde-meta kdexdeltas kerberos krb5 ldap libdv libg++ libtheora libwww mad mikmod mmx motif mp3 mpeg mppe-mppc mysql ncurses nls ogg oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline ruby samba scanner sdk sdl spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts turetype type1-fonts vorbis win32codecs ximian-connector xine xml xml2 xmms xv zlib video_cards_radeon linguas_en userland_GNU kernel_linux elibc_glibc"
#    Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY


----------------------------------------------
# NOTE: look at cpufreqd
# NOTE: ANYCAST - send request to one of multiple destionations.

----------------------------------------------
Solution 2 -- I DIDN"T DO THIS:
------------
ACCEPT_KEYWORD="~x86" emerge ximian-connector
----------------------------------------------
Fri Oct 21 00:40:51 PDT 2005
    
    #---------------------------------------- 
    # Found requirements for evolution-exchange
    #---------------------------------------- 
    # REFERENCE: http://www.gentoo-portage.com/gnome-extra/evolution-exchange/dep
           Runtime Dependencies of  evolution-exchange-2.4.1
               dev-libs/libxml2
               >= gnome-base/gconf - 2.0
               >= gnome-base/libbonobo - 2.0
               >= gnome-base/libglade - 2.0
               >= gnome-base/libgnomeui - 2.0
               >= gnome-extra/evolution-data-server - 1.2
               >= mail-client/evolution - 2.3
               >= net-libs/libsoup - 2.2
               >= net-nds/openldap - 2.1.30-r2
               virtual/krb5 
    #---------------------------
    # Checked installed versions 
    #---------------------------
    # used equery list -i <pakcage>
        [I--] [  ] gnome-base/gconf-1.0.9 (1)
        [I--] [  ] gnome-base/gconf-2.12.0 (2)
        [I--] [  ] gnome-base/libbonobo-2.10.1 (0)
        [I--] [  ] gnome-base/libglade-0.17-r6 (0)
        [I--] [  ] gnome-base/libglade-2.5.1 (2.0)
        [I--] [  ] gnome-base/libgnomeui-2.12.0 (0) 
        [I--] [  ] gnome-extra/evolution-data-server-1.4.1 (0)
        [I--] [  ] gnome-extra/evolution-webcal-2.4.1 (0)
        [I--] [  ] gnome-extra/evolution-exchange-2.4.1 (2.0)
        [I--] [  ] mail-client/evolution-2.4.1 (2.0)
        [I--] [  ] net-libs/libsoup-2.2.6.1 (2.2)
        [I--] [  ] net-nds/openldap-2.2.28-r1 (0)
        [I--] [  ] app-crypt/mit-krb5-1.4.1-r2 (0)
    
    unerge =gnome-base/gconf-1.0.9
    revdep-rebuild -X
--------------------------------
# figure out what kernel modules need to be rebuilt and rebuild them
emerge module-rebuild
--------------------------------
#
# No icons in gnome-control-center?  
# Desktop Preferences empty!
#

# Trying to instlall lots of stuff to get stuff in Desktop Preferences
emerge -D gnome-system-tools         
emerge -D control-center

# This site recommmends setting XDG_CONFIG_DIRS=/opt/gnome-2.10/share:/etc/gnome/xdg 
#  http://www.linuxquestions.org/questions/archive/13/2005/04/1/309773

# This site thinks the icon cache was not updated, and one can run: gtk-update-icon-cache, but it didn't fix my system.
# http://mail.gnome.org/archives/desktop-devel-list/2005-August/msg00098.html
for i in  /usr/share/icons/* ; do gtk-update-icon-cache --force $i ; done

# This site thinks I'm missing paths in evn variables, but It didn't help
export XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/opt/gnome2/share/
export XDG_CONFIG_DIRS=/usr/local/etc/xdg:/etc/xdg/:/etc/opt/gnome2/xdg/

# Sorry.  still no answer
--------------------------------
#
# clear, clean, remove  all gnome configuration settings:
#
gconftool-2 --recursive-unset /apps/evolution

-----------------------------------
20051113 jstile:  Refign Kernel Update process

Newkern="linux-2.6.14-gentoo-r2"

env-update
emerge --update --newuse --deep -p world
emerge --update --newuse --deep world

cd /usr/src/
cp linux/.config  $Newkern/
rm -rf linux
ln -s $Newkern linux

cd linux
make oldconfig
genkernel --menuconfig --no-clean --gensplash=emergence  all
  # Activate buletooth module: network->blutooth->rfcomm

ls -ltr /boot

nedit /boot/grub/menu.lst

emerge madwifi-driver madwifi-tools wpa_supplicant wavemon
emerge arts ati-drivers esound  ppp pptpclient pptpconfig

-----------------------------------
20060122 install taskjuggler
emerge --update --deep --newuse libkcal libical ktnef libkdepim kate kate-plugins 
emerge taskjuggler
-----------------------------------
update-eix # updates the database used by eix
eix krb       # prints available and installed versions of packages that begin with 'krb'
* app-crypt/kth-krb
     Available versions:  1.2.2-r2 1.3_rc1
     Installed:           none
     Homepage:            http://www.pdc.kth.se/kth-krb/
     Description:         Kerberos 4 implementation from KTH

* app-crypt/mit-krb5
     Available versions:  1.4.3 1.4.3-r1
     Installed:           1.4.3-r1
     Homepage:            http://web.mit.edu/kerberos/www/
     Description:         MIT Kerberos V

* sys-auth/pam_krb5
     Available versions:  1.0 1.0-r1 *2.2.6 20030601 20030601-r1
     Installed:           none
     Homepage:            http://pam-krb5.sourceforge.net/
     Description:         Pam module for MIT Kerberos V and Heimdal
#-------------------------------------------------------------------
20060713 jstile: After an update I can't load pptpconfig  for my pptp vpn connection.

    genx jstile # /usr/sbin/pptpconfig

      /usr/bin/php: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory
 
    #------------------------------------
    Find what /usr/bin/php points to
    #------------------------------------
    genx jstile # ls -alF /usr/bin/php

      lrwxrwxrwx 1 root root 21 May  1 12:10 /usr/bin/php -> /usr/lib/php4/bin/php*

    #------------------------------------
    Check library dependencies of /usr/lib/php4/bin/php
    #------------------------------------
    genx jstile #  ldd /usr/bin/php |grep client

       libmysqlclient.so.14 => not found

    #------------------------------------
    Find location of libmysqlclient.so.14
    #------------------------------------
    genx jstile # whereis libmysqlclient.so.14

      libmysqlclient.so: /usr/lib/libmysqlclient.so /usr/lib/libmysqlclient.so.15

    #------------------------------------
    If libmysqlclient.so.14 isn't there, list what is.
    #------------------------------------
    genx jstile # ls -alF /usr/lib/libmysqlclient.so*

      lrwxrwxrwx 1 root root 30 Jul 12 18:08 /usr/lib/libmysqlclient.so -> mysql/libmysqlclient.so.15.0.0*
      lrwxrwxrwx 1 root root 30 Jul 12 18:08 /usr/lib/libmysqlclient.so.15 -> mysql/libmysqlclient.so.15.0.0*
      lrwxrwxrwx 1 root root 30 Jul 12 18:08 /usr/lib/libmysqlclient.so.15.0 -> mysql/libmysqlclient.so.15.0.0*
      lrwxrwxrwx 1 root root 30 Jul 12 18:08 /usr/lib/libmysqlclient.so.15.0.0 -> mysql/libmysqlclient.so.15.0.0*

    #------------------------------------

    At this point I think php was built when mysql was at a previous version before.

    #------------------------------------
    Find package that owns /usr/lib/php4/bin/php
    #------------------------------------
    genx portage # equery belongs /usr/lib/php4/bin/php

      [ Searching for file(s) /usr/lib/php4/bin/php in *... ]
      dev-lang/php-4.4.2-r5 (/usr/lib/php4/bin/php)

    #------------------------------------
    Rebuild the package dev-lang/php
    #------------------------------------
    genx jstile #emerge --deep dev-lang/php

    #------------------------------------
    Done
    #------------------------------------
#-------------------------------------------------------------------
When you see one package blocking another, and later that package is re-emerged back in
you first have to unmerge the blocking package, then later emerge will re-emerge the package.

Example: I'm running my normal software update, and BAM!  there's a blocking package.
emerge --newuse --deep -t world 

    [blocks B     ] <media-sound/esound-0.2.36-r2 (is blocking app-admin/eselect-esd-20060719)
    ...
    [nomerge      ] app-mobilephone/gnome-phone-manager-0.7
    [nomerge      ]  net-wireless/gnome-bluetooth-0.7.0-r1
    [nomerge      ]   gnome-base/librsvg-2.14.4
    [nomerge      ]    gnome-extra/libgsf-1.14.0
    [ebuild   R   ]     media-libs/libwmf-0.2.8.3-r1  USE="xml%"
    [ebuild   R   ]   dev-util/gob-2.0.12
    [nomerge      ]   net-wireless/libbtctl-0.6.0-r1
    [nomerge      ]    net-wireless/bluez-utils-2.25-r1
    [ebuild     U ]     media-libs/alsa-lib-1.0.12_rc1 [1.0.11-r1]
    [ebuild     U ]      media-sound/alsa-headers-1.0.12_rc1 [1.0.11]
    
emerge --unmerge esound
emerge --newuse --deep -t world

REFERENCE: http://forums.gentoo.org/viewtopic-t-482997-highlight-esound+eselectesd.html    
     searched forums.gentoo.org for esound and eselectes

    [nomerge      ] app-admin/gnome-system-tools-2.14.0
    [nomerge      ]  gnome-base/nautilus-2.14.1
    [ebuild  N    ]   media-sound/esound-0.2.36-r2  USE="alsa ipv6 tcpd -debug"
    [ebuild  N    ]    app-admin/eselect-esd-20060719
#-------------------------------------------------------------------
20060815 Switching java from ibm blackdown to sun jdk

REFERENCE: http://forums.gentoo.org/viewtopic-t-481752-highlight-eclipse.html
REFERENCE: http://www.gentoo.org/proj/en/java/java-upgrade.xml
Run this:  /usr/bin/java-check-environment
  
#-------------------------------------------------------------------
20061009 Trying to figure out why the ati-driver binary is not working with: 
	xorg-x11-7.1,
	ati-drivers-8.29.6,
	gcc-3.4.6-r2,
	gentoo-sources-2.6.18
Arch: x86
Card: ATI Radeon R250 Lf [FireGL 9000] rev 2, Mem @ 0xe0000000/27, 0xc0100000/16, I/O @ 0x3000/8

Power controls do not seem to be availabe.
aticonfig --lsp
	Error: Unable to obtain POWERplay information.

These lines may be helpful from /var/log/Xorg.0.log
egrep -rni 'ww|!!|r2' /var/log/Xorg.0.log
	(WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)
	(--) PCI:*(1:0:0) ATI Technologies Inc Radeon R250 Lf [FireGL 9000] rev 2, Mem @ 0xe0000000/27, 0xc0100000/16, I/O @ 0x3000/8
	(WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
	(!!) RADEON(0): For information on using the multimedia capabilities
	(WW) RADEON(0): Direct rendering disabled
	(WW) RADEON(0): Option "DesktopSetup" is not used
	(WW) RADEON(0): Option "OverlayOnCRTC2" is not used
	(WW) RADEON(0): Option "VendorName" is not used
	(WW) RADEON(0): Option "ModelName" is not used

# to switch between ati and xorg
eselect opengl set xorg
eselect opengl set ati

#-------------------------------------------------------------------
20061013 jstile: Trying to run regular update, system tells me there is a problme. 

genx jstile # emaint --check world
    
    Checking world for problems

    
    'x11-apps/ati-drivers-extranet-wireless/gnome-bluetooth' is not a valid atom


    
    Finished

genx jstile # emaint --check world
genx jstile # man emaint
genx jstile # emaint --fix world

    Attempting to fix world
    Finished
#-------------------------------------------------------------------
20061015 jstile:  Setting up transparancy
  1. I've installed xorg-x11-7.1.1 
  2. Append to /etc/X11/xorg.conf

    Section "Extensions"
        Option "Composite" "true"
    EndSection

  3. Install some tool
   
    emerge --deep --newuse xcompmgr 

  4. Restart X

  5. Check config
 
    xdpyinfo | grep Composite 

  6. Setup some window shading
    xcompmgr -c &
    -or-
    xcompmgr -cCfF -r7 -o.65 -l-10 -t-8 -D7 &

  7. Setup some transparent windows
   transset 2
   Now click your windows

  In the end this made my system a little slow for a little eye candy, so i'm not using it
#-------------------------------------------------------------------
gcc problems.  Compiler will not work:

gcc hello.c -o hello
  gcc: installation problem, cannot exec `as': No such file or directory

All ebuilds fail with:
  gcc: installation problem, cannot exec `as': No such file or directory

which gas
  nothing found
which as
  nothing found

On my other gentoo system, /usr/bin/as -> i686-pc-linux-gnu-as  

Found several broken links like: /usr/bin/as

I have a directory:
   /usr/i386-pc-linux-gnu/binutils-bin/2.16.1 
but all the links lead to
   /usr/i386-pc-linux-gnu/binutils-bin/2.17

Listing available profiles:
binutils-config -l
[1]  i386-pc-linux-gnu-2.16.1

Printing the current selected profile:
inutils-config -c
* No current profile selected

Set the current profile:
binutils-config i386-pc-linux-gnu-2.16.1
#-------------------------------------------------------------------
Avoid compiling all apps twice 
when upgradeing gcc and glibc
REFERENCE: for gcc upgrade: http://www.gentoo.org/doc/en/gcc-upgrading.xml
REFERENCE: minimize re-installs see Barnoid at http://forums.gentoo.org/viewtopic-t-493662-highlight-nptl+requires+chost+i486.html

emerge -pe system | grep "^\[ebuild .*" | colrm 1 16 | sed "s/\[.*//" | sed "s/USE.*//" | sed "s/LINGUAS.*//" | sed "s/.*/=\0/" > system.list
emerge -pe world | grep "^\[ebuild .*" | colrm 1 16 | sed "s/\[.*//" | sed "s/USE.*//" | sed "s/LINGUAS.*//" | sed "s/.*/=\0/" | grep -vFf system.list > world.list
emerge --oneshot --nodeps `cat system.list world.list`

IF you find system.list or world.list contain lines like '=] dev-lang/php-4.4.3-r1', change them to '=dev-lang/php-4.4.3-r1'

#-------------------------------------------------------------------
Found out I have to change my CHOST variable in /etc/make.conf.
REFERENCE: http://forums.gentoo.org/viewtopic-t-513485-highlight-nptl+requires+chost+i486.html
Reason:  
  glibc-2.4 is nptl-only! 
  NPTL requires a CHOST of i486 or better
  My CHOST="i386-pc-linux-gnu" 
Solution: 
  http://www.gentoo.org/doc/en/change-chost.xml

# The right way to rebuild your system, in the least amound of time.
http://forums.gentoo.org/viewtopic-t-494331-highlight-updating.html?sid=cbab469d7f2b576243c11105d05c34b7
 on that page search for BEGIN SCRIPT
 copy text between "---BEGIN SCRIPT---" and "---END SCRIPT---"  to a file called genscript.sh
 fix perms:  chmod +x genscript.sh
 run it: ./genscript.sh
 Run resulting  script, which will be named   recompile-entire-system-*

#-------------------------------------------------------------------
#
# 20061209 jstile: How-to Canon CanoScan LiDE60 in Gentoo
#                  I only had to set usb flags to get sane-backends to see scanner.

# Loaded modules
lsmod |grep usb

    usb_storage            46016  0
    usbhid                 31200  0
    usbcore                93572  6 ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd

# My kernel version
uname -a
    
    Linux genx 2.6.18-gentoo-r3 #1 Fri Nov 24 19:19:54 PST 2006 i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux

# Build xsane to work wtih gimp
echo 'media-gfx/xsane gimp' >> /etc/portage/package.use

# Build backend with usb support
echo 'media-gfx/sane-backends usb' >> /etc/portage/package.use

# Build frontedns to include gimp support
echo 'media-gfx/sane-frontends gimp' >> /etc/portage/package.use

# Install applications
emerge --deep --newuse -ta xsane sane-backends sane-frontends

lsusb

    Bus 001 Device 002: ID 04a9:221c Canon, Inc.

eix pciutils
   [I] sys-apps/pciutils
   	Available versions:  2.2.0-r1 ~2.2.3-r1 ~2.2.3-r2
   	Installed versions:  2.2.0-r1(22:53:54 12/01/06)
   	Homepage:	     http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html
   	Description:	     Various utilities dealing with the PCI bus

lspci -v | grep HCI
   00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
   00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
   00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
   00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
   02:00.2 FireWire (IEEE 1394): Texas Instruments Unknown device 802a (rev 01) (prog-if 10 [OHCI])

eix usbutils
   [I] sys-apps/usbutils
   	Available versions:  0.71-r1 ~0.71-r2
   	Installed versions:  0.71-r1(22:56:30 12/01/06)
   	Homepage:	     http://linux-usb.sourceforge.net/
   	Description:	     USB enumeration utilities

lsusb
   Bus 004 Device 001: ID 0000:0000
   Bus 003 Device 001: ID 0000:0000
   Bus 002 Device 001: ID 0000:0000
   Bus 001 Device 002: ID 04a9:221c Canon, Inc.
   Bus 001 Device 001: ID 0000:0000

#-------------
VendorID:04a9
Product:221c
#-------------

# Look up the driver
http://www.sane-project.org/cgi-bin/driver.pl

   Backend	   Version	   Supported Devices	   Manual Page
   Manufacturer    Model   Interface	   USB id  Status  Comment
   Backends included in the current tarball - see SANE Distribution
   genesys	   1.0-8   Canon   CanoScan LiDE 60	   USB     0x04a9/0x221c   good 	   sane-genesys

cat /etc/sane.d/genesys.conf

    # Canon LiDE 60
    usb 0x04a9 0x221c

equery files sane-backends |grep genesys

    /etc/sane.d/genesys.conf
    /usr/lib/sane/libsane-genesys.la
    /usr/lib/sane/libsane-genesys.so
    /usr/lib/sane/libsane-genesys.so.1
    /usr/lib/sane/libsane-genesys.so.1.0.18
    /usr/share/man/man5/sane-genesys.5.gz

sane-find-scanner

    found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan], chip=GL841?) at libusb:001:003

# Add regular user to groups
gpasswd -a jstile scanner
gpasswd -a jstile usb


# As regular user, start gimp
gimp 
    File->Aquire->scanimage->genesys:usb 001:003
        Scan Mode: Color
	Bit depth: 8
	Scan Resolution: 300 dpi
    
#-------------------------------------------------------------------
safe chost and safe cflgs for make.conf
http://gentoo-wiki.com/Safe_Cflags
#-------------------------------------------------------------------
Seem to be having a prbolem with my 3ware 3w-950sx or disks.

emerge --update --newuse sysstat dstat procps

vmstat shows Huge bi.
iostat shows Huge iowait
dstat shows Huge disk _read  (700k to 1M per 5 sec)

dmesg |grep -i 3w shows lots of:
   3w-9xxx: scsi0: AEN: WARNING (0x04:0x0023): Sector repair completed:port=3

lspci |grep 3ware
   08:01.0 RAID bus controller: 3ware Inc 9550SX SATA-RAID

#-------------------------------------------------------------------
http://gentoo-wiki.com/SECURITY_Anonymizing_Unix_Systems
#-------------------------------------------------------------------
20070411 gnucache would not build
  REFERENCE: http://forums.gentoo.org/viewtopic-t-548190-highlight-slib.html

  Turns out I had to completely remove stuff and then reinstall
  Remove: 
   sudo emerge -C guile g-wrap slib
  Reinstall:
   sudo emerge -v gnucash 
#-------------------------------------------------------------------
# 20070817 jstile:  After an update several things dont' work.

#
# when I try to run svn, I get:
#
svn
#
#  svn: error while loading shared libraries: libexpat.so.0: cannot open
#  shared object file: No such file or directory
#

#
# Looking for who owns libexpat.so
#
equery belongs  libexpat.so
[ Searching for file(s) libexpat.so in *... ]
dev-libs/expat-2.0.1 (/usr/lib/libexpat.so -> libexpat.so.1.5.2)

#
# What versions are installed?
#
genx jstile # eix apr-util
#   [I] dev-libs/apr-util
#        Available versions:
#           (0)     0.9.12 0.9.12-r1 [M]~0.9.13
#           (1)     1.2.8 ~1.2.8-r1
#           {berkdb gdbm ldap mysql postgres sqlite sqlite3}
#        Installed versions:  0.9.12-r1(03:53:58 PM 07/13/2007)(berkdb gdbm
#        ldap)
#                             1.2.8(1)(12:06:15 PM 08/17/2007)(berkdb gdbm
#                             ldap -postgres -sqlite -sqlite3)
#        Homepage:            http://apr.apache.org/
#        Description:         Apache Portable Runtime Library
#   


#
#Tried 'revdep-rebuild -X', 
# which rebuild the latest dev-libs/apr-util
# which finds some problems but doens't fix them.


#
# Finally fixed it!!!
#
emerge --oneshot  =dev-libs/apr-util-0.9.12-r1 
#-------------------------------------------------------------------