Installing TGIF on MacOSX 10.2

TGIF is a 2-D drawing program, written by William Chia-Wei Cheng. It was written for the X window environment and should run on MacOSX. However, Google did not give me the best hits immediately; it took me a while to find a port that worked successfully for me. Here are some steps that worked for me.

The most well documented page I have seen is Dr. Keisuke Fujii's page, http://www-jlc.kek.jp/~fujiik/macosx/10.2.X/. It has a tremendous amount of very useful information and packages. If you just want to install TGIF, you can follow my steps, which are extracted from several pages on that website.

The steps are

RPM

RPM for MacOSX is explained in detail on this page. The instructions there requires you to set up a "root" account; I use "sudo" instead, without the need to create a root account. Here are the steps:

  1. download the tarball from
    http://www-jlc.kek.jp/~fujiik/macosx/10.2.X/tgz/rpm-4.0.2-0.34e-bin.tar.gz
  2. In the Terminal, type the command
    sudo gnutar -zxvf rpm-4.0.2-0.34e-bin.tar.gz -C /
    (it will ask you for password)
    This will install the RPM programs in /usr/local/bin.
  3. Add /usr/local/bin to your path if necessary.
    echo $path
    to see if it contains /usr/local/bin. If not, then edit either your .cshrc or .tcshrc file, and add/edit the line
    path = ($path /usr/local/bin)
    Once the path is added, you may need to rehash to use the command.
  4. Initialize by typing
    sudo rpm --initdb
  5. Set up the packages needed by RPM. download these files:
  6. Install these packages by typing the commands

X11 Library files needed by TGIF and other X programs

These are documented on the web page X11onX. The steps are

  1. Download the files:
  2. Install them:

Install TGIF itself

TGIF and other tools are explained on the page MiscTools.
  1. Download Base TGIF itself:
  2. Install it:

If you want the ability to edit Postscript and other features then you may have to install additional packages, including a whole set of ghostscript packages, all from the same MiscTools page above..