I wrote to Michael Schwern:
!!Check if the latest snapshots from CPAN manipulate perllocal correctly,
!!please.
!
!I'm hesitant to install ExtUtils-MakeMaker-6.10_06 into
!that particular perl 5.8.1 root hence I'll have to build
!another PERL_ROOT and test perllocal.pod against that
!other root.
OK I have installed MAINT19791 and running "mmk test" for
the ExtUtils::MakeMaker 6.10_06 kit I see:
MCR perl_root:[000000]perl.exe "-I[.lib]" "-MExtUtils::Command::MM" "-e"
"test_h
arness(0, '[.blib.lib]', '[.blib.arch]')" t/*.t
t/00compile.............
ok
28/56 skipped: Test::Pod not installed
t/00setup_dummy.........
ok
t/backwards.............
ok
t/basic.................
Can't cd to (../dummy-install/lib/site_perl/) file: invalid argument
at t/basic.t line 127
which is nothing more than a reprise of the problem with File::Find
on VMS.
At any rate, if I rename t/basic.t to t/basic.foo and t/installed.t to
t/installed.foo I also see:
t/install...............
# Failed test (t/install.t at line 56)
# Failed test (t/install.t at line 59)
# Failed test (t/install.t at line 76)
# got: '4'
# expected: '1'
# Failed test (t/install.t at line 77)
# got: '[.install-test.other_lib.perl.big]liar.pm'
# expected: '[.install-test.lib.perl.big]dummy.pm'
# Looks like you failed 4 tests of 29.
%SYSTEM-F-ABORT, abort
dubious
Test returned status 44 (wstat 1024, 0x400)
(VMS status is 44)
DIED. FAILED tests 14, 16, 20-21
Failed 4/29 tests, 86.21% okay
t/liblist...............
On to tests of installing this module:
$ mmk install
Installing perl_root:[lib.extutils]makemaker.pm
Installing perl_root:[lib.extutils.makemaker]faq.pod
Writing perl_root:[lib.VMS_AXP.5_8_1.auto.ExtUtils.MakeMaker].packlist
Appending installation info to perl_root:[lib.VMS_AXP.5_8_1]perllocal.pod
If I run "perldoc perllocal" at this time I see the same
info I reported previously, namely the LINKTYPE and VERSION
are missing from the only module that I've just installed
(which at this point is only ExtUtils::MakeMaker 6.10_06).
If I then test install an XS based module such as VMS::Logical
I see:
$ mmk install
Installing perl_root:[lib.site_perl.auto.vms.logical]autosplit.ix
Installing perl_root:[lib.site_perl.vms]logical.pm
Writing perl_root:[lib.site_perl.VMS_AXP.auto.VMS.Logical].packlist
Appending installation info to
perl_root:[lib.site_perl.VMS_AXP]perllocal.pod
Note that all files from the [.BLIB.ARCH.AUTO.VMS.LOGICAL]directory
are not installed and that if I try to use this extension that
I just installed I see this error:
$ perl "-MVMS::Logical" -e "print $VMS::Logical::VERSION"
Can't locate loadable object for module VMS::Logical in @INC (@INC
contains: /perl_root/lib
/VMS_AXP/5_8_1 /perl_root/lib /perl_root/lib/site_perl/VMS_AXP
/perl_root/lib/site_perl /pe
rl_root/lib/site_perl .) at -e line 0
Compilation failed in require.
BEGIN failed--compilation aborted.
%SYSTEM-F-ABORT, abort
I note that I now have two perllocal.pod files:
$ dir perl_root:[000000...]perllocal.pod
Directory PERL_ROOT:[000000.LIB.SITE_PERL.VMS_AXP]
PERLLOCAL.POD;1 1 17-JUN-2003 16:00:22.94
Total of 1 file, 1 block.
Directory PERL_ROOT:[000000.LIB.VMS_AXP.5_8_1]
PERLLOCAL.POD;1 1 17-JUN-2003 15:53:53.73
Total of 1 file, 1 block.
Grand total of 2 directories, 2 files, 2 blocks.
And the content of the perllocal.pod file now looks
like this:
$ type PERL_ROOT:[000000.LIB.SITE_PERL.VMS_AXP]perllocal.pod
=head2 Tue Jun 17 16:00:23 2003: C<Module> L<VMS::Logical|VMS::Logical>
=over 4
=item *
C<installed into: perl_root:[lib.site_perl]>
=item *
C<
: >
=back
So this is an interesting new bug: not only is the LINKTYPE and
VERSION missing but the location of the perllocal.pod file
is incorrect. The ExtUtils::MakeMaker that shipped with
perl MAINT19040 did not have the problem of a novel location
for perllocal.pod. With that MakeMaker there was only one:
$ dir perl_root:[000000...]perllocal.pod
Directory PERL_ROOT:[000000.LIB.SITE_PERL.VMS_AXP]
PERLLOCAL.POD;1 5 2-JUN-2003 15:02:45.42
Total of 1 file, 5 blocks.
and its size grew as it was appended to.
Peter Prymmer