home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9863 < prev    next >
Encoding:
Text File  |  1992-09-04  |  3.4 KB  |  72 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!sun-barr!ames!haven.umd.edu!darwin.sura.net!jvnc.net!primerd.prime.com!tiger1.prime.com!cummings
  3. From: cummings@tiger1.prime.com (Kevin J. Cummings)
  4. Subject: Re: gcc install: files  missing
  5. Message-ID: <1992Sep4.142718@tiger1.prime.com>
  6. Sender: usenet@primerd.prime.com (Usenet)
  7. Organization: Prime Computer, Inc.
  8. References:  <1573@lysator.liu.se>
  9. Date: Fri, 4 Sep 1992 18:27:18 GMT
  10. Lines: 60
  11.  
  12. In article <1573@lysator.liu.se>, lien@lysator.liu.se (Jan Lien) writes:
  13. > I recently tried installing gcc 2.2.2d and succeded to get the script
  14. > running after a while.  Linux does not support more than 14 char
  15. > filenames, so one has to change the install script to shorter
  16. > names, and rename the files.
  17. > However, I am now unable to compile programs.  When I tried one
  18. > program (diskbackup.c) from the archives, I get 
  19. >     In file included from diskbackup.c:6:
  20. >     /usr/include/sys/types.h:1: linux/types.h: No such file or directory
  21. >     In file included from /usr/include/sys/stat.h:5, from diskbackup.c:7:
  22. >     /usr/include/sys/types.h:1: linux/types.h: No such file or directory
  23. >     In file included from diskbackup.c:7:
  24. >     /usr/include/sys/stat.h:8: linux/stat.h: No such file or directory
  25. >     In file included from /usr/include/fcntl.h:5, from diskbackup.c:8:
  26. >     /usr/include/sys/types.h:1: linux/types.h: No such file or directory
  27. >     In file included from diskbackup.c:8:
  28. >     /usr/include/fcntl.h:6: linux/fcntl.h: No such file or directory
  29. > The statements
  30. >         #include <linux/types.h>    in   /usr/include/sys/types.h
  31. >         #include <linux/stat.h>     in   /usr/include/sys/stat.h
  32. > and     #include <linux/fcntl.h>    in   /usr/include/fcntl.h
  33. > apparantly reference files I do not have.  Where do I find them - but
  34. > even more important is maybe :  What other files may be missing?
  35. > Does not the install script really check everything?  How can I check
  36. > that my installation is complete?
  37.  
  38. I beleive that the diskbackup program may have been written at a time when
  39. the include files were still being figured out as to where they would ulitmately
  40. end up.  I would change the #include references to point to the files in the
  41. current distribution.
  42.  
  43. > And how do I get a make that works?  That is what I needed the gcc
  44. > for, and where is gdb?
  45.  
  46. I'm using the make from the old shared program distrubution.  I rerun its
  47. shared link soon after re-installing new GCC libraries so the programs
  48. reference the latest libs.  I also hand manage the conflicts between the
  49. latest ROOT disk and the shared objs.  I've had no compatibility problems
  50. so far (probably because I keep rebuilding).
  51.  
  52. Anyone know a surefire method of knowing when I can delete OLD libraries
  53. from my disk?  I'm starting to fill up my 40MB partition, and I'm sure I
  54. can lose a lot if I can delete old files in /lib and /usr/lib.   Thanx.
  55.  
  56. =================================================================
  57. Kevin J. Cummings                       PrimeService
  58. 20 Briarwood Road                       A Computervision Company
  59. Framingham, Mass.                       500 Old Connecticut Path
  60.                     Framingham, Mass.
  61. Work:  cummings@primerd.Prime.COM
  62. Home:  cummings@kjc386.framingham.ma.us
  63.  
  64. Std. Disclaimer: "Mr. McKittrick, after careful consideration,
  65.           I've come to the conclusion that your new
  66.           defense system SUCKS..."   --  War Games
  67. =================================================================
  68.