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