[comp.sys.apollo] ...SYSV sh under 9.7.1

bach@USCN.BITNET (BitNet Users Of Southern Tech) (04/12/89)

  I have a question about unpacking shell archives under Domain/IX
SYS V.  Whenever I attempt to unpack a shell archive by typing
sh filename, I get an error that says

    unexpected 'end_of_file' at line xxxx

Has anyone else experienced this problem ??  These shell archives are
just standard SYSV stuff, and I can't see any syntax problems with them.
I have never successfully unpacked an archive on our workstations.

  One other question :

  When I use the make utility under SYSV , I always get an error that
says  separator expected on rules line xxx.  There is nothing wrong
with the makefile as far as I can tell.


Could someone who knows what is causing these problems please send me a
solution ?


                                              S. Berger

GBOPOLY1@NUSVM.BITNET (fclim) (04/18/89)

Hi,
     in article <89041209003497F.AQLP@USCN.USCN.UGA.EDU>, S. Berger
(bach%USCN.BITNET@CUNYVM.CUNY.EDU) writes:
>  I have a question about unpacking shell archives under Domain/IX
>SYS V.  Whenever I attempt to unpack a shell archive by typing
>sh filename, I get an error that says
>
>    unexpected 'end_of_file' at line xxxx

>Has anyone else experienced this problem ??  These shell archives are
>just standard SYSV stuff, and I can't see any syntax problems with them.
>I have never successfully unpacked an archive on our workstations.


I assume you get the shell archives from comp.sources.unix.  To extract
these, you need to run /bsd4.2/bin/sh on them instead of /sys5/bin/sh.
/{bsd4.2, sys5}/bin/sh are different as can be observed by running
/etc/systype on them.  The manual, Domain/IX User's Guide, Sections 2.3.2
and 2.3.3 tells the differences.

>  One other question :
>
>  When I use the make utility under SYSV , I always get an error that
>says  separator expected on rules line xxx.  There is nothing wrong
>with the makefile as far as I can tell.

The problem here does not concern Apollo boxes.  I assume that since
you put down your email address as a Bitnet node, you are receiving
the shell archives on Bitnet.  The Bitnet mailer maps all tabs to 8
spaces.  The grammar of make requires each command line to begin with
a tab.  You need to run /bsd4.2/usr/ucb/unexpand on these makefiles
or you may hand-edit them.

Hope I have help.  Enjoy.


fclim          --- gbopoly1 % nusvm.bitnet @ cunyvm.cuny.edu
computer centre
singapore polytechnic
dover road
singapore 0513.