home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9824 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  2.9 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!chester.ksu.ksu.edu!news
  2. From: probreak@chester.ksu.ksu.edu (James Michael Chacon)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: gcc install: files missing
  5. Date: 4 Sep 1992 01:14:38 -0500
  6. Organization: Kansas State University
  7. Lines: 49
  8. Message-ID: <186usfINNb5i@chester.ksu.ksu.edu>
  9. References: <1573@lysator.liu.se>
  10. NNTP-Posting-Host: chester.ksu.ksu.edu
  11.  
  12. lien@lysator.liu.se (Jan Lien) writes:
  13.  
  14.  
  15. >I recently tried installing gcc 2.2.2d and succeded to get the script
  16. >running after a while.  Linux does not support more than 14 char
  17. >filenames, so one has to change the install script to shorter
  18. >names, and rename the files.
  19.  
  20. >However, I am now unable to compile programs.  When I tried one
  21. >program (diskbackup.c) from the archives, I get 
  22.  
  23. >    In file included from diskbackup.c:6:
  24. >    /usr/include/sys/types.h:1: linux/types.h: No such file or directory
  25. >    In file included from /usr/include/sys/stat.h:5, from diskbackup.c:7:
  26. >    /usr/include/sys/types.h:1: linux/types.h: No such file or directory
  27. >    In file included from diskbackup.c:7:
  28. >    /usr/include/sys/stat.h:8: linux/stat.h: No such file or directory
  29. >    In file included from /usr/include/fcntl.h:5, from diskbackup.c:8:
  30. >    /usr/include/sys/types.h:1: linux/types.h: No such file or directory
  31. >    In file included from diskbackup.c:8:
  32. >    /usr/include/fcntl.h:6: linux/fcntl.h: No such file or directory
  33.  
  34. >The statements
  35. >        #include <linux/types.h>    in   /usr/include/sys/types.h
  36. >        #include <linux/stat.h>     in   /usr/include/sys/stat.h
  37. >and     #include <linux/fcntl.h>    in   /usr/include/fcntl.h
  38. >apparantly reference files I do not have.  Where do I find them - but
  39. >even more important is maybe :  What other files may be missing?
  40. >Does not the install script really check everything?  How can I check
  41. >that my installation is complete?
  42.  
  43. You really shouldn'y have to change the install script at all to get it
  44. to work. All the files for gcc are unique out to 14 chars, so just name them
  45. what they should be with a mv, and the kernel will strip off whatever it finds
  46. after 14. This won't cause a problem with install as it does the same thing
  47. when looking for them. Also, did you read the README files????
  48. I had no problem installing gcc after I had everything the README stated.
  49. You need to have the linux source code on line, and it has to be 0.97
  50. I believe. If you don't have it everything will fail, because the symlinks
  51. for the /usr/src/linux/include/linux aren't made to /usr/include/linux
  52.  
  53. Please, as H.J. will probably say: READ EVERYTHING FIRST
  54.  
  55.  
  56.  
  57. -----------------------                              ---------------------------
  58. -Oh the joy of finding-       James Chacon           -probreak@matt.ksu.ksu.edu-
  59. -That last pizza slice-                              ---------------------------
  60. -----------------------                     ---------------------------
  61.