FYI, the Imake.tmpl (required for building xpm) under ubuntu, and I
assume newer debian systems, is located in /etc/X11/config/cf, not the
location pulled from the x11 package information used now. Not
sure what the fix would be, but setting x11config to the previously
mentioned location allows you to move on with your builds.
-later