Whoops, my bad. Those were Linux instructions.
EDIT: They work on my mac too.
I just tried this on my mac and produced a binary successfully:
curl -LO https://downloads.sourceforge.net/project/dfu-util/dfu-util-0.9.tar.gz
The binary is produced in
You may be missing Command line developer tools, which includes things like git, make, gcc, etc:
Here is the dfu-util binary I just built if you want it. Just click on the download button. (You will need to make it executable with
chmod +x dfu-util)