I've attached a compressed config.log.
Incidentally, we were able to get Python to compile by appending the following line to pyconfig.h:
#define
SETPGRP_HAVE_ARG
-Andres