To use the Motif version you must also have Motif (or Lesstif) installed. If Motif is not installed you will not be able to use this version of GraphApp - see the section on the Athena version.
mkdir graphapp # make a directory for it
mv GraphApp.Motif.tar.gz graphapp # move the tar file there
cd graphapp # go into the directory
gunzip GraphApp.Motif.tar.gz # unzip the file
tar xf GraphApp.Motif.tar # untar the file
This will produce a directory called something like
GraphApp_Motif_Src_2_45 which will contain several .c and .h files,
as well as the COPYLIB.TXT file and a Makefile.
Having made any changes to the Makefile that need to be made, you should now type:
make pizza
to see if all is going well.
The readdir() function doesn't work properly.
The latest version of GraphApp replaces the Motif file selection dialog with a custom-made dialog which avoids this problem by auto-configuring itself the first time it is used.