avr-gcc: : No such file or directory MAC ISSUE

Hello everyone, I just installed Ardupilot v1.0.3 on my MacBook and I cannot compile anything. The following error pops up every time : avr-gcc: : No such file or directory. I installed the program in Documents so that it is not in the Applications folder. Please help me resolve the issue.