>>>>> On Sun, 28 Jan 2007 03:15:22 -0800, Eric Wilhelm <[EMAIL PROTECTED]> said:
> Working on an automated build system for multiple computers on multiple > platforms... > I realized that 'perl Build.PL' doesn't return a failure exit status > when dependencies are missing. Do CPAN/CPANPLUS not check this? CPAN.pm expects that Makefile.PL or Build.PL do their best to getting things done. Part of their duty is to report prerequisites through well defined protocols. Dieing because a prerequisite is missing is not part of the protocol and thus not considered helpful. As soon as CPAN.pm knows about the prerequisites, it gets them. This has always been a separate task. The next step, the 'make' or the './Build' can then just rely that the prereqs are available. There are rare exceptions that cannot work as outlined above. This is the case when the Makefile.PL or the Build.PL really depend immediately on something that is missing thus one cannot construct a working Build or Makefile without it. For such cases we currently have no standard solution. -- andreas