On OS X, I had to add the following linker commands to the end of the line for "plib_suffix" in configure:
"-framework IOKit -framework CoreFoundation -framework OpenGL -framework Carbon"
Without these, linking failed with many missing symbols. Afterwards, it compiled and ran (though very hard to control).