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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!sunic!liuida!isy!lysator.liu.se!lien
  3. From: lien@lysator.liu.se (Jan Lien)
  4. Subject: gcc install: files  missing
  5. Message-ID: <1573@lysator.liu.se>
  6. Sender: news@isy.liu.se (Lord of the News)
  7. Organization: Lysator Academic Computer Society, Linkoping University, Sweden
  8. Date: Thu, 3 Sep 1992 23:38:19 GMT
  9. Lines: 32
  10.  
  11.  
  12. I recently tried installing gcc 2.2.2d and succeded to get the script
  13. running after a while.  Linux does not support more than 14 char
  14. filenames, so one has to change the install script to shorter
  15. names, and rename the files.
  16.  
  17. However, I am now unable to compile programs.  When I tried one
  18. program (diskbackup.c) from the archives, I get 
  19.  
  20.     In file included from diskbackup.c:6:
  21.     /usr/include/sys/types.h:1: linux/types.h: No such file or directory
  22.     In file included from /usr/include/sys/stat.h:5, from diskbackup.c:7:
  23.     /usr/include/sys/types.h:1: linux/types.h: No such file or directory
  24.     In file included from diskbackup.c:7:
  25.     /usr/include/sys/stat.h:8: linux/stat.h: No such file or directory
  26.     In file included from /usr/include/fcntl.h:5, from diskbackup.c:8:
  27.     /usr/include/sys/types.h:1: linux/types.h: No such file or directory
  28.     In file included from diskbackup.c:8:
  29.     /usr/include/fcntl.h:6: linux/fcntl.h: No such file or directory
  30.  
  31. The statements
  32.         #include <linux/types.h>    in   /usr/include/sys/types.h
  33.         #include <linux/stat.h>     in   /usr/include/sys/stat.h
  34. and     #include <linux/fcntl.h>    in   /usr/include/fcntl.h
  35. apparantly reference files I do not have.  Where do I find them - but
  36. even more important is maybe :  What other files may be missing?
  37. Does not the install script really check everything?  How can I check
  38. that my installation is complete?
  39.  
  40. And how do I get a make that works?  That is what I needed the gcc
  41. for, and where is gdb?
  42.  
  43.