1👍
The clue is here:
unable to execute gcc-4.0: No such file or directory
error: command 'gcc-4.0' failed with exit status 1
You need to install the compiler… I’m not a Mac user, but a quick Google came up with http://www.tech-recipes.com/rx/726/mac-os-x-install-gcc-compiler/ which might help
Looks like sudo port install gcc_select
and then sudo port install gcc<nnn>
is about the right lines…
Source:stackexchange.com