The makefile is configured for gcc and may need to be edited if Sun's compiler, which is an extra cost option, is installed. Otherwise, the general procedure above should work.
To install the man page on a Solaris machine, execute the following 3 commands as root:
cp tnimage.1.gz /usr/man/man1
gunzip /usr/man/man1/tnimage.1.gz
catman 1(may take a long time)
In Solaris, the Xbae widgets may not get installed in the correct locations by the Xbae makefile and must be installed manually to the following locations:
libXbae.a = /usr/openwin/lib
include files = /usr/include/Xbae.
Alternatively, they can be placed in a directory named ``Xbae'' under the xmtnimage source tree.
The gcc, libjpeg, libpng, perl, libtiff and m4 packages must be installed before tnimage will compile. Xbae, bison, make, xpm, and flex may also be needed.
To install a package file in Solaris, unzip the file with gunzip and enter the command: pkgadd -d package_file_name .
The libtiff package is also needed to compile the readtiff plugin. This plugin is not needed for tnimage.
All of these packages can be found at http://sunfreeware.com . After installing new libraries, it may be necessary to update the ld.config file using crle as shown:
crle -c /var/ld/ld.config -l /local/lib:/usr/lib:/usr/openwin/lib -s /local/libadding additional paths as necessary.