Path: utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!sumax!polari!6sigma2 From: 6sigma2@polari.UUCP (Brian Matthews) Newsgroups: comp.lang.perl Subject: Re: op.split test fails on Xenix (and ODT) - Fixes! Message-ID: <2318@polari.UUCP> Date: 8 Aug 90 00:40:06 GMT References: <5332@thebes.Thalatta.COM> Organization: Seattle Online Public Unix (206) 328-4944 Lines: 29 In article <5332@thebes.Thalatta.COM> campbell@Thalatta.COM (Bill Campbell) writes: |Anyway op.split fails after test # 4 completes successfully, |aborting with a core dump. I've got perl running on SCO Open DeskTop, but not until solving the op.split and other problems. The first was a yacc problem. Yacc has to be passed a -Sm10000 flag. The README mentions this for Xenix, but it's also true for Open DeskTop (and undoubtedly SCO's SVR3.2). When Configure asks you for yacc or bison, just type in "yacc -Sm10000" (or be smart and use bison). Larry: the README should probably mention SCO's SVR3.2 and ODT along with Xenix. The second problem is the op.split problem. There's code in the source file that does splits (split.c?) that does one thing on 286s and another thing on real machines. The problem is that cc defines M_I86, even though you're on a 386, which split.c uses (actually M_I86 is used to set another variable which split.c uses) to do the 286 code, which blows up. The solution is to enter -UM_I86 when Configure asks you for any additional cc flags. The third problem I encountered was odd out of memory problems and core dumps within malloc. I reConfigured perl to use the malloc that comes with perl and all is fine. Note that none of the regression tests spotted this. Hope this helps. -- Brian L. Matthews blm@6sceng.UUCP