Michael G Schwern <[EMAIL PROTECTED]> wrote on 08/17/2005 03:07:57 AM:
> http://www.pobox.com/~schwern/src/ExtUtils-MakeMaker-6.30_01.tar.gz I do not recall if a report was sent to vmsperl on this alpha release (I do recall a confusing discussion of the absence of a false command from the VMS shell). Here are the mmk test results summary I obtain with 6.30_01 built under perl 5.8.1 on VMS 7.3-2: t/xs.................... skipped all skipped: ExtUtils::CBuilder not installed or couldn't find a compiler Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/basic.t 44 1024 80 10 12.50% 28-36 67 t/first_makefile.t 44 1024 7 2 28.57% 4-5 t/install_base.t 44 1024 21 14 66.67% 5-18 t/oneliner.t 44 1024 6 3 50.00% 4-6 t/pl_files.t 44 1024 9 5 55.56% 3-7 8 tests and 87 subtests skipped. Failed 5/43 test scripts, 88.37% okay. 34/648 subtests failed, 94.75% okay. %SYSTEM-F-ABORT, abort %MMK-F-ERRUPD, error status %X0000002C occurred when updating target TEST_DYNAMIC I also wanted to mention a fix for a very nagging LD override problem that I found under ExtUtils::MakeMaker 6.17 and appears to still be in 6.30_01 (in case of unintelligible line wrappering I have substituted $(LD) for Link in the dynamic_lib()): diff -ru ExtUtils-MakeMaker-6.30_01_orig/lib/ExtUtils/MM_VMS.pm ExtUtils-MakeMaker-6.30_01/lib/ExtUtils/MM_VMS.pm --- ExtUtils-MakeMaker-6.30_01_orig/lib/ExtUtils/MM_VMS.pm 2005-08-17 02:53:56.000000000 -0400 +++ ExtUtils-MakeMaker-6.30_01/lib/ExtUtils/MM_VMS.pm 2005-10-05 15:07:39.738329000 -0400 @@ -981,7 +981,7 @@ =item dynamic_lib (override) -Use VMS Link command. +Use VMS Link (or LD) command. =cut @@ -1004,7 +1004,7 @@ push @m, ' $(INST_DYNAMIC) : $(INST_STATIC) $(PERL_INC)perlshr_attr.opt $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPORT_LIST) $(PERL_ARCHIVE) $(INST_DYNAMIC_DEP) If F$TrnLNm("',$shr,'").eqs."" Then Define/NoLog/User ',"$shr Sys\$Share:$shr.$Config{'dlext'}",' - Link $(LDFLAGS) /Shareable=$(MMS$TARGET)$(OTHERLDFLAGS) $(BASEEXT).opt/Option,$(PERL_INC)perlshr_attr.opt/Option + $(LD) $(LDFLAGS) /Shareable=$(MMS$TARGET)$(OTHERLDFLAGS) $(BASEEXT).opt/Option,$(PERL_INC)perlshr_attr.opt/Option '; join('',@m); End of Patch. With that I can write a Makefile.PL that contains lines like: WriteMakefile ( CC => 'CXX', LD => 'CXXLINK' etc. ); and have it work using a C++ compiler (except for the fact that I have to override CCFLAGS, INC, and I also have to do this: package MY; sub const_cccmd { my $self = shift; local($_) = $self->SUPER::const_cccmd(@_); s/CCCMD = CC\/DECC \$\(CCFLAGS\)\$\(OPTIMIZE\)/CCCMD = CXX\$(CCFLAGS)\$(OPTIMIZE)/m; $_; } Which might be fixable with another straightforward patch to MM_VMS.pm, but I have not tried that out yet. With the s/Link/\$(LD)/ patch applied as mentioned above I find identical "mmk test" results. I'll try next to fix const_cccmd() and the various test failures. Peter Prymmer