From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Wed, 29 May 2002 04:26:15 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 227 ************************************************** Tuesday 28 May 2002 Number 227 ************************************************** Subjects for today 1 Re: Perl testers wanted : John Poltorak 2 Re: Perl testers wanted : csaba.raduly at sophos.com 3 Re: Perl testers wanted : John Poltorak 4 Re: Perl testers wanted : John Poltorak **= Email 1 ==========================** Date: Wed, 29 May 2002 10:28:11 +0100 From: John Poltorak Subject: Re: Perl testers wanted On Tue, May 28, 2002 at 05:09:30PM +0100, csaba.raduly at sophos.com wrote: > > On 28/05/2002 16:57:38 owner-os2-unix wrote: > > >On Tue, May 28, 2002 at 04:26:42PM +0100, csaba.raduly at sophos.com wrote: > [snip] > >> _fd_flags is declared in io.h > > > >but I don't see this in my io.h. Are you sure about this one? If so can > >you give me details of the file you're using? > > > > Doh ! make that OK, now with os2\os2ish.h starting with:- #include #include #include #include /* #include */ the build gets quite a long way but stops because of an invalid continuation character on line 292 of:- ext\DynaLoader\Makefile An extra '\' gets added at the end of the line for some reason, but if I remove it and run Make again, I do get a miniperl.exe and perl.exe created before the process stops here:- Making utilities make[1]: Entering directory `/eval/perl-5.8/perl/utils' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/eval/perl-5.8/perl/utils' Making x2p stuff make[1]: Entering directory `/eval/perl-5.8/perl/x2p' `sh cflags "optimize='-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s'" hash.obj` -DPERL_FOR_X2P hash.c CCCMD = gcc -c -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=64 -O2 -fomit-fram e-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s In file included from a2p.h:117, from hash.c:13: ../os2ish.h:378: parse error before `_PERLIO_IS_BINMODE_FD' make[1]: *** [hash.obj] Error 1 make[1]: Leaving directory `/eval/perl-5.8/perl/x2p' make: *** [translators] Error 2 -- John **= Email 2 ==========================** Date: Wed, 29 May 2002 14:01:24 +0100 From: csaba.raduly at sophos.com Subject: Re: Perl testers wanted On 29/05/2002 10:28:11 owner-os2-unix wrote: [snip] > > >OK, now with os2\os2ish.h starting with:- > >#include >#include >#include >#include >/* #include */ > > >the build gets quite a long way but stops because of an invalid >continuation character on line 292 of:- > >ext\DynaLoader\Makefile > >An extra '\' gets added at the end of the line for some reason, That makefile is almost certainly generated, so it's likely a bug (in the build system). >but if I >remove it and run Make again, I do get a miniperl.exe and perl.exe created >before the process stops here:- > [snip] >In file included from a2p.h:117, >from hash.c:13: >../os2ish.h:378: parse error before `_PERLIO_IS_BINMODE_FD' This _PERLIO_IS_BINMODE_FD seems to cause quite some grief (it featured in the errors before fcntl.h and emx/io.h were added). I'll have to download it and have a look. Remote guessing seems to have reached the end of the line :-( -- Csaba Ráduly, Software Engineer Sophos Anti-Virus email: csaba.raduly at sophos.com http://www.sophos.com US Support: +1 888 SOPHOS 9 UK Support: +44 1235 559933 **= Email 3 ==========================** Date: Wed, 29 May 2002 14:18:41 +0100 From: John Poltorak Subject: Re: Perl testers wanted On Wed, May 29, 2002 at 02:01:24PM +0100, csaba.raduly at sophos.com wrote: > > >the build gets quite a long way but stops because of an invalid > >continuation character on line 292 of:- > > > >ext\DynaLoader\Makefile > > > >An extra '\' gets added at the end of the line for some reason, > > That makefile is almost certainly generated, so it's likely a bug > (in the build system). Yes, I'm told there should be a fix in today's snapshot. > >but if I > >remove it and run Make again, I do get a miniperl.exe and perl.exe created > >before the process stops here:- > > > [snip] > >In file included from a2p.h:117, > >from hash.c:13: > >../os2ish.h:378: parse error before `_PERLIO_IS_BINMODE_FD' > > This _PERLIO_IS_BINMODE_FD seems to cause quite some grief > (it featured in the errors before fcntl.h and emx/io.h were added). This may be due to 'bool' not having been defined. > I'll have to download it and have a look. Remote guessing > seems to have reached the end of the line :-( You've done very well so far. I find it very difficult to debug errors unless I can reproduce them myself along with with plenty of logs. I'm using this snapshot at the moment, but there may be a new one released today which could remove the problem with '//':- ftp://ftp.funet.fi/pub/languages/perl/snap/perl at 16826.tgz It would be useful to confirm that it is a bug in Perl rather than something introduced from my build environment. -- John **= Email 4 ==========================** Date: Wed, 29 May 2002 16:04:39 +0100 From: John Poltorak Subject: Re: Perl testers wanted On Wed, May 29, 2002 at 02:18:41PM +0100, John Poltorak wrote: > On Wed, May 29, 2002 at 02:01:24PM +0100, csaba.raduly at sophos.com wrote: > > I'll have to download it and have a look. Remote guessing > > seems to have reached the end of the line :-( The latest snapshot is available here:- ftp://ftp.funet.fi/pub/languages/perl/snap/perl at 16861.tgz I'm just about to give it a go... -- John