andreas1234567 has asked for the wisdom of the Perl Monks concerning the following question:
ExtUtils::MakeMaker goes to great lengths to check that libraries are installed, and emits this message upon failure:
I'd like to catch that warning. Can I make an assessment based on the return value from ExtUtils::MakeMaker?Note (probably harmless): No library found for -lphp5
My goal is to simply abort (i.e. die) the 'perl Makefile.PL' if not all of the above requirements are met. Is there a reliable, platform-independent way of doing that in perl?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Detect library in Makefile.PL
by syphilis (Archbishop) on Nov 13, 2008 at 10:11 UTC | |
by andreas1234567 (Vicar) on Nov 13, 2008 at 12:25 UTC | |
|
Re: Detect library in Makefile.PL
by Anonymous Monk on Nov 13, 2008 at 11:41 UTC |