[comp.sources.bugs] Help with patch level 4

terry@saxon.HAC.COM (Robert Terry) (12/13/89)

Dear Perl 3.0 patchlevel 4 experts:
 
No problem getting the patch files patched up to level 4.
It worked just fine on Sun3/260 OS 3.4.
 
It doesn't work on Sun3/260 OS 4.0.3.
 
I noted that when executing the Configure file on Sun3/260 OS 4.0.3. I get
the following messages:
 
====================== begin =====================
 
69 saxon% Configure
 
Beginning of configuration questions for perl kit.
 
First let's make sure your kit is complete.  Checking...
Looks good...
 
Checking your sh to see if it knows about # comments...
Your sh handles # comments correctly.
 
Okay, let's see if #! works on this system...
It does.
 
Checking out how to guarantee sh startup...
Let's see if '#! /bin/sh' works...
stdout 1 <<<<<<<<<<<<< See this??? <<<<<<<<<<<<<<<<<<
Yup, it does.
Checking echo to see how to suppress newlines...
...using -n.
Type carriage return to continue.  Your cursor should be here-->
 
========================= end =========================

"stdout 1" does not even appear when executing Configure on Sun3/260 OS 3.4.
 
With "stdout 1" as the default, then I get errors such as:

============================== begin ========================

Run make depend now? [n] y
test -f perly.h || cp /dev/null perly.h
./makedepend
echo array.c cmd.c cons.c consarg.c doarg.c doio.c dolist.c dump.c eval.c form.c hash.c malloc.c perly.c regcomp.c regexec.c stab.c str.c toke.c util.c | tr ' ' '\012' >.clist
Finding dependencies for array.o.
./perl.h: 38: Illegal number stdout
./perl.h: 38: syntax error (in preprocessor if)
./perl.h: 123: syntax error (in preprocessor if)
./perl.h: 269: Illegal number stdout
./perl.h: 269: syntax error (in preprocessor if)
Finding dependencies for cmd.o.
./perl.h: 38: Illegal number stdout
./perl.h: 38: syntax error (in preprocessor if)
./perl.h: 123: syntax error (in preprocessor if)
./perl.h: 269: Illegal number stdout
./perl.h: 269: syntax error (in preprocessor if)
 
        ... and the list goes on ...
 

====================== end ===============================

Then I tried to replace default "stdout 1" with some values and I get:

===================== begin ======================
Run make depend now? [n] y
test -f perly.h || cp /dev/null perly.h
./makedepend
echo array.c cmd.c cons.c consarg.c doarg.c doio.c dolist.c dump.c eval.c form.c hash.c malloc.c perly.c regcomp.c regexec.c stab.c str.c toke.c util.c | tr ' ' '\012' >.clist
Finding dependencies for array.o.
./perl.h: 269: Illegal octal number 87654321
Finding dependencies for cmd.o.
./perl.h: 269: Illegal octal number 87654321
Finding dependencies for cons.o.
./perl.h: 269: Illegal octal number 87654321
Finding dependencies for consarg.o.
./perl.h: 269: Illegal octal number 87654321 

               ... and it goes on ....

===================== end ==========================


What have I done wrong here? I could use some hints, suggestions, etc!
Please either reply here or email directly to me.
Thanks in advance.

email: terry@tcville.hac.com

Sincerely,

Robert Terry


Hughes Aircraft Co.				email:terry@tcville.hac.com 
Signal Processing Lab
PO Box 902, E53/E250
El Segundo, CA 90245 

lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (12/14/89)

In article <317@tcville.HAC.COM> terry@tcville.hac.com.UUCP (Robert Terry) writes:
: Checking out how to guarantee sh startup...
: Let's see if '#! /bin/sh' works...
: stdout 1 <<<<<<<<<<<<< See this??? <<<<<<<<<<<<<<<<<<
: Yup, it does.
: Checking echo to see how to suppress newlines...
: ...using -n.
: Type carriage return to continue.  Your cursor should be here-->

Either your Configure is corrupt, or someone has modified one of cat, test,
chmod, echo or sh (ksh or bash replacement, maybe?).  Or your #! mechanism
is broken.  The word "stdout" doesn't even occur in Configure.

Larry Wall
lwall@jpl-devvax.jpl.nasa.gov