in reply to Re^2: Updating distributions with Module::Build, Module::Starter, and PPM::Make
in thread Updating distributions with Module::Build, Module::Starter, and PPM::Make
Under EU::MM, to determine dependencies, you run Makefile.PL, which is allowed to tailor a list of dependencies specific to that particular installation, then read the dependencies from the "# PREREQ_PM" line in the generated Makefile.
Under M::B, AIUI, dependencies are hardcoded in META.yml (though it does have the nice distinction between requires: and build_requires:).
ActiveState seems to make a real attempt to validate the dependencies by running Makefile.PL in a clean environment, adding any resulting dependencies, then doing the make. But Makefile.PL's built with Module::Build::Compat's small or passthrough options require Module::Build to be installed or installable to work at a point where in the EU::MM universe, dependency information isn't yet available. You can see a passthrough Makefile.PL in action here.
Module::Build::Compat's traditional option will work, but that won't do everything Build.PL can, so I'm not sure I see the point in not just staying with EU::MM (especially for existing modules).
An additional note: even if META.yml were checked before running Makefile.PL, in the examples I've seen, Module::Build isn't listed as a dependency there even though it is required for the build.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Updating distributions with Module::Build, Module::Starter, and PPM::Make
by adrianh (Chancellor) on Aug 27, 2004 at 09:39 UTC | |
by Corion (Patriarch) on Aug 27, 2004 at 09:42 UTC | |
by adrianh (Chancellor) on Aug 27, 2004 at 10:10 UTC | |
by ysth (Canon) on Aug 27, 2004 at 13:12 UTC | |
|
Re^4: Updating distributions with Module::Build, Module::Starter, and PPM::Make
by jacques (Priest) on Aug 26, 2004 at 20:30 UTC |