Peter Prymmer/FactSet wrote on 10/05/2005 03:25:35 PM: > 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
> 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. Here is that straightforward const_cccmd() patch: diff -ru ExtUtils-MakeMaker-6.30_01.patched_0/lib/ExtUtils/MM_VMS.pm ExtUtils-MakeMaker-6.30_01/lib/ExtUtils/MM_VMS.pm --- ExtUtils-MakeMaker-6.30_01.patched_0/lib/ExtUtils/MM_VMS.pm 2005-10-05 15:07:39.738329000 -0400 +++ ExtUtils-MakeMaker-6.30_01/lib/ExtUtils/MM_VMS.pm 2005-10-05 16:47:37.264629000 -0400 @@ -776,7 +776,7 @@ ',$self->{NOECHO},'If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").nes."" Then Define/NoLog SYS DECC$System_Include'; } - push(@m, "\n\nCCCMD = $Config{'cc'} \$(CCFLAGS)\$(OPTIMIZE)\n"); + push(@m, "\n\nCCCMD = \$(CC) \$(CCFLAGS)\$(OPTIMIZE)\n"); $self->{CONST_CCCMD} = join('',@m); } End of Patch. Which should apply to either 6.30_01 or to 6.30_01 as patched with the patch I posted yesterday (both diffs are single line replacements, hence entail no line offset recalculation). I have strong reason to believe that allows for the CC => 'CXX' override that I wanted to effect from within a Makefile.PL (but I had to test that with an older MM installation modified in place). I note that I obtain the following: perl "-V:cc" cc='CC/DECC'; So this patch should not do harm. The .FIRST directive has me a little bit worried about MMS (I have only test with MadGoat Make Utility V3.9-6). Unfortunately with 6.30_01 patched as above I see lots of test failures that mention: Unrecognized switch: -oc_install (-h will show valid options). and when I attempt to run MMK INSTALL in my 6.30_01 unpack directory I see that interactively too: $ mmk install Unrecognized switch: -oc_install (-h will show valid options). %RMS-E-FNF, file not found %MMK-F-ERRUPD, error status %X00018292 occurred when updating target PURE_PERL_INSTALL This looks odd: $ search descrip.mms oc_install DOC_INSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e perllocal_install install :: all pure_install doc_install doc_install :: doc_$(INSTALLDIRS)_install $(NOECHO) $(DOC_INSTALL) "Module" "$(NAME)" <.MM_tmp >>perl_root:[lib.VMS_AXP.5_8_7]perllocal.pod $(NOECHO) $(DOC_INSTALL) "Module" "$(NAME)" <.MM_tmp >>perl_root:[lib.VMS_AXP.5_8_7]perllocal.pod $(NOECHO) $(DOC_INSTALL) "Module" "$(NAME)" <.MM_tmp >>perl_root:[lib.VMS_AXP.5_8_7]perllocal.pod So I'll need to fix that before I can do more extensive testing of my LD and CC override allowance patches. Peter Prymmer