Begin File: ghostscript-5.50-X_src.tgz Description:ghostscript (postscript/PDF filter) X11 original source files Keywords:gs postscript PDF conversion Version: V5.50 Entered-date: Author: Ported-by: Karsten.Hoffmann@mbs.gtn.com Original-site: www.ghostscript.com Copying-policy: CMU Supplemental: Ghostscript archive files: You should get this archive if you want to compile the source for X11 and _not_ for Photon. If you want to create a ghostscript application for QNX4, download the files ghostscript-5.50-ph.tgz The following instructions are for the Photon version of the archive but should help you if you are compiling the X11 source. 1) Unpack the "ghostscript-photon-5.50.tar.gz". --> zcat ghostscript-photon-5.50.tar.gz | pax -rv This will create a "gs5.50" directory with almost all the necessary files to compile the program. 2) Unpack the additional modules: --> zcat ghostscript-5.50.gnu.tar.gz | pax -rv --> zcat ghostscript-5.50.jpeg.tar.gz | pax -rv --> zcat ghostscript-5.50.libpng.tar.gz | pax -rv --> zcat ghostscript-5.50.zlib.tar.gz | pax -rv 3) Enter the directory and make the appropriate version on your system: --> cd gs5.50 --> make 4) Once the program has finished compiling, it is necessary to install the libraries. By default, the libraries will be placed in the "/usr/local/lib/ghostscript/5.50" directory; ================================= and the executables (i.e. bdftops dvipdf font2c gs gsbj gsdj gsdj500 gslj gslp gsnd pdf2dsc pdf2ps printafm ps2ascii ps2epsi ps2pdf ps2ps wftopfa and "gs") in "/usr/local/bin". ================ Check that this will not clobber anything important, and type: --> su root --> make install 5) Change directories to "/usr/local/lib/ghostscript" and install the fonts. --> cd /usr/local/lib/ghostscript --> zcat ghostscript-fonts-std.tar.gz | pax -rv --> zcat ghostscript-fonts-other.tar.gz | pax -rv NOTE: To display postscript or PDF files on a photon screen you can create a script like this: /usr/local/bin/gsview #!/bin/sh exec gs $* quit.ps You have to switch from page to page with the CR in the pterm window, where you issued the gs/gsview command. For further help on compiling refer to gs5.50/Readme.htm (best viewed with the photon helpviewer). Good luck! Karsten Hoffmann. -- Karsten.Hoffmann@mbs.gtn.com End