http://www.perlmonks.org?node_id=458999


in reply to Re: Module::Build users -- please use the "traditional" create_makefile_pl option
in thread Module::Build users -- please use the "traditional" create_makefile_pl option

I'd also suggest that until Module::Build is known to work on a lot of platforms (i.e. close to what the baseline perl supports) that authors supply an oldstyle Makefile.PL.

Which was exactly what perrin is suggesting. If you use the "traditional" create_makefile_pl option in M::B you'll get a normal Makefile.PL generated that doesn't depend on M::B.

  • Comment on Re^2: Module::Build users -- please use the "traditional" create_makefile_pl option

Replies are listed 'Best First'.
Re^3: Module::Build users -- please use the "traditional" create_makefile_pl option
by bluto (Curate) on May 20, 2005 at 17:20 UTC
    No, I'm probably not being clear enough. What I'm suggesting they do is supply a legacy Makefile.PL that works totally independant of having M::B installed at all. Even if it's named something else (e.g. Makefile.Legacy.PL) to keep it out of the way, that would be fine. In my case perhaps M::B would have worked to generate one with the "traditional" option -- I don't know. I didn't want to find out because it failed 'make test', I couldn't fix it, so I didn't trust it. In my current work environment I've found I need to be very conservative, so YMMV.
      No, I'm probably not being clear enough. What I'm suggesting they do is supply a legacy Makefile.PL that works totally independant of having M::B installed at all.

      No, I'm probably not being clear enough :-)

      The the "traditional" create_makefile_pl option in M::B produces a normal Makefile.PL file at distribution time that uses EU::MM. So the package you download from CPAN has a Makefile.PL that you can use without having M::B installed - and a Build.PL if you do have M::B installed.

      Hopefully this makes some vague sort of sense :-)

        Ugh. I was unclear, dimwitted and redundant -- I thought this happened at user build time.

        <gilda-radner-mode> Nevermind... </gilda-radner-mode>