RE: [PATCH] blead help for VMS
From: Craig A. Berry [mailto:[EMAIL PROTECTED] The attached patch (plus one additional step) gets bleadperl building on VMS again. The additional step is renaming the directory ext/Compress/Zlib/zlib-src-1.2.3 to ext/Compress/Zlib/zlib-src which I assume needs to be done in Perforce. The related changes to MANIFEST and ext/Compress/Zlib/config.in are in the patch. The dot is the directory delimiter on VMS, and although newer versions of VMS have ways to escape the dots when the non-default features for doing so are enabled, it's a heck of a lot easier to just avoid dots in directory names. Hmmm, given the lack of VMS-related mail in my inbox, does this mean that nobody has tried to install the latest Compress::Zlib on VMS since January? C::Zlib-1.34 added a zlib-src-1.2.2 directory in January. Anyway, I've updated my development copy to match your change. Paul ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
[PATCH] blead help for VMS
The attached patch (plus one additional step) gets bleadperl building on VMS again. The additional step is renaming the directory ext/Compress/Zlib/zlib-src-1.2.3 to ext/Compress/Zlib/zlib-src which I assume needs to be done in Perforce. The related changes to MANIFEST and ext/Compress/Zlib/config.in are in the patch. The dot is the directory delimiter on VMS, and although newer versions of VMS have ways to escape the dots when the non-default features for doing so are enabled, it's a heck of a lot easier to just avoid dots in directory names. --- MANIFEST;-0 Thu Jul 21 08:09:42 2005 +++ MANIFESTSat Jul 23 18:54:48 2005 @@ -170,28 +170,28 @@ ext/Compress/Zlib/t/04encoding.t Compres ext/Compress/Zlib/t/05gzsetp.t Compress::Zlib ext/Compress/Zlib/t/06gzdopen.tCompress::Zlib ext/Compress/Zlib/typemap Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/adler32.c Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/compress.cCompress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/crc32.c Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/crc32.h Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/deflate.c Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/deflate.h Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/gzio.cCompress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/infback.c Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/inffast.c Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/inffast.h Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/inffixed.hCompress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/inflate.c Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/inflate.h Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/inftrees.cCompress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/inftrees.hCompress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/trees.c Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/trees.h Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/uncompr.c Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/zconf.h Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/zlib.hCompress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/zutil.c Compress::Zlib -ext/Compress/Zlib/zlib-src-1.2.3/zutil.h Compress::Zlib +ext/Compress/Zlib/zlib-src/adler32.c Compress::Zlib +ext/Compress/Zlib/zlib-src/compress.c Compress::Zlib +ext/Compress/Zlib/zlib-src/crc32.c Compress::Zlib +ext/Compress/Zlib/zlib-src/crc32.h Compress::Zlib +ext/Compress/Zlib/zlib-src/deflate.c Compress::Zlib +ext/Compress/Zlib/zlib-src/deflate.h Compress::Zlib +ext/Compress/Zlib/zlib-src/gzio.c Compress::Zlib +ext/Compress/Zlib/zlib-src/infback.c Compress::Zlib +ext/Compress/Zlib/zlib-src/inffast.c Compress::Zlib +ext/Compress/Zlib/zlib-src/inffast.h Compress::Zlib +ext/Compress/Zlib/zlib-src/inffixed.h Compress::Zlib +ext/Compress/Zlib/zlib-src/inflate.c Compress::Zlib +ext/Compress/Zlib/zlib-src/inflate.h Compress::Zlib +ext/Compress/Zlib/zlib-src/inftrees.c Compress::Zlib +ext/Compress/Zlib/zlib-src/inftrees.h Compress::Zlib +ext/Compress/Zlib/zlib-src/trees.c Compress::Zlib +ext/Compress/Zlib/zlib-src/trees.h Compress::Zlib +ext/Compress/Zlib/zlib-src/uncompr.c Compress::Zlib +ext/Compress/Zlib/zlib-src/zconf.h Compress::Zlib +ext/Compress/Zlib/zlib-src/zlib.h Compress::Zlib +ext/Compress/Zlib/zlib-src/zutil.c Compress::Zlib +ext/Compress/Zlib/zlib-src/zutil.h Compress::Zlib ext/Data/Dumper/ChangesData pretty printer, changelog ext/Data/Dumper/Dumper.pm Data pretty printer, module ext/Data/Dumper/Dumper.xs Data pretty printer, externals --- mg.c;-0 Thu Jul 21 11:10:07 2005 +++ mg.cSat Jul 23 22:08:49 2005 @@ -1045,7 +1045,7 @@ Perl_magic_setenv(pTHX_ SV *sv, MAGIC *m MgTAINTEDDIR_off(mg); #ifdef VMS if (s klen == 8 strEQ(ptr, DCL$PATH)) { - char pathbuf[256], eltbuf[256], *cp, *elt = s; + char pathbuf[256], eltbuf[256], *cp, *elt = (char *) s; Stat_t sbuf; int i = 0, j = 0; --- pp_ctl.c;-0 Sun Jul 17 19:46:43 2005 +++ pp_ctl.cSat Jul 23 22:50:32 2005 @@ -3143,7 +3143,7 @@ PP(pp_require) I32 i; #ifdef VMS char *unixname; - if ((unixname = tounixspec(name, Nullch)) != Nullch) + if ((unixname = tounixspec((char *)name, Nullch)) != Nullch) #endif { namesv = NEWSV(806, 0); @@ -3280,7 +3280,7 @@ PP(pp_require) #else # ifdef VMS char *unixdir; - if ((unixdir = tounixpath(dir, Nullch)) == Nullch) + if ((unixdir = tounixpath((char *)dir, Nullch)) == Nullch) continue; sv_setpv(namesv, unixdir); sv_catpv(namesv, unixname); --- pp_sys.c;-0 Wed Jul 20 07:58:35 2005 +++ pp_sys.cSat Jul 23 22:12:35 2005 @@ -3607,7 +3607,7 @@ PP(pp_chdir) #endif } else -
Re: [PATCH] blead help for VMS
On Sun, Jul 24, 2005 at 03:31:55PM -0500, Craig A. Berry wrote: The attached patch (plus one additional step) gets bleadperl building on VMS again. The additional step is renaming the directory ext/Compress/Zlib/zlib-src-1.2.3 to ext/Compress/Zlib/zlib-src which I assume needs to be done in Perforce. The related changes to MANIFEST and ext/Compress/Zlib/config.in are in the patch. The dot is the directory delimiter on VMS, and although newer versions of VMS have ways to escape the dots when the non-default features for doing so are enabled, it's a heck of a lot easier to just avoid dots in directory names. It'll also make version history spelunking a lot easier to not have the directory name changing all the time. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern Reality is that which, when you stop believing in it, doesn't go away. -- Phillip K. Dick
Re: [PATCH] blead help for VMS
On Sun, Jul 24, 2005 at 03:31:55PM -0500, Craig A. Berry wrote: The attached patch (plus one additional step) gets bleadperl building on VMS again. The additional step is renaming the directory ext/Compress/Zlib/zlib-src-1.2.3 to ext/Compress/Zlib/zlib-src which I assume needs to be done in Perforce. The related changes to $ p4 help rename rename -- How to rename files p4 integrate from to p4 delete from p4 submit Perforce does not support a single 'rename' command, but files can be renamed by branching one file into another and then deleting the original file. The 'from' and 'to' file arguments may include wildcards as long as they are matched. Integrating from files require read access to the files, but deleting them requires write access. For further information, see the help for the individual commands. And what it doesn't state explicitly is that you're renaming files, not directories, so you then have to use perforce wildcards, ie: $ cd ext/Compress/Zlib/ $ p4 integrate zlib-src-1.2.3/... zlib-src/... $ p4 delete zlib-src-1.2.3/... Thanks, applied (25217) Nicholas Clark
Re: [PATCH] blead help for VMS
Op een mooie zomerdag (Sunday 24 July 2005 23:21),schreef Nicholas Clark: On Sun, Jul 24, 2005 at 03:31:55PM -0500, Craig A. Berry wrote: The attached patch (plus one additional step) gets bleadperl building on VMS again. The additional step is renaming the directory ext/Compress/Zlib/zlib-src-1.2.3 to ext/Compress/Zlib/zlib-src [snip p4 stuff] Thanks, applied (25217) I am sorry to say we're not quite there yet :-( This in on the VAX (OpenVMS V7.2): CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=GLOBALS.obj/NoList/ FLOAT=G_FLOAT/Define=PERL_CORE GLOBALS.C */ %VCG-W-BADPSECT, The program section(psect) specified by this statement has conflicting 'nowrite' attributes with another definition of the same program section. At line number 65 in DISK$USER_2: [TIMMERMAN.KLAD.PERL-CURRENT]GLOBALS.C;1. %VCG-I-SUMMARY, Completed with 0 error(s), 1 warning(s), and 0 informational messages. At line number 65 in DISK$USER_2: [TIMMERMAN.KLAD.PERL-CURRENT]GLOBALS.C;1. %MMK-F-ERRUPD, error status %X10B9 occurred when updating target GLOBALS.OBJ TIMMERMAN:FAFNER$ cc/version Compaq C V6.4-005 on OpenVMS VAX V7.2 and on Alpha (OpenVMS V8.2): CC/DECC/NOANSI_ALIAS /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/ NoList/float=ieee/ieee=denorm/Define=PERL_CORE DOIO.C if (UNLINK(s)) ^ %CC-W-NOTCONSTQUAL, In this statement, the referenced type of the pointer value (s) is const, but the referenced type of the target of this assignment is not. at line number 1838 in file USER1:[ABELTJE.PERL-CURRENT]DOIO.C;1 if (UNLINK(s)) ^ %CC-W-NOTCONSTQUAL, In this statement, the referenced type of the pointer value (s) is const, but the referenced type of the target of this assignment is not. at line number 1845 in file USER1:[ABELTJE.PERL-CURRENT]DOIO.C;1 %MMS-F-ABORT, For target DOIO.OBJ, CLI returned abort status: %X10B91260. $ cc/version Compaq C V6.5-001 on OpenVMS Alpha V8.2 Good luck, Abe -- Unspecified = it may work or it may not or demons may fly out of your nose. And the hairyness of the demons is almost guaranteed to vary from platform to platform. -- Jarkko Hietaniemi on p5p @ 2001-12-10