Hi,
try to install libxt-dev, remove asimage/src/libAfterImage and related asimage stuff and rebuild. What I believe happens is that you have afterimage compiled with X_DISPLAY_MISSING (you can check libAfterImage/config.log file) The problem in TASImage is that it assumes it can use asimage2pixmap function while it does nothing in case of X_DISPLAY_MISSING.
cheers
Jiri