ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs700/
1) Read the doc/build.htm
2) Read the doc/make.htm
3) Read the doc/install.htm
4) No host, no configure program.
5) Hard to build. You can get away with skunkware gs, but don't bother
if you care about your apps.
6) cd src
7) cp unix-gcc.mak unix-gcc.mak.orig
8) vi unix-gcc.mak
At this point you have to modify the file and make a bunch of settings
that are not easy to figure out. You have to read and experiment a lot.
Here's the variables that I changed or added, others that were left alon
e
I'll not put in here:
INSTALL = /usr/local/bin/install
JSRCDIR=/home/matthew/Uber/Gnome/jpeg-6b
PSRCDIR=/home/matthew/Uber/Gnome/libpng-1.0.10
SHARE_LIBPNG=1
ZSRCDIR=/home/matthew/Uber/Gnome/zlib-1.1.3
SHARE_ZLIB=1
AR=/usr/local/bin/ar
RANLIB=/usr/local/bin/ranlib
XCFLAGS=-DSVR4
EXTRALIBS=-lsocket -lnsl
STDLIBS=-pthread -lm
XINCLUDE=-I/usr/X/include
XLIBS=Xt SM ICE Xext X11
XLIBDIRS=-L/usr/X/lib
XLIBDIR=
SYNC=posync
DEVICE_DEVS2=$(DD)cljet5.dev $(DD)stcolor.dev
9) gmake
10) Here's how to test it out.
a) cd lib
b) ../bin/gs ../examples/tiger.ps
11) gmake install
12) Fix perms if you have a strong umask like I do.
gerberb@zenez.com |