home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 9987 < prev    next >
Encoding:
Text File  |  1992-09-08  |  3.2 KB  |  87 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!gatech!rpi!psinntp!psinntp!pool!ujlh
  3. From: ujlh@pool.info.sunyit.edu (James Henrickson)
  4. Subject: Re: utter frustration with making GCC 2.2.2d
  5. Message-ID: <1992Sep5.002032.11600@pool.info.sunyit.edu>
  6. Organization: State University of New York -- Institute of Technology
  7. References: <1843a2INNgqm@usenet.INS.CWRU.Edu>
  8. Date: Sat, 5 Sep 1992 00:20:32 GMT
  9. Lines: 76
  10.  
  11. In article <1843a2INNgqm@usenet.INS.CWRU.Edu> mal11@po.CWRU.Edu (Matthew A. Lewis) writes:
  12. >
  13. >
  14. >
  15. >i have followed the FAQ.GGC and release notes to no avail. Would some1
  16. >please help me out a bit.
  17. >
  18. >I got the follow files from tsx-11:
  19. >2.2.2d(db,lib,misc).tar.Z    3 files!!!!
  20. >binutils.tar.Z
  21. >0.97pl1inc.tar.Z
  22. >install.2.x
  23. >
  24. >Due to linux's filename lenght limitations I renamed them as follows and put
  25. >them in my root dir:
  26. >
  27. >2d(db,lib,misc).tar.Z
  28. >097inc.tar.Z
  29. >
  30.  
  31. Your first mistake was renaming the files.  You DO NOT have to rename
  32. the files, the names get truncated to 14 characters automagically.
  33. Of course, you could always manually edit the entire install script
  34. to reflect the new file names but trust me:  it's more trouble
  35. than it's worth.
  36.  
  37. Another thing worth pointing out:  it doesn't matter what directory
  38. your gcc files are in, as long as you run the installation script
  39. from that same directory.  I ran mine from /misc/tmp/GCC2.2.2d.  :-)
  40.  
  41. >Then, as the docs say, I typed sh install.2.x -v 2d /foo/src/linux
  42.  
  43. In the programming world, we often use "foo" as an example, and this
  44. is no exception.  For most (but not all) Linux installations, it
  45. is /usr/src/linux.
  46.  
  47. I'm not sure about the "2d" part, either.  It's been a while so
  48. I'll let someone else comment on that.
  49.  
  50. >
  51. >It barfed when it looked for that dir, /foo/src/linux. So I made it
  52. >and uncompressed and untared 097inc.tar.Z into it, making
  53. >/foo/src/linux/include/linux....which it was looking for.
  54. >Now it barfs looking for /foo/src/linux/include/asm.
  55. >
  56.  
  57. If you have the kernel source installed properly (I suggest you make
  58. sure by reading the docs that were in the same place where you found
  59. the kernel source) AND properly applied the first patch AND give the
  60. install script the correct path to the linux source AND didn't change
  61. the names of the gcc files (just let the names get chopped), gcc
  62. installation should be a piece of cake.
  63.  
  64. >i am totally confused. Are there any better docs????
  65.  
  66. The only time I had a problem with it was when I DIDN'T read the
  67. docs first.  Being accustomed to manual installations, I thought I
  68. could just skip the docs.  :-)
  69.  
  70. This is the EASIEST gcc installation we've had yet!
  71.  
  72. I think the installation instructions need to be improved, though,
  73. based on the number of people that are having problems.  The only
  74. thing wrong with it (that I can see) is that it doesn't predict
  75. places where people might go wrong, like renaming the files.  I
  76. know people aren't following instructions to the letter if they
  77. do things that are NOT in the instructions, but we can keep that
  78. from happening in the future.  We can learn from this by keeping 
  79. the installation script the same and just adding a few more comments 
  80. to the instructions to keep people from making these same mistakes.
  81.  
  82. -- 
  83. Jim H.
  84. *
  85. * James L. Henrickson
  86. * ujlh@sunyit.edu        "Some day I might have a real .signature!"
  87.