Re: Ending Build.PL if there are missing modules

[email protected] (Michael G Schwern) Fri, 03 Feb 2012 17:33:29 -0800
Newsgroups perl.module.build
Message-ID <[email protected]>
On 2012.2.3 3:22 PM, Leon Timmermans wrote:
> You shouldn't make it stop. =C2=ABperl Build.PL=C2=BB does configuratio=
n, not
> building. Hence build or runtime requirements are not required to be
> satisfied. What you're observing is not an error in any way, but an
> essential step in the process. It gives the install tool the chance to
> tell the cpan client (or the end user, if he's installing by hand) the
> opportunity what dependencies to install.

MakeMaker has something like what Alberto wants, PREREQ_FATAL.  It's
considered a misfeature for exactly the reasons above.  It doesn't let th=
e
configuration step complete so tools cannot resolve the dependencies and
continue building.

Alberto, what are you trying to accomplish here?  There's probably a way =
to do it.


--=20
emacs -- THAT'S NO EDITOR... IT'S AN OPERATING SYSTEM!