Troubleshooting Demo Building
You cannot build the demos if the imake and xmkmf utilities are not found. To ensure that they are found, put /usr/bin/X11 in your PATH.
Use the which command to verify that imake and xmkmf can be found. For example, enter:
% which xmkmf
The following verification is displayed:
/usr/bin/X11/xmkmf