home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / alt / gopher / 1058 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  2.6 KB

  1. Xref: sparky alt.gopher:1058 comp.windows.x.apps:609
  2. Path: sparky!uunet!olivea!decwrl!csus.edu!netcomsv!mork!tunxis
  3. From: tunxis@netcom.com (Gary A. Gorgen)
  4. Newsgroups: alt.gopher,comp.windows.x.apps
  5. Subject: Re: Problem compiling XGopher/Imake problem
  6. Summary: Tabs in Makefiles
  7. Keywords: xgopher imake xmkmf problem
  8. Message-ID: <ywgm36d.tunxis@netcom.com>
  9. Date: 23 Jul 92 14:54:24 GMT
  10. References: <1992Jul21.154252.13664@trentu.ca> <1992Jul22.153713.21278@cbnewsi.cb.att.com>
  11. Followup-To: poster
  12. Organization: Tunxis Design Inc. (408-749-9463)
  13. Lines: 60
  14.  
  15.  
  16. In article <1992Jul21.154252.13664@trentu.ca>, ccgwt@trentu.ca (Grant Totten) writes:
  17. }|> Problem:
  18. }|> 
  19. }|>     I ftp'd and untarred the xgopher-1.1 release (is this the most
  20. }|> recent version?) and read the README file.  Then did an xmkmf.  No
  21. }|> problems.  Then did a make depend and got:
  22. }|> 
  23. }|> Make: Must be a separator on rules line 266.  Stop.
  24. }|> 
  25.  
  26. This type of problem is usually caused by leading "TABS" in a 
  27. macro definition. "Make" doesn't like this. In the Makefile, 
  28. check around close to the line with the error. 
  29. Change the "TABS" to "spaces", or remove the white
  30. space altogether.
  31. Try to fix the Makefile first, to find out what the problem is.
  32. After you find the problem, which is probably in one of the include
  33. files Imake uses, you will have to fix that file.
  34. If there are any ".cf, .tmpl, .rules" files, in the xgopher directory,
  35. check them out also. If one of these has "TABS" in a macro definition,
  36. it will migrate into the Makefile, each time you do an Imake.
  37. The leading "TABS" can creep into files from text editors.
  38.  
  39. I have a text editor that insists on collapsing leading white space
  40. into "TABS". I've become an Xspert :-) on:
  41.      Make: Must be a separator on rules line 266.  Stop.
  42.  
  43. Edit the Makefile only to find the problem! Go back to the include
  44. files and fix it. If it is in one of the Xgopher distribution files,
  45. notify the person responsible, so they can fix it.
  46.  
  47. }<1992Jul22.153713.21278@cbnewsi.cb.att.com>
  48. }rhb@hotsand.cnet.att.com (Richard H. Brandwein +1 908 949 2135)
  49.     Writes:
  50.  
  51. }I get my error on line 275:
  52. }
  53. }    make: Fatal error in reader: Makefile, line 275: Unexpected end of
  54. }    line seen
  55. }
  56. }which has a "InstallNonExecFile(xgopher,help,$(XGOPHERDIR))"
  57. }statement.
  58.  
  59. This is probably caused by a missing include file, or improperly defined
  60. macro.
  61.  
  62.  
  63. I hope this helps.
  64. If not send mail of the ftp address, and path, of where I can find Xgopher
  65. and I will look into it in more detail.
  66.  
  67. Gary.
  68.  
  69.  
  70.  
  71. -- 
  72. Gary A. Gorgen      | "From ideas to PRODUCTS"
  73. tunxis@netcom.com   | Tunxis Design Inc.
  74.                     | 422 S. Murphy, Sunnyvale Ca. (408) 749-9463
  75.