home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aux
- Path: sparky!uunet!usc!elroy.jpl.nasa.gov!ucla-cs!ucla-mic!oculus.loni.ucla.edu!li
- From: li@oculus.loni.ucla.edu (James Li)
- Subject: Re: Anybody compile Ghostscript2.5.2 lately? (PROBLEMS!)
- Message-ID: <1992Dec10.183446.12875@mic.ucla.edu>
- Nntp-Posting-Host: 149.142.138.33
- Organization: Jules Stein Eye Institute
- References: <1992Dec9.014431.4210@wvnvms.wvnet.edu>
- Date: 10 Dec 92 18:34:45 PST
- Lines: 37
-
- In article <1992Dec9.014431.4210@wvnvms.wvnet.edu> un032463@wvnvms.wvnet.edu writes:
- >O.K. I GIVE UP! (Well not really!)
- >
- >Would some kind soul PLEASE tell me how in the heck to compile Ghostscript
- >version 2.5.2 with gcc (2.3.1)!? I have been trying...trying...trying with
- >no success. It bombs when trying to compile gp_unix.c. It is really starting
- >to get on my nerves. Anyway, please be kind and help me ... Thanks!!!
- >
- I don't know if this is any help, but I've just compiled gs 2.2 with cc.
- The only change I remember needing to make was in gp_unix.c, where a couple
- of include files were different. The changes are the last two lines:
- /* Unix-specific routines for Ghostscript */
- #include "memory.h"
- #include "string.h"
- #include "gx.h"
- #include "gp.h"
- #include "time.h"
- #include "sys/time.h"
-
- Also, I changed the makefile to specify the location of the X11 include
- files (I don't know if this was absolutely necessary, but won't hurt):
- oculus.li 26 % diff Makefile unix-cc.mak
- 61d60
- <
- 781c780
- < $(CCC) -I/usr/include/X11/include gdevx.c
- ---
- > $(CCC) -I/usr/local/X/include gdevx.c
-
- I haven't ported gs 2.5.2. Could someone e-mail me a good location
- to ftp the sources. Also, I'd like to get support for a HP LaserJet II
- printer. Please include a name of site if different.
-
- Thanks,
-
- James
- sysmgr@oculus.loni.ucla.edu
-