Dear Alessio,
support for compilation on Mac OS X has been discontinued for Nmag, unfortunately. Your best bet would be to run Linux inside a virtual machine (for example the free virtualbox) on your Mac.
We are in the process of making a new virtual machine with Nmag preinstalled available - if you are interested, get in touch off list, and you could be a beta tester for this.
Thanks,
Hans
> <makeerror.txt>