home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aux / 4301 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.7 KB  |  49 lines

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