From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,30661d8b1d4632e9 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-09-18 03:25:19 PST Path: gmd.de!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!usc!nic.csu.net!cerritos.edu!news.service.uci.edu!draco.acs.uci.edu!iglesias Newsgroups: comp.unix.osf.misc Subject: Re: Perl under OSF/Alpha? Message-ID: <2C9AA693.25248@news.service.uci.edu> From: iglesias@draco.acs.uci.edu (Mike Iglesias) Date: 18 Sep 93 06:11:31 GMT References: <27a8rg$c4c@parsifal.umkc.edu> Organization: University of California, Irvine Nntp-Posting-Host: draco.acs.uci.edu In article <27a8rg$c4c@parsifal.umkc.edu>, Gerald Combs wrote: > > I've been trying to get perl up and running on one of our new DEC >3000s, and so far I've been unsuccessful. Every time I try to run a >perl script, I get a core dump. This happens with the version of >perl on gatekeeper.dec.com and the version on the freeware CD (even >when run directly from the CD). Anybody know what's going wrong? Part of patch 17 got lost somehow, and it causes Perl to core dump on alphas. Use the patch below and it should make it work - it does for me. This is against patchlevel 36. -- Mike Iglesias Internet: iglesias@draco.acs.uci.edu University of California, Irvine BITNET: iglesias@uci Office of Academic Computing uucp: ...!ucbvax!ucivax!iglesias Distributed Computing Support phone: (714) 856-6926 *** toke.c.pl36 Wed Mar 3 16:00:50 1993 --- toke.c Wed Mar 3 18:25:44 1993 *************** *** 1749,1765 **** arg->arg_type = O_ITEM; arg[1].arg_type = A_DOUBLE; arg[1].arg_ptr.arg_str = str_smake(str); ! d = scanident(d,bufend,buf); (void)stabent(buf,TRUE); /* make sure it's created */ for (; d < e; d++) { if (*d == '\\') d++; else if (*d == '$' && d[1] && d[1] != '|' && d[1] != ')') { ! d = scanident(d,bufend,buf); (void)stabent(buf,TRUE); } else if (*d == '@') { ! d = scanident(d,bufend,buf); if (strEQ(buf,"ARGV") || strEQ(buf,"ENV") || strEQ(buf,"SIG") || strEQ(buf,"INC")) (void)stabent(buf,TRUE); --- 1749,1765 ---- arg->arg_type = O_ITEM; arg[1].arg_type = A_DOUBLE; arg[1].arg_ptr.arg_str = str_smake(str); ! d = scanident(d,e,buf); (void)stabent(buf,TRUE); /* make sure it's created */ for (; d < e; d++) { if (*d == '\\') d++; else if (*d == '$' && d[1] && d[1] != '|' && d[1] != ')') { ! d = scanident(d,e,buf); (void)stabent(buf,TRUE); } else if (*d == '@') { ! d = scanident(d,e,buf); if (strEQ(buf,"ARGV") || strEQ(buf,"ENV") || strEQ(buf,"SIG") || strEQ(buf,"INC")) (void)stabent(buf,TRUE);