mitch@hq.af.mil (Mitch Wright) (10/31/90)
I've been trying to get PERL to compile on a CCI Power 6. It all compiles without an error, but when doing the test, I get 2 errors. Anyone have an idea where I should look to fix these up??? Script started on Tue Oct 30 12:07:50 1990 bash$ make test chmod +x t/TEST t/base.* t/comp.* t/cmd.* t/io.* t/op.*; \ cd t && (rm -f perl; ln -s ../perl .) && ./perl TEST base.cond.......ok [ ... ] comp.multiline..ok comp.package....syntax error in file ./comp.package at line 22, next 2 tokens "sort(keys _main" syntax error in file ./comp.package at line 23, next 2 tokens "sort(keys _XYZ" syntax error in file ./comp.package at line 24, next 2 tokens "sort(keys _ABC" Execution of ./comp.package aborted due to compilation errors. FAILED on test 0 comp.script.....ok comp.term.......ok [ ... ] io.pipe.........ok io.print........syntax error in file ./io.print at line 17, next 2 tokens "printf("ok %d\n"" Execution of ./io.print aborted due to compilation errors. FAILED on test 0 io.tell.........ok [ ... ] op.vec..........ok op.write........ok Failed 2 tests. *** Error code 47 (ignored) bash$ exit script done on Tue Oct 30 12:09:09 1990 From mwright@sysp1.hq.af.mil Tue Oct 30 12:12:31 1990 Return-Path: <mwright@sysp1.hq.af.mil> Received: from sysp1.hq.af.mil ([134.205.123.159]) by hq.af.mil (4.1/SMI-4.1) id AA16592; Tue, 30 Oct 90 12:11:15 EST Received: by sysp1.hq.af.mil (4.12/25-eef) id AA07874; Tue, 30 Oct 90 12:12:25 est Date: Tue, 30 Oct 90 12:12:25 est From: mwright@sysp1.hq.af.mil (88-rx359) Message-Id: <9010301712.AA07874@sysp1.hq.af.mil> Apparently-To: mitch@hq.af.mil ldkflsdjflsjfl; lasf;lasfl;saf;ljasl;fjsa -- /mitch mitch@hq.af.mil (Mitch Wright) | The Pentagon, 1B1046 | (202) 695-0262 The two most common things in the universe are hydrogen and stupidity, but not necessarily in that order.
lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (11/01/90)
In article <MITCH.90Oct30121555@hq.af.mil> mitch@hq.af.mil (Mitch Wright) writes:
: I've been trying to get PERL to compile on a CCI Power 6. It all compiles
: without an error, but when doing the test, I get 2 errors. Anyone have an
: idea where I should look to fix these up???
:
: comp.package....syntax error in file ./comp.package at line 22, next 2 tokens "sort(keys _main"
: syntax error in file ./comp.package at line 23, next 2 tokens "sort(keys _XYZ"
: syntax error in file ./comp.package at line 24, next 2 tokens "sort(keys _ABC"
: io.print........syntax error in file ./io.print at line 17, next 2 tokens "printf("ok %d\n""
As the README file points out, but which isn't exactly obvious from the
error messages:
If you get syntax errors on '(', try -DCRIPPLED_CC or -DBADSWITCH or both.
Larry
ndjc@hobbit.UUCP (Nick Crossley) (11/02/90)
In article <MITCH.90Oct30121555@hq.af.mil> mitch@hq.af.mil (Mitch Wright) writes: >I've been trying to get PERL to compile on a CCI Power 6. It all compiles >without an error, but when doing the test, I get 2 errors. Anyone have an >idea where I should look to fix these up??? I have perl 3.0 patch level 37 running without any apparent problems on a 6/32 here. Of course, I am now running our most recent SysV OS (3.11). You did not say whether you were running the CCI SysV OS, and if so which release, or the older CCI BSD OS, or pure BSD. If you want, I could send you my config.sh. (CCI was bought by STC/ICL). -- <<< standard disclaimers >>> Nick Crossley, ICL NA, 9801 Muirlands, Irvine, CA 92718-2521, USA 714-458-7282 uunet!ccicpg!ndjc / ndjc@ccicpg.UUCP
ndjc@hobbit.UUCP (Nick Crossley) (11/02/90)
In article <10189@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: >In article <MITCH.90Oct30121555@hq.af.mil> mitch@hq.af.mil (Mitch Wright) writes: >: I've been trying to get PERL to compile on a CCI Power 6. It all compiles >: without an error, but when doing the test, I get 2 errors. Anyone have an >: idea where I should look to fix these up??? >As the README file points out, but which isn't exactly obvious from the >error messages: > If you get syntax errors on '(', try -DCRIPPLED_CC or -DBADSWITCH or both. >Larry Neither of these flags is required on my 6/32, running CCI SysV 3.11. We did fix quite a few optimiser bugs in the 3.00 OS release, but not much has changed in the optimiser or code generator since then (well ... maybe a few bug fixes at 3.11 also). If Mitch is running CCI BSD ... I'm not sure that is supported anymore. If he is running CCI SysV, then it really ought to be 3.02 or later. If pure BSD (4.3tahoe), then lots of other people should have the same problems, I would have thought. -- <<< standard disclaimers >>> Nick Crossley, ICL NA, 9801 Muirlands, Irvine, CA 92718-2521, USA 714-458-7282 uunet!ccicpg!ndjc / ndjc@ccicpg.UUCP