On Sun, Dec 6, 2009 at 11:29 PM, Craig A. Berry <[email protected]> wrote:
> Thanks for the heads up. Below is a quick build and test, which is
> not all good news, but not entirely bad news either. This is just a
> "where we are" post and I have not even looked at the test output in
> any detail yet.
Ouch. Well, no pain, no gain. Thank you for the quick turnaround.
A couple quick reactions (other than that I probably need to find a VMS manual):
* the t/00compile.t tests look like a problem converting paths to
modules names given the particular ways paths are represented on VMS.
I thought I was doing something suitably portable, but clearly not.
* there are a lot of "Can't call method "eliminate_macros" on
unblessed reference" errors; I have no idea what's going on there
* the "no module_name" errors are again probably (again) an issue
translating between module and path names -- please see
_guess_module_name in Module::Build::Base.
Given how module/path translation seems to be at the root of some of
these, maybe we need to add "pm2path" and "path2pm" methods to
Module::Build::Base and overriding them in
Module::Build::Platform::VMS? E.g. something that would let us do
this:
File::Spec->catfile("lib",$self->pm2path("Foo::Bar")); # lib/Foo/Bar.pm
$self->path2pm(
File::Spec->abs2rel("/tmp/M-B/lib/Foo/Bar.pm","/tmp/M-B/lib") ); #
Foo::Bar
-- David