Dave:
I made a fresh cvs tree (a new checkout), configure it with--enable-static and --enable-debug and compiled OK.
I saw in acinclude.m4 that you fixed wx2 related path too.
Everything seems to work ok now.
Thanks.
Diego.