Man, that's a large dump lol. OK I've run into this problem as well when
building with cygwin, what worked for me was to build with *no* extensions first
(just so config.cache gets built). It seems that I am having problems building
the XML extension correctly and I'm willing to bet this is your problem as well.
If you don't need XML (read: PEAR needs XML) then you can build without
libxml2 and/or iconv.
If you *do* get XML support enabled... email and tell me exactly what you did to
fix it :)