Michael G Schwern wrote:

We need non-Unix testers and non-Linux testers.  A *lot* of stuff changed in
the non-Unix code for the (eventually) better.
On VMS you'll need this for starters since we don't fully qualify calls
to vmsify and such:

--- lib/ExtUtils/MM_VMS.pm;-0 Wed Dec 18 23:58:20 2002
+++ lib/ExtUtils/MM_VMS.pm Thu Dec 19 15:35:11 2002
@@ -15,6 +15,7 @@
# so we can compile the thing on non-VMS platforms.
if( $^O eq 'VMS' ) {
require VMS::Filespec;
+ import VMS::Filespec;
}
}

[end]

The next snag I hit seems to be that eliminate_macros no longer knows
who $self is. Since MM needs to run on older perls I have not tried to
fix this by patching File::Spec, though I'm afraid I don't see right off
what else to do about it either. The debugger output below illustrates
the problem better than I could explain it.

$ perl -d Makefile.PL

Loading DB routines from perl5db.pl version 1.19
Editor support available.

Enter h or `h h' for help, or `perldoc perldebug' for more help.

main::(makefile.pl:14): $PACKAGE = 'ExtUtils::MakeMaker';
DB<1> c
Checking if your kit is complete...
Warning: prerequisite Pod::Man 0 not found.
ExtUtils::MakeMaker::new('MM','HASH(0x5294a4)') called at lib/ExtUtils/MakeMaker.pm line 48

ExtUtils::MakeMaker::WriteMakefile('NAME','ExtUtils::MakeMaker','VERSION_FROM','lib/ExtUtils/MakeMaker.pm','PREREQ_PM','HASH(0x251d6c)','INSTALLDIRS','perl','EXE_FILES',...) called at makefile.pl line 43
Can't call method "eliminate_macros" on unblessed reference at /perl_root/lib/File/Spec/VMS.pm line 45.

File::Spec::VMS::eliminate_macros('File::Spec','[.ExtUtils.MakeMaker]\x{a}') called at /perl_root/lib/File/Spec/VMS.pm line 188

File::Spec::VMS::catdir('File::Spec','perl_root:[lib.site_perl.VMS_AXP]','auto','[.ExtUtils.MakeMaker]\x{a}') called at /perl_root/lib/File/Spec/VMS.pm line 218

File::Spec::VMS::catfile('File::Spec','perl_root:[lib.site_perl.VMS_AXP]','auto','[.ExtUtils.MakeMaker]\x{a}','.packlist') called at lib/ExtUtils/MM_VMS.pm line 1492
ExtUtils::MM_VMS::install('PACK001=HASH(0x5294a4)') called at lib/ExtUtils/MakeMaker.pm line 571
ExtUtils::MakeMaker::new('MM','PACK001=HASH(0x5294a4)') called at lib/ExtUtils/MakeMaker.pm line 48

ExtUtils::MakeMaker::WriteMakefile('NAME','ExtUtils::MakeMaker','VERSION_FROM','lib/ExtUtils/MakeMaker.pm','PREREQ_PM','HASH(0x251d6c)','INSTALLDIRS','perl','EXE_FILES',...) called at makefile.pl line 43
Debugged program terminated. Use q to quit or R to restart,
use O inhibit_exit to avoid stopping after program termination,
h q, h R or h O to get additional info.




Reply via email to