|  About Me  |  Blogs  |  Photos  |  Publications  |  Resume  | 

Archive for the 'System' Category

Emerge multisync with evolution2

Tuesday, March 7th, 2006

After I upgraded to Evolution2 the multisync fails to emerge with the following error:

i686-pc-linux-gnu-gcc: @EVO_LDFLAGS@: No such file or directory
i686-pc-linux-gnu-gcc: @EVO_LIBS@: No such file or directory
make[2]: *** [libevolution2_sync.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/multisync-0.83_pre20050414-r3/work/multisync/plugins/evolution2_sync/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/multisync-0.83_pre20050414-r3/work/multisync/plugins/evolution2_sync’
make: *** [all] Error 2

!!! ERROR: app-pda/multisync-0.83_pre20050414-r3 failed.

I found tips for the solution in this German [...]

module-rebuild - rebuild modules after kernal upgrade

Wednesday, December 7th, 2005

Oh ’tis a useful little tool. module-rebuild keeps track of all the packages which installs into the kernel, so when we upgrade to a new kernel it can rebuild these now outdated packages for us.

To install:

$ emerge module-rebuild
# Populate the database with any packages which currently install drivers into the running kernel.
$ module-rebuild populate

After a [...]

Changing CHOST

Thursday, September 1st, 2005

During a recent Gentoo installation I accidentally changed the CHOST variable from i386-pc-linux-gnu to i686-pc-linux-gnu. Oops! Afterwards I was getting compilation errors on some packages when I try to update the system. I finally managed to salvage the system by following some advice from this discussion post. Basically what I needed to do was to [...]

Bash Completion in Gentoo

Tuesday, August 30th, 2005

In Gentoo, bash-completion is not enabled by default, so for each package compiled with bash-completion support, we need to manually enable it for completion. Here’re the relevant steps and tools to manage bash-completion.

$ emerge bash-completion eselect

Activate bash-completion in bashrc:

[[ -f /etc/profile.d/bash-completion ]] && source /etc/profile.d/bash-completion

Add to USE flag, so packages can be compiled with bash-completion [...]

Software Suspend2

Friday, August 26th, 2005

$ emerge -av suspend2-sources hibernate-script

This will install a gentoo kernel source with the software suspend2 patches. Configure the new kernel with the following options:

$ cd /usr/src; ln -s linux-2.6.12-suspend2-r6/ linux; cd linux
$ make menuconfig
Power management options (ACPI, APM) —>
[*] Power Management support
Software Suspend []
Software Suspend 2 —>
[...]

Gentoo Network Detection

Wednesday, August 17th, 2005

I have three network possibilities at boot time: ethernet, wireless at work & wireless at home. Here’s my setup to detect and bring up the right configuration.

First we try to detect if ethernet is connected before we bring up the interface. We use mii-tool to give us the link status of an interface. If [...]