|
|
|||||||||
Ghostscript & GhostviewGhostscript is ftped from ftp://ftp.cs.wisc.edu/ghost/aladdin. There are several files you need to get. The ghostscript itself, jpeg, gnu, fonts, other fonts etc. Unpack them into one directory. On solaris, we copy the unixansi.mak to Makefile.solaris and change the following< INSTALL = /local/bin/install -c > INSTALL = install -c < GS_LIB_DEFAULT=$(gsdatadir):/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type3:$(gsdir)/fonts > GS_LIB_DEFAULT=$(gsdatadir):$(gsdir)/fonts < EXTRALIBS=-lnsl -lsocket > EXTRALIBS= < XINCLUDE=-I/usr/openwin/include > XINCLUDE=-I/usr/local/X/include < XLIBDIRS=-L/usr/openwin/lib > XLIBDIRS=-L/usr/local/X/libOn the Dec Alphas, we copy the unixansi.mak to Makefile.osf and change the following < INSTALL = installbsd -c > INSTALL = install -c < GS_LIB_DEFAULT=$(gsdatadir):/usr/lib/X11/fonts/Type1Adobe:$(gsdir)/fonts > GS_LIB_DEFAULT=$(gsdatadir):$(gsdir)/fonts < XCFLAGS= -Olimit 4096 > < XINCLUDE=-I/usr/include/X11 > XINCLUDE=-I/usr/local/X/include < #XLIBDIRS=-L/usr/lib/X11 > XLIBDIRS=-L/usr/local/X/libIn both cases we then do a make -f Makefile.solaris make -n -f Makefile.solaris install Check the results. make -f Makefile.solaris install make -f Makefile.osf make -f Makefile.osf installWe then go to /usr/local/lib/ghostscript directory and check the 3.53/FontMap file and copy the Fontmap.OSF or Fontmap.Sol depending on the architecture. Make sure you read these files and have done the modifications listed in there to the GS_LIB_DEFAULT variable in the makefile. We then delete any older versions of the files in 3.XX directories. We should leave the fonts directory alone unless the fonts have changed. Ghostview for X-Windows is available at regular GNU source areas. GSview, a previewer for MS-Windows or OS/2 based on Aladdin Ghostscript is available in the directory ftp://ftp.cs.wisc.edu/ghost/rjl/ |
|||||||||