./configure ppc
or
cp /usr/libexec/config.* .
then
./configure
I don't know if the second one of those fixes the problem, but it has for me when I've tried compiling a couple other programs. Also make sure that you have the beta version, i think that is the only version of nmap that works with X.