It must be compiled with the pbmraw, ppmraw, pcx256, jpeg, and tiff24nc drivers. Edit the Imakefile if you need to customize it. This is the default. When Xaw3d is used instead of Xaw , the buttons will appear 3 dimensional. Type xmkmf to generate a Makefile for your system.
Type make to compile xfig .
After the compilation has finished, type make install to copy the files to the appropriate directories. It should be available at the same site as xfig . This is the default. Slackware Linuxes use -lgdbm . Type xmkmf to generate the Makefile .