Gentoo64 + arduino Upload problems

I've managed to get the IDE running with no errors, the serial port recognized, and even can upload without any errors returned.. However, I'm using this code -> C code - 46 lines - codepad and have tried many alterations of it. The 2 pin LED flashes rapidly, then the 4 pin LED stays lit until unplugged. The exact same coding worked flawlessly on my girlfriend's windows laptop, infact I copied it from there. Any insight on this issue? =(

More information... like version numbers of installed avr compiler + pulled in dependencies.