If you want to build PfaEdit on Mac OS/X you have to go through certain contortions. I hope eventually to ease some of these.
--- If anyone can tell me how this should be done, please do so! ---
I was able to build libpng (and libz) with no trouble, but for libungif the configure script failed to produce a working Makefile, but I was able to complete the build and install manually. I did not attempt the other two libraries.
You may find it easier just to download my pre-built binary.
Before installing PfaEdit you should ensure that you have X windows up and running. This is free software available from:
Then gunzip and untar my distribution
$ sudo -s # mkdir /usr/share/pfaedit # cp *.ui /usr/share/pfaedit # cp pfaedit /usr/bin # cp pfaedit.1 /usr/share/man/man1 # ^D
The X server (XDarwin) must be running before PfaEdit can start. XDarwin lives in the Applications folder and may be started by double clicking on it.
You may start PfaEdit either from an xterm or from a Terminal window. If
you start it from a Terminal window you must first type:
$ setenv DISPLAY :0
The default window manager (twm) doesn't work well with PfaEdit when X is running in rootless mode.
PfaEdit allows the window manager to position its windows for it, and twm does this by allowing the user to click anywhere on the screen to position the upper left corner of the new window. Unfortunately unless X has a window under the location where you want the upper left corner to be Aqua will put X into the background and steal the click from X.
You can only open a window if you position it so that it's upper left corner is on one of X's already existing windows.
(Hexley the platypus, unofficial Darwin mascot, copyright Jon Hooper)