Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 2391
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.17
  • 0.18
Fixed in: (no value)



Subject: Can't locate object method "format_compiler_cmd" via package "Module::Build"
Whatever you're doing to make my @cmds = $self->format_compiler_cmd(%spec); invoke the appropriate sub format_compiler_cmd (like in package Module::Build::Platform::Windows::MSVC for example), it's not working. Can't locate object method "format_compiler_cmd" via package "Module::Build" (perhaps you forgot to load "Module::Build"?) at C:/Perl/site/lib/Module/Build/Platform/Windows.pm line 91.
I've just checked in some code to CVS that should fix this. The problem was that @ISA needs to be munged in the Platform::Windows::new() method to add the 'driver' class, but it also needs to be munged in the resume() method (and it wasn't). Ideally we wouldn't do this double-inheritance, actually, but it works for now. -Ken