develooper Front page | perl.module.build | Postings from February 2012

Re: Ending Build.PL if there are missing modules

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
February 3, 2012 17:33
Subject:
Re: Ending Build.PL if there are missing modules
Message ID:
4F2C8AE9.1050703@pobox.com
On 2012.2.3 3:22 PM, Leon Timmermans wrote:
> You shouldn't make it stop. «perl Build.PL» does configuration, 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 the
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.


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

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About