Got XFig to run under Mac OS X in less than an hour

Using only knowledge gathered based on my previous posts, I’m happy to report that I was able to get XFig running under Mac OS X in less than an hour thanks to the magic of Fink.

So far, my most difficult task has been to get used to yet-another-crazy-keyboard-layout and to get my HP Laserjet 1012 running. Turns out that Apple does not support the HP Laserjet 1012 printer through a Windows share, for some odd reason. Downloading the cups PPD for the HP 1010 printer and installing it manually didn’t help. The workaround was to actually use the same printer, still connected to a Windows box, but this time, shared by my Linux box (if you are lost at this point, sorry), as a generic postscript printer. It is a bit crazy, but it works.

Now, the machine is compiling KDE. I’ll probably only know if it worked tomorrow. This time, I’m trying to follow the instructions found on Fink’s web site so I might have better luck than my previous attempts.

I’ve also found this great list of open source software for Macs on nothickmanuals.org.

I might also try to update Apple’s X11 before trying to run OpenOffice, this time.

See also my posts My favorite MacOS applications, PDFView is dead, vive Skim! and I have had it with Firefox under MacOS.

Subscribe to this blog
in a reader
or by Email.

One thought on “Got XFig to run under Mac OS X in less than an hour”

  1. I just compiled xfig without fink. It’s quite easy. Just get the latest sources for xfig and transfig from http://www.xfig.org. In the xfig sources you have to change to files.
    First the file xfig.h, there you have to get sure that it does not define any srandom(). So search for it and delete the whole #if … #elif … #endif block where all the srandom()’s are defined.
    Then in the file w_keyboard.c you have to add a “#define REG_NOERROR 0” somewhere on top in a separate line. (The last symbol is a zero, not an capital o.)
    In the Imakefile you have to comment out the BINDIR variable, the XAW3D variable and the USEJPEG variable.
    In the transfig package you have to set the right path for XFIGLIBDIR in the fig2dev Imakefile. It’s /usr/X11/lib/X11/xfig. And I also uncommented out the LATEX2E variable in the transfig Imakefile.
    xfig compiles using “xmkmf; make; make install”. For transfig there was “xmkmf; make Makefiles; make; make install” necessary.
    But better one read the README files before doing this. The parameters in the Imakefiles are described very well there and also the commands to compile the sources. Only the changes in the two files I made are not described there.

Leave a Reply

Your email address will not be published. Required fields are marked *