3 AUTHOR: Wolfgang Arendt <Wolfgang.Arendt@gmx.de>
6 How to install Ghostscript
9 Here are some instructions, that will help you at least to
10 compile ghostscript v 5.10
12 1.) Packages, you will need:
14 - ghostscript-5.10, of course.
15 (try: ftp://ftp.gnu.org/pub/gnu/ghostscript/ghostscript-5.10.tar.gz)
17 - one of the latest jpeg-library-distributions (I used jpeg.src.v6b)
18 (try: ftp://ftp.uu.net/graphics/jpeg/)
20 - one of the latest zlib-distribution (I used zlib-1.3.3)
21 (try: http://freshmeat.net/redir/zlib/12352/url_tgz/zlib.tar.gz)
23 - one of the latest libpng-distributions (I used libpng-1.0.8)
24 (try: http://www.libpng.org)
26 2.) Extract ghostscript and change to the top-level-directory of the
29 3.) create the file 'changes.sed', containing the following lines:
31 ----------------------------------------
32 s|XINCLUDE=-I/usr/local/X/include|XINCLUDE=-I/usr/X11R6/include|
33 s|XLIBDIRS=-L/usr/X11/lib|XLIBDIRS=-L/usr/X11R6/lib|
36 ----------------------------------------
38 4.) Create the Makefile, by running the following command:
40 ----------------------------------------
41 sed -f changes.sed unix-gcc.mak
42 ----------------------------------------
44 5.) Stay in the top-level-dir of the gs-Distribution and extract the
45 zlib-package. This creates a directory named 'zlib-1.1.3'. Rename this
46 directory to 'zlib' (or make a symlink).
48 6.) Extract jpegsrc.v6b.tar.gz and rename the jpeg-6b-directory to
52 7.) Extract libpng-1.0.8.tar.gz and move the libpng-1.0.8-directory to
54 (or - guess, what - make a symlink).
56 Now, you should be ready to compile the whole thing. Just run:
59 make -f Makefile install
63 Or at least, you should be done. If not - I do apologise...