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

  1. Path: sparky!uunet!bonnie.concordia.ca!IRO.UMontreal.CA!CC.UMontreal.CA!duperval
  2. From: duperval@ERE.UMontreal.CA (Duperval Laurent)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: WANT GCC? FORGET FAQ.GCC AND README?? READ THIS FIRST!!!!
  5. Message-ID: <1992Sep8.041837.11155@cc.umontreal.ca>
  6. Date: 8 Sep 92 04:18:37 GMT
  7. References: <186a86INNcsb@usenet.INS.CWRU.Edu>
  8. Sender: news@cc.umontreal.ca (Administration de Cnews)
  9. Organization: Universite de Montreal
  10. Lines: 235
  11.  
  12. In article <186a86INNcsb@usenet.INS.CWRU.Edu> mal11@po.CWRU.Edu (Matthew A. Lewis) writes:
  13. >Forget README and FAQ.
  14. >THEY JUST AREN'T WORTH THE TIME READING!!!!!!!!!!!
  15. >
  16.  
  17. Hmm... that's odd.  The first time I tried to install GCC, it worked fine for
  18. me.  Of course I read all the release notes and the associated README's to
  19. make sure I knew what I was doing.
  20.  
  21. >You can find the above in /pub/linux/packages/GCC
  22. >
  23. >You will also need 097.tar.Z (or something like that) from 
  24. >/pub/linux/sources/system
  25. >
  26.  
  27. As long as you're giving out information, why not make it complete?  You need
  28. the sources for the linux kernel on-line as well as the newest set of include
  29. files provided by Linus.  (The files are linux-0.97.tar.Z and 0-97inc.tar.Z)
  30.  
  31. >This is the linux source code. Get the patches if you want them.
  32. >(I personally haven't figured out what to do with them. :) )
  33. >
  34.  
  35. You're supposed to apply the patches to the original sources.  This fixes bugs
  36. found in older versions of the kernel.  And Linus generally adds new
  37. functionality to the kernel when he releases a patch.
  38.  
  39. If you've got a UNIX machine, try 'man patch'.  It could enlighten you a bit.
  40.  
  41. >So now you have these files. Hopefully they were transfered without any
  42. >corruption. Unfortunately they are VERY large, so I would get corrupted
  43. >ones about every 5th try. And you won't find this out until you're in
  44. >LINUX and then you'll have to reboot into DOS. Major frustration.
  45. >
  46.  
  47. That's odd.  I got all of my files without a glitch.
  48.  
  49. >BTW, these files should be in a DOS dir and they WILL take up alot of memory.
  50. >I think about 5MB.
  51. >
  52. >Now reboot into LINUX and login as root. Now follow these commands.
  53. >
  54. >cd /
  55. >mcd c:\<the dos dir with the above files>
  56. >mcopy c:*.* .
  57.  
  58. Uhm... that would be 
  59.  
  60. mcopy 'c:*' .
  61.  
  62. assuming those are the only files contained in that directory.
  63.  
  64. >
  65. >That should get all those files into the LINUX root dir.
  66. >Now, change their names using the mv (move) command.
  67. >
  68. >mv <fucked up dos filename now in linux>  <new filename>
  69. >
  70. >Do it according to these transformations:
  71. >install.2.x  --------->   install.2.x
  72. >binutils.tar.Z ------->   binutils.tar.Z
  73. >2.2.2ddb.tar.Z ------->   2ddb.tar.Z
  74. >2.2.2dlib.tar.Z ------>   2dlib.tar.Z
  75. >2.2.2dmisc.tar.Z ----->   2dmisc.tar.Z
  76. >097pl1inc.tar.Z ------>   097inc.tar.Z
  77. >097.tar.Z ------------>   097.tar.Z
  78. >
  79. >remember that these names on the left will be REALLY screwed up!!!!
  80. >keep track of them.........
  81.  
  82. On the other hand, you can always take all the files and put them in one
  83. gigantic ZIP or ZOO file.  That way they will all retain their original names.
  84. And although the files contain more than 14 characters, the install script
  85. will function nevertheless.  Just unZIP(ZOO) and go.
  86.  
  87.  
  88. >The reason that we have to do all this crap is because LINUX has a
  89. >limitation on length of filenames. UNIX doesn't have them. 
  90.  
  91. Guess what, SCO-Unix, Interactive Unix and others still have a 14-character
  92. file name limit.
  93.  
  94. >DOES ANYONE KNOW IF THIS CAN BE CHANGED??????
  95. >
  96.  
  97. Sure, shell out 25K, get a Sparc Station with SunOS and enjoy life.
  98.  
  99. >Now we need to install the kernel sources. 
  100. >
  101. >cd /usr
  102. >mkdir src
  103. >cd src
  104. >mkdir linux
  105. >cd /
  106. >cp 097.tar.Z /usr/src/linux
  107. >cd /usr/src/linux
  108.  
  109. BZZZZZZZTTTTTT!  Wrong, thank you for playing.
  110.  
  111. Copy the file to /usr/src and uncompress and untar from there.  This will
  112. create the /usr/src/linux directory properly.
  113.  
  114. >uncompress 097.tar.Z
  115. >tar -xvf 097.tar
  116. >
  117. >That should make some file and directories. 
  118. >now do this.
  119.  
  120. (I don't know if this is the right way to go.  Do this, do this, do that.
  121. Don't think, just do it.  Everything will be all right.  Don't worry, Big
  122. Brother has got you in His arms)
  123.  
  124. >
  125. >cd /
  126. >cp 097inc.tar.Z /usr/src/linux
  127. >cd /usr/src/linux
  128.  
  129. By the way, if you're already in /usr/src/linux, why not just
  130.  
  131. cp /097inc.tar.Z .
  132.  
  133. and save yourself the hassle of going from on directory to the next?  Jeez, I
  134. knew MS-LOSS got its name from inducing brain-cell atrophy but I never thought
  135. it could get this bad.
  136.  
  137. >uncompress 097inc.tar.Z
  138. >tar -xvf 097inv.tar
  139. >
  140. >More source files are made.
  141. >
  142.  
  143. Actually, include files are created but go on.
  144.  
  145. >NOW WE ARE READY TO DO WHAT IT DOES SAY IN README AND GCC.FAQ
  146. >Fortunately, it's only one line.
  147. >
  148. >Go to the root directory.
  149. >
  150. >cd /
  151. >sh install.2.x -v 2d /usr/src/linux
  152. >
  153. >The program will ask you about a math coprocessor. Answer accordingly.
  154. >Eventually the program will barf looking for some file in a dir
  155. >like /usr/lib..../2d/......./<some file>
  156. >
  157. >The problem is with this 2d directory, an artifact of this process of 
  158. >dealing with LINUX filename length restrictions.
  159. >
  160. >Change directories to the dir ABOVE 2d.
  161. >
  162. >do an 'ls' command.
  163. >all you should see is 2.2.2d
  164. >
  165. >do this
  166. >
  167. >mv 2.2.2d 2d
  168. >cd /
  169. >sh install.2.x -v 2d /usr/src/linux
  170. >
  171. >
  172. >This should either make it all the way through the installation script, or
  173. >it will barf on another file in some subdirectory of a 2d directory.
  174. >
  175. >Find it and change 2.2.2d to 2d like about and run sh again.   
  176. >
  177.  
  178. Or don't do any name changes and everything should run smoothly.
  179.  
  180. BTW, this is a comment to HJ: you should really try to keep the filenames
  181. under 14 characters.  It does tend to confuse.
  182.  
  183. >This will put you where I am. 
  184.  
  185. Ouch!  What a sobering thought.
  186.  
  187.  
  188. > With a ton of files on my harddrive (which
  189. >ones can I erase?????????). The compiler gcc in /usr/bin. And some
  190. >instruction to remove some lines from the LINUX kernel Makefile and
  191. >then do a make dep.
  192. >
  193. >unfortunately....I can't find make. And I haven't an editor. My vi
  194. >doesn't work yet. 
  195.  
  196. A-ha!  We get to the root of the problem.  Old man Howler here, hasn't got a
  197. complete system yet.  Get one of three installation packages that exist and
  198. save yourself the trouble of sending out partial and (IMNSHO) not very
  199. instructive information.  I don't believe the theory that all people ressemble
  200. me (i.e. as bright or as stupid as I am).  But in this case, and for all the
  201. other people out there who want to try Linux but can't get it up and started:
  202.  
  203.     mcc-interim version 0.97 pl2 has been out for more than a week now.  It
  204.     was the first Linux installation package released and I used it without
  205.     any problems so far.  It doesn't tell you to do this and do that without
  206.     telling you what's going on and that's why I personnally recommend it for
  207.     anyone installing Linux for the first time.
  208.  
  209.     SLS is another package which has gotten rave reviews in the past few
  210.     weeks.  I haven't tried it personnally.  Someone who has may want to give
  211.     his(her) opinion.
  212.  
  213.     The MJ release is a spin-off on mcc-interim and has been judged as a good
  214.     installation package also.  I haven't tried it either.
  215.  
  216. Use the above packages if you are not confortable with Linux yet.  Hey!  I'm
  217. getting pretty confortable with it but I may decide to trash my entire file
  218. system and re-install Linux using one of the above-mentioned packages.
  219.  
  220. >
  221. >BTW, if you don't like these instruction, screw you. It worked for me :)
  222. >
  223.  
  224. I sure hope you never intend to work in a position where you have to teach
  225. anyone anything.  You techniques leave much to be desired.
  226.  
  227. >Hopefully this will motivate someone (in authority?) to make this
  228. >installation process a little easier.
  229. >
  230.  
  231. People have worked long and hard to make Linux as easy to use and install as
  232. possible.  If you find it's not easy enough, write your own installation
  233. scripts and make them available.  If you can't do that, then haul your
  234. obnoxious, I-need-my-hand-to-be-held, can't-read-instructions-and-
  235. understand-at-the-same-time, DOS-loving ass back to the MS-DOS world and do us
  236. all a favor.
  237.  
  238. To all the others, I don't usually pay any mind to ranting *ssholes like this
  239. but this one was way out of line.
  240.  
  241. We now return you to your regurlarly scheduled newsreader.
  242. -- 
  243. Laurent Duperval
  244. duperval@ere.umontreal.ca
  245. duperval@jsp.umontreal.ca
  246. If you gotta go, go happy... or surprised.  -Me
  247.