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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!nocsun.NOC.Vitalink.COM!indetech!yan
  3. From: yan@indetech.com ()
  4. Subject: linux install experience, newbie question, and not so newbie question
  5. Message-ID: <1992Sep4.194304.10830@indetech.com>
  6. Keywords: FAQ, install, gcc
  7. Sender: yan@indetech.com (XuDong Yan)
  8. Organization: Independence Technologies, Inc. Fremont, CA
  9. Date: Fri, 4 Sep 1992 19:43:04 GMT
  10. Lines: 169
  11.  
  12.  
  13. Sorry the first post didn't get out, saved to the wrong place.
  14.  
  15. [long post]
  16.  
  17. I am a newbie installing linux. Below are my experience, questions, etc.
  18.  
  19. The experience may help another newbie; Also if you got an answer to my
  20. question please let me know.
  21.  
  22. Hardware:
  23.  
  24. 386-40 + hd +4mb:
  25.  
  26. 40m dos
  27. 20m extended dos
  28. 24m not used
  29. 40m linux
  30.  
  31. VGA+Trident --> Question: do I have no hope for X?
  32.  
  33. Software:
  34.  
  35. .97 boot
  36. .97p1 root
  37.  
  38. Disk 3 to 10 of SLS package. tar'd to 3 inch floppies.
  39.  
  40. GCC 2.2.2d stuff.
  41.  
  42. Question: can some one tell me in brief why I want .97 rather than .96,
  43. and in what level things are incompatible?
  44.  
  45. This installation is used primarily for someone to learn C programming
  46. on unix systems.
  47.  
  48. Install experience and problems:
  49.  
  50. 1. Dos partition the disk. (fdisk). one primary 40m, one extended 20m
  51. which has D: drive on it. (I have 130m total)
  52.  
  53. 2. Boot 0.97 then 0.97p1 root floppy
  54. 3. Install on hard disk, /dev/hda4, 40m. no swap no user
  55.  
  56. Question here: if I make the /dev/hda4 active, then DOS won't boot on C:
  57. saying that illegal partition table entry or some such. Apparently only
  58. one active partition is allowed in DOS. This is not covered in the FAQ.
  59.  
  60. 4. go back to DOS, fix the bood disk, boot to hard drive.
  61.  
  62. 5. tar SLS package
  63.  
  64. 6. Question: found that all my /dev/*fd* entries are changed!!.
  65. /dev/fd{0 1} use to have major minor of 2 0 or some such, now they are 0
  66. 0. Am I doing things wrong or is this the change between two versions?
  67.  
  68. 6. go back to 0.97p1 root floppy and do install again, this correct the
  69. /dev/fd* stuff. (just get the root dir files)
  70.  
  71. 8. Now I have a 0.97 boot imag, with some 0.97p1 binaries + files, plus
  72. whatever the rest come from SLS which is .96
  73.  
  74. Question -- am I in trouble? I really liked to have newer stuff, but I
  75. should probably have used all 0.96 stuff, given that the system is used
  76. for learning C programming on UNIX.
  77.  
  78. Question 2 -- I only found that ps didn't work, where can I find a
  79. better ps binary?
  80.  
  81. Question 3 -- how can I make vi not insert blanks? get the .96 termcap
  82. file?
  83.  
  84. Extended Install
  85.  
  86. 9. get 0.97 source and install
  87. 10. patch <.97p1.patch or some. Got whole bunch of "hunt" failures, some
  88. message complaining about that "this looks like new style diff to me" or
  89. some such. Remember that I probably have .96's patch command, am I ok at
  90. this point?
  91.  
  92. 11. patch <.97p2.patch, same as above, but it even ask me why I am
  93. reversing the patch done above! I just asked it to go ahead.
  94.  
  95. 12. Question -- what have I got? 0.97 p2 source? really messed up 0.97
  96. source?
  97.  
  98. 13. I forgot if I installed the .97p1inc that came from gcc2.2.2d or
  99. not, anyway I have it.
  100.  
  101. 14. Tested that gcc from SLS works
  102.  
  103.  
  104.  
  105. Problems with SLS
  106.  
  107. 15. as stated by other posters:  /tmp has wrong permissions, so is
  108. /dev/*fd* which is not writeable by other users, causing mtools to fail.
  109. emacs is missing a link from /usr/local/emacs to /usr/emacs ( path may
  110. be wrong I don't remember).
  111.  
  112. Install GCC2.2.2d
  113.  
  114. Question -- what is the difference, overall, between the gcc that's in
  115. SLS (2.2.2) and the 2.2.2d version? yes I can read the release note but
  116. I simply don't understand what is a jump table, let alone some change to
  117. it.
  118.  
  119. 16. Did as readme said, the gcc set of files are from a dos disk, and the
  120. name is really messed up, I have to restore them one by one as best as I
  121. could
  122.  
  123. 17. install.2.x
  124.  
  125. went through remarkably without major problems, as much as I can tell.
  126.  
  127. 18. tested gcc works, this is the 2.2.2d gcc. Also, as this point I
  128. found out that my disk has much more files than before the gcc install.
  129.  
  130. 19. emacs complain that libx11.blah isn't found
  131.  
  132. 20. ln -s /lib/lib.so.2blah /lib/libX11.blah
  133.  
  134. 21 emacs runs fine (remember I have to do a link from /usr/local/emacs
  135. to somewhere)
  136.  
  137.  
  138. Now I am in trouble, people with more experience please help me, 
  139.  
  140. 22. after a while, gcc would never work, gcc -v would produce an error:
  141.  
  142. can't load /lib/lib.so.2blah, 
  143. Version mismatch (or something like this)
  144.  
  145. Is this somehow related to the stupid step 20? It worked for a while
  146. (gcc), then won't anymore
  147.  
  148.  
  149. 23. reinstall of gcc from SLS would not help, gave me the same error
  150.  
  151. 24. blow away everything, repeat the install again, but forget GCC2.2.2d
  152.  
  153. 25. this time I am smart, I copied some /lib/libc.2.2.2 to
  154. /lib/libX11.blah, rather than doing a link.
  155.  
  156. 26. I never dared to install GCC2.2.2d again
  157.  
  158.  
  159. Anyway it took me a while, but linux is a great system overall. 
  160.  
  161. But I think that in the FAQ, we should have an entry to help out the
  162. newbies (non testers who probably want to get a stable system to use,
  163. rather then installing things all day):
  164.  
  165. 0.96 can be had by a SLS package, and is easier to install
  166.  
  167. 0.97px is better than 0.96 because xxxx, also xxxx is not compatible
  168. between the two version.
  169.  
  170. you can upgrade from 0.96 to 0.97, by swapping the files xxxx/and
  171. following the procedure yyyy...
  172.  
  173. GCC 2.2.2d is different from SLS/gcc2.2.2(?) because ...., to install at
  174. your own risk because then your debugger needs to be changed too(?)
  175.  
  176.  
  177. This is a long post, if you read through here, thanks, and if possible,
  178. let me know if you have answer to any questions.
  179.  
  180. Xudong
  181.