Wednesday, May 21, 2008

Mac Ports Troubleshooting: "error: command '-DNDEBUG' failed with exit status 1"

Several different port installation attempts have been throwing this error for me lately:

error: command '-DNDEBUG' failed with exit status 1

I researched a workaround but to no avail.

Finally the solution presented itself:
Simply run the same port installation command again!

If this tip saved you some time, feel free to leave a comment.