During the core build, the PERLRUN macro has relative paths, so you can't 
change the current directory without losing the ability to run Perl.  This 
works around that by running the Makefile.PL before changing directories.  

--- lib/ExtUtils/MM_VMS.pm;-0   Sat Mar 30 10:34:51 2002
+++ lib/ExtUtils/MM_VMS.pm   Tue Apr  2 15:51:09 2002
@@ -1577,8 +1577,8 @@
 q{
 disttest : distdir
        startdir = F$Environment("Default")
+       $(PERLRUN) [.$(DISTVNAME)]Makefile.PL
        Set Default [.$(DISTVNAME)]
-       $(PERLRUN) Makefile.PL
        $(MMS)$(MMSQUALIFIERS)
        $(MMS)$(MMSQUALIFIERS) test
        Set Default 'startdir'
[end of patch]


This gets us a bit further but the basic.t still fails because its own 
compile.t test (the one it creates on the fly) fails.  I haven't tracked 
down why yet:

$ perl [.t]compile.t
1..2
not ok 1
ok 2 - TEST_VERBOSE

Directory depth issues have also not been addressed yet as far as I know.


Reply via email to