arduino svn compile bug

I'm getting very close!

So im summary to get this built and running on a 64-bit gentoo system do the following

Build your own version of RXTX.
then either symlink or cp your local version of librxtxSerial.so to /path/to/arduino-svn/build/linux/dist/lib
#updatedb
#locate librxtxSerial.so
$cp /local/path/librxtxSerial.so /arduino-svn/build/linux/dist/lib/.

Then deal with AVRDUDE, which will take care of 64 bit libusb issues.
so compile avrdude for your own system.

then locate your avrdude binary path locally
then cp /local/avrdude to arduino-svn/build/linux/dist/tools/.

now go to /arduino-sv/build/linux/ and rm -rf work, then ./make.sh

NOW we have to symlink the ldscripts libray
cd into work
ln -s /usr/lib64(NOTE THE 64HERE)/binutils/2.18/ldscripts/

now ./arduino and it'll run.

Things I still need to figure out.

BUG I NEED HELP WITH:
When uploading firmware I get that the device signature doesn't match. This is because arduino uses another method of determining this with a patch source which I could've used to compile avrdude locally. I chose portage since that'll keep it up to date and line with gentoo config's.....
That being said, I can also add the "-F" flag to ignore this. Now, where in the arduino-gui source do I add that flag? Where is that command actually called from? This way I can use the button on the GUI.

  1. My sketchbook directory is NOT saved upon exiting the program.

JM