To obtain the spreadsheet functionality, the Xbae widget set (from ftp.x.org) must be installed before running `configure'. If Xbae does not install correctly by itself, the following setup is known to work, at least in Linux:
cd xbae (start in the directory where you compiled libXbae) cp libXbae.a /usr/X11R6/lib/ cp libXbae-4.6.a /usr/X11R6/lib/ mkdir /usr/X11R6/include/Xbae-4.6 ln -s /usr/X11R6/include/Xbae /usr/X11R6/include/Xbae-4.6 cp *.h /usr/X11R6/include/Xbae-4.6
Check to make sure Matrix.h is in /usr/X11R6/include/Xbae-4.6, then delete config.cache and rerun ./configure and make in the tnimage source directory.