I got an Artuino Duemilanove AT328, and i'm on OS x 10.5.7, when i'm trying to upload the blink example, after i select my serial port (/dev/tty.usbserial-A6008c9d) and select my board, i open the example, press reset on my board wait a while, and then press upload on the Arduino 16 IDE. Afterwhich I get this error:
hardware/tools/avr/bin/avr-g++: line 2: dirname: command not found
hardware/tools/avr/bin/avr-g++: line 2: readlink: command not found
hardware/tools/avr/bin/avr-g++: line 5: dirname: command not found
hardware/tools/avr/bin/avr-g++: line 5: /../avr-4/bin/g++: No such file or directory
hardware/tools/avr/bin/avr-g++: line 5: exec: /../avr-4/bin/g++: cannot execute: No such file or directory
hardware/tools/avr/bin/avr-gcc: line 2: dirname: command not found
hardware/tools/avr/bin/avr-gcc: line 2: readlink: command not found
hardware/tools/avr/bin/avr-gcc: line 5: dirname: command not found
hardware/tools/avr/bin/avr-gcc: line 5: /../avr-4/bin/gcc: No such file or directory
hardware/tools/avr/bin/avr-gcc: line 5: exec: /../avr-4/bin/gcc: cannot execute: No such file or directory
Couldn't determine program size: hardware/tools/avr/bin/avr-size: '/Applications/arduino-0016 17-22-53/examples/Digital/Blink/applet/Blink.hex': No such file
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
I checked for the files it says that it cannot find, and they are there, i also checked for those commands, and I have them...i'm thinking it may be a permissions problem, but cannot quite pin down how to fix it, it may be completely unrelated to permissions...anyone have any guesses or further troubleshooting tips??