System V yacc / perl problem

Stuart Lynne sl at van-bc.UUCP
Tue Feb 16 18:50:26 AEST 1988


Weirdness abounds once again! 

I can successfully generate perl on my ancient Callan (a Unisoft 5.0 system, 
basically System V release level 0 with some BSD ism's), but not on my modern,
uptodate, state of the art System V release 3 for the 386 at work!!!

The problem is yacc. I get the following results when make try's to generate
perl.c from perl.y:


	Expect 2 shift/reduce errors...
		yacc perl.y

	 fatal error: out of state space, line 595
	*** Error code 1

	Stop.

Line 595 is:

	%% /* PROGRAM */

The yacc in question is from Bell Tech's version, which seems to be
identical to Microports version.

The quick fix for anyone else who is having this problem is to get the
perl.c generated by someone else. I copied mine from my Callan and it seems
to work ok.

Has anyone else tried this. I'd love to know if this is a generic System
V/386 bug or just something weird on my system.

If this is a bug is there any better work around than getting someone else
to yacc it for you? 

I'm starting to think I'd better keep the Callan running after all ....

    .... it does make a decent nroff/yacc server ;-)


-- 
{ihnp4!alberta!ubc-vision,uunet}!van-bc!Stuart.Lynne Vancouver,BC,604-937-7532



More information about the Comp.sources.bugs mailing list