home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 15973 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  2.2 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!ogicse!news.u.washington.edu!serval!yoda.eecs.wsu.edu!hlu
  2. From: hlu@yoda.eecs.wsu.edu (H.J. Lu)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: compiling ghostscript/view
  5. Message-ID: <1992Nov7.090317.23575@serval.net.wsu.edu>
  6. Date: 7 Nov 92 09:03:17 GMT
  7. Article-I.D.: serval.1992Nov7.090317.23575
  8. References: <michaelw.721002668@mcshh.hanse.de> <1992Nov5.212126.36402@uservx.plk.af.mil>
  9. Sender: news@serval.net.wsu.edu (USENET News System)
  10. Organization: Washington State University
  11. Lines: 42
  12.  
  13. In article <1992Nov5.212126.36402@uservx.plk.af.mil> simonich@uservx.plk.af.mil writes:
  14. >In article <michaelw.721002668@mcshh.hanse.de>, michaelw@mcshh.Hanse.DE (Michael Will) writes:
  15. >> I tried to compile ghostscript 2.5.2, and got:
  16. >> echo -lsocket -lm >>_temp_
  17. >> /bin/sh <_temp_
  18. >> ld: No such file or directory for libsocket.a
  19. >> make: *** [gs] Error 1
  20. >> # 
  21. >> Why this?
  22. >> 
  23. >> Someone told me it should "make" without trouble on linux.
  24. >> 
  25. >> Ghostview failed as well:
  26. >> # make
  27. >> gcc -fwritable-strings -fomit-frame-pointer  -O2 -m386 -DNO_ASM   -I/usr/X386/include  -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE      -Dlinux  -DFUNCPROTO=11 -DNARROWPROTO -DNON_BLOCKING_IO  -DSELFILE -DHOME_ON_DEMAND   -c misc.c -o misc.o
  28. >> misc.c:61: conflicting types for `sys_errlist'
  29. >> /usr/include/errno.h:8: previous declaration of `sys_errlist'
  30. >> make: *** [misc.o] Error 1
  31. >> 
  32. >> So what?
  33. >> 
  34. >> Greetings, Michael Will
  35. >
  36. >I'm very new to the wonderful world of Imake et.al.  However, I did
  37. >compile ghostscript last night (and on the first try!).
  38. >
  39. >I umpacked the gs252 directory, did a xmkmf to regenerate the Makefile,
  40. >did make, and went out to watch TV.  When I came back it was done.
  41. >
  42. >I am using a very valnilla system consisting of HLU's base disk and
  43. >gcc disks under Linux 0.98p3+ (the + is Linus's emergency fix).
  44. >
  45.  
  46. I have to confess here. I fixed /usr/include/errno.h in my libdisk,
  47. although the binaries are the same as gcc 2.2.2d7. I suggest you update
  48. to my gccdisk and libdisk. They can be also used as system backup.
  49.  
  50. >This is probably no help but at least you know that the problem isn't
  51. >in GhostScript 2.5.2.  Therefore, it must (?) be something in
  52. >your paths.
  53.  
  54. H.J.
  55.