From: Lars Wirzenius (wirzeniu@klaava.Helsinki.FI)
Date: 09/04/92


From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
Subject: Re: apologies, but I still need a little help
Date: 4 Sep 1992 20:00:11 GMT

mal11@po.CWRU.Edu (Matthew A. Lewis) writes:
>in my root dir.
>
>0971inc.tar.Z

It is usually considered common sense to not put extraneous files in the
root directory. Since there was no mention of a specific directory
where I should put the files, I created a new directory for them and put
them there (/usr/tmp/gcc2-install, if I remember correctly). Worked
pretty well.

>NOTICE THE TRUNCATED FILE NAMES.

I notice. I also noticed them when I installed gcc. Since there was no
mention about a need to do something special about them, I did nothing
and assumed that the installation script knew how to handle them. It
did. (Actually, it didn't have to do anything special about them.)

>sh install.2.x -v 2.2.2d /usr/src/linux
>
>:command not found
>'yntax error near '()
>'nstall.2.x:5: 'kernelstuff()

Did your files go via MS-DOS, so that the shell script (a text file) got
Unix newlines (a lonely LF) converted to MS-DOS newlines (CR then LF)?
It looks like you did. If so, you need to remove the CRs, with flip or
some other similar utility if you have one, or standard text utilities
(tr comes to mind) if you don't.

>SO NOW I ASK, NOW THAT I HAVE FOLLOWED ALL THE DOCS, WHAT SHOULD I DO?????
>I appreciate any info that you can send.

A vague recollection of the steps I went through while installing gcc
2.2.2d:

- got release-2.2.2d and README
- printed them out on hardcopy
- read them thoroughly
- get all the other files, the list is in release-2.2.2d
- since the above was done at my university, I created tar files of all
  the gcc files (gcc-1.tar, gcc-2.tar, gcc-3.tar, etc), and put those
  onto DOS floppies
- at home, I copied the tar files from DOS floppies to a Linux partition
  with mount/cp/umount cycles
- created /usr/tmp/gcc-install
- untarred the gcc-?.tar files into /usr/tmp/gcc-install
- re-read README and release-2.2.2d, and glanced at install.2.x
- made certain that I had the kernel sources in /usr/src/linux
- entered the command ./install.2.x 2.2.2d /usr/src/linux
- I probably executed, in /usr/src/linux, the command make dep
- I deleted /usr/tmp/gcc-install with contents, since I don't ever have
  enough disk space
- I don't remember doing anything else