I have followed this up, and 7.1.3 compiled first time for my configuration. I think some of your options are causing problems, and when I look at them, one or two look likely.
I tried your options one at a time, and the problem seems to be --enable-multibyte. If you don't need it, don't...