You probably need to install libxpm-dev - Which OS are you using ?
r
You probably need to install libxpm-dev - Which OS are you using ?