I\'ve been trying to install Gearman on my EC2 instance, but when I try to ./configure gearmand, I get this:
checking build system type... x86_64-unknown-lin
You can get around this by linking /usr/bin/gcc to /usr/bin/gcc46 using this command:
ln /usr/bin/gcc46 /usr/bin/gcc
When you upgrade gcc, you can then keep multiple versions with binaries named /usr/bin/gccXX and simple point the /usr/bin/gcc link to the version you want to use (which will probably be the newest one).