home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky alt.gopher:1058 comp.windows.x.apps:609
- Path: sparky!uunet!olivea!decwrl!csus.edu!netcomsv!mork!tunxis
- From: tunxis@netcom.com (Gary A. Gorgen)
- Newsgroups: alt.gopher,comp.windows.x.apps
- Subject: Re: Problem compiling XGopher/Imake problem
- Summary: Tabs in Makefiles
- Keywords: xgopher imake xmkmf problem
- Message-ID: <ywgm36d.tunxis@netcom.com>
- Date: 23 Jul 92 14:54:24 GMT
- References: <1992Jul21.154252.13664@trentu.ca> <1992Jul22.153713.21278@cbnewsi.cb.att.com>
- Followup-To: poster
- Organization: Tunxis Design Inc. (408-749-9463)
- Lines: 60
-
-
- In article <1992Jul21.154252.13664@trentu.ca>, ccgwt@trentu.ca (Grant Totten) writes:
- }|> Problem:
- }|>
- }|> I ftp'd and untarred the xgopher-1.1 release (is this the most
- }|> recent version?) and read the README file. Then did an xmkmf. No
- }|> problems. Then did a make depend and got:
- }|>
- }|> Make: Must be a separator on rules line 266. Stop.
- }|>
-
- This type of problem is usually caused by leading "TABS" in a
- macro definition. "Make" doesn't like this. In the Makefile,
- check around close to the line with the error.
- Change the "TABS" to "spaces", or remove the white
- space altogether.
- Try to fix the Makefile first, to find out what the problem is.
- After you find the problem, which is probably in one of the include
- files Imake uses, you will have to fix that file.
- If there are any ".cf, .tmpl, .rules" files, in the xgopher directory,
- check them out also. If one of these has "TABS" in a macro definition,
- it will migrate into the Makefile, each time you do an Imake.
- The leading "TABS" can creep into files from text editors.
-
- I have a text editor that insists on collapsing leading white space
- into "TABS". I've become an Xspert :-) on:
- Make: Must be a separator on rules line 266. Stop.
-
- Edit the Makefile only to find the problem! Go back to the include
- files and fix it. If it is in one of the Xgopher distribution files,
- notify the person responsible, so they can fix it.
-
- }<1992Jul22.153713.21278@cbnewsi.cb.att.com>
- }rhb@hotsand.cnet.att.com (Richard H. Brandwein +1 908 949 2135)
- Writes:
-
- }I get my error on line 275:
- }
- } make: Fatal error in reader: Makefile, line 275: Unexpected end of
- } line seen
- }
- }which has a "InstallNonExecFile(xgopher,help,$(XGOPHERDIR))"
- }statement.
-
- This is probably caused by a missing include file, or improperly defined
- macro.
-
-
- I hope this helps.
- If not send mail of the ftp address, and path, of where I can find Xgopher
- and I will look into it in more detail.
-
- Gary.
-
-
-
- --
- Gary A. Gorgen | "From ideas to PRODUCTS"
- tunxis@netcom.com | Tunxis Design Inc.
- | 422 S. Murphy, Sunnyvale Ca. (408) 749-9463
-