Installation instructions for GhostScript on MacOS X Ghostscript 7.00 and ghostscript 6.50 work on Mac OS X but might produce PDF that is not displayed correctly by Mac OS X 10.1, though it is displayed correctly by Acrobat 4 and 5. Step 1. Get files You need the following files: ghostscript/7/ghostscript-7.00.tar.gz ghostscript-7.00libpng.tar.gz ghostscript/7/gs7.00.macosx.patch libs/jpegsrc.v6b.tar.gz libs/libpng-1.0.10.macosx.patch # libs/zlib-1.1.3.macosx.patch # libs/zlib-1.1.3.tar.gz ghostscript/ghostscript-fonts-std-6.0.tar.gz ghostscript/ghostscript-fonts-other-6.0.tar.gz From now one, I assume you have these available in some working directory. I assume from now on that this working directory is called ${WD}. If you want to literally execute the statements below, go to the working directory and execute: setenv WD `pwd` Note: sometimes under MacOS X, you need to select one line at a time from the execute statements below as copy/paste does not preserve end of line while copying. Step 2: Create directories GhostScript needs the availaibility of the osurces of above libraries. Therefore, this setup assumes that you unpack the sources in /usr/local/src just as defined below. Execute: sudo -s mkdir -p /usr/local/bin mkdir -p /usr/local/lib mkdir -p /usr/local/man/man1 mkdir -p /usr/local/include mkdir -p /usr/local/share/ghostscript # mkdir -p /usr/local/src/zlib mkdir -p /usr/local/src/libpng mkdir -p /usr/local/src/jpeg mkdir -p /usr/local/src/gs exit Step 3: Unpack sources and apply patches Assuming the files mentioned under step 1 are in your current directory (with subdirs), execute: sudo -s (cd /usr/local/share/ghostscript; gnutar zxvf "${WD}"/ghostscript/ghostscript-fonts-std-6.0.tar.gz) (cd /usr/local/share/ghostscript; gnutar zxvf "${WD}"/ghostscript/ghostscript-fonts-other-6.0.tar.gz) # (cd /usr/local/src/zlib; gnutar zxvf "${WD}"/libs/zlib-1.1.3.tar.gz) (cd /usr/local/src/libpng; gnutar zxvf "${WD}"/ghostscript/7/ghostscript-7.00libpngtar.gz) (cd /usr/local/src/jpeg; gnutar zxvf "${WD}"/libs/jpegsrc.v6b.tar.gz) (cd /usr/local/src/gs; gnutar zxvf "${WD}"/ghostscript/7/ghostscript-7.00.tar.gz) (cd /usr/local/src/gs/gs7.00; mkdir obj bin) (cd /usr/local/src/libpng; patch -p0 < "${WD}"/libs/libpng-1.0.10.macosx.patch) # (cd /usr/local/src/zlib; patch -p0 < "${WD}"/libs/zlib-1.1.3.macosx.patch) (cd /usr/local/src/gs; patch -p0 < "${WD}"/ghostscript/7/gs7.00.macosx.patch) exit Step 4: Compile and install the libraries From the working directory, execute: sudo -s # (cd /usr/local/src/zlib/zlib-1.1.3; make install) (cd /usr/local/src/libpng/libpng-1.0.10; make install) (cd /usr/local/src/jpeg/jpeg-6b; ./configure; make install) (cd /usr/local/src/gs/gs7.00; make install) strip /usr/local/bin/gs exit DONE! Thanks to Richard Koch for bugfixes.