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"
Download (untitled) / with headers
text/plain 400b
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.
Download (untitled) / with headers
text/plain 332b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.