home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 9905 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  1.2 KB

  1. Path: sparky!uunet!mcsun!sunic!news.funet.fi!hydra!klaava!wirzeniu
  2. From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: gcc install: files  missing
  5. Message-ID: <1992Sep4.204501.29472@klaava.Helsinki.FI>
  6. Date: 4 Sep 92 20:45:01 GMT
  7. References: <1573@lysator.liu.se>
  8. Organization: University of Helsinki
  9. Lines: 23
  10.  
  11. lien@lysator.liu.se (Jan Lien) writes:
  12. >    In file included from diskbackup.c:6:
  13. >    /usr/include/sys/types.h:1: linux/types.h: No such file or directory
  14.  
  15. Make sure you have appropriate permissions for all directories on the
  16. way to /usr/src/linux/include/linux/types.h, i.e.  the permissions of
  17. the file itself (it needs read permission for owner, group, and other),
  18. and all directories (/, /usr, /usr/src, etc; these need at least execute
  19. permission, possibly also read, for owner, group and other).
  20.  
  21. Do something like:
  22.  
  23.     chmod ugo+rx / /usr /usr/src /usr/src/linux
  24.     chmod ugo+rx /usr/src/linux/include /usr/src/linux/include/linux
  25.     chmod -R ugo+rx /usr/src/linux/include/linux
  26.  
  27. (not tested, I don't have time, sorry).
  28.  
  29. In some tar files of the kernel sources the directories have the wrong
  30. permissions.
  31.  
  32. --
  33. Lars.Wirzenius@helsinki.fi
  34.