Can't compile on Snow Leopard Mac

I am trying to run the new Arduino on a Snow Leopard Mac. I have the latest drivers for Snow Leopard and Arduino 17. I got an error message when i loaded the drivers but the loader said the install was ok. I could not mount the disk image so i used another computer with an older OS to load the disk image and unzip the files. i loaded the Arduido program, selected the USB port and tried to run the blink script but it fails with the message below.

usage: dirname path

usage: dirname path

/Applications/Arduino 3.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc: line 5: /../avr-4/bin/gcc: No such file or directory

/Applications/Arduino 3.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc: line 5: exec: /../avr-4/bin/gcc: cannot execute: No such file or directory

/Applications/Arduino 3.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc returned 126

any ideas?

I got this error recently.
You need to try removing spaces in directory names.
In other words, get rid of spaces in the names of folders that the arduino application is in.
(I_replaced_them_with_underscores_but_you_can_do_whatever_you_want)

Amazing!! Thanks that appears to have solved the problem!!

You're welcome.
I was very happy too when people gave me the solution.
Hehe, the only reason I knew what to do was because someone told me about 1-2 weeks ago.
:smiley: