Problem with App::Staticperl and Moose

Marc Lehmann schmorp at schmorp.de
Thu Feb 21 18:55:56 CET 2019


On Wed, Feb 20, 2019 at 08:04:27PM +0100, Christian Rolfes <chrrolfe at gmail.com> wrote:
> I want use staticperl for a Catalyst-Application and Catalyst needs Moose
> but if I try:
> 
> staticperl instcpan Moose
> 
> but it fails everytime with:
> 
> "This distribution requires a working compiler"

Hi!

staticperl surely provides a working compiler, so this is a bug in how
Moose detects the compiler. Your best bet is to report this to the moose
people with a way on how to reproduce it. They probably should just remove
the extra check, as all it can do is make their module not work when it
otherwise would, while not increasing their chances of a working module in
any way.

Alternatively, you can probably just patch out their check for a compiler
and it will likely "just work", as basically all of these "working
compiler tests" are broken (and fortunately are rare for CPAN modules).

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the perl mailing list