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