forms.h has a #include "xpm.h" which doesn't exist on a pristine system. The file is actually <X11/xpm.h> or xpm.h needs to be placed back in /usr/include. Either will fix the problem.
fixed