On Thu, May 29, 2008 at 11:06 AM,  <[EMAIL PROTECTED]> wrote:
> Makefile.PL dies with proper message if this lisp is not seen on computer.
>
> However there are FAIL reports from smokers with exactly this error message:
>
> Output from '/Users/jj/perl/perl-5.8.2/bin/perl Makefile.PL':
> can't run "ecl-config --cflags|" - No such file or directory
>
> What should I do?

To prevent a FAIL, don't exit Makefile.PL with an error code.  (I.e. don't die.)

So do something like this before creating the Makefile.PL:

my $flags = qx/ecl-config --cflags/;
if ( $? ) {
    warn "Problems runing ecl-config";
    exit 0;
}

Regards,
David

Reply via email to