in reply to Re^3: Strawberry CPAN.pm wrongly overrides INC in Makefile.PL
in thread Strawberry CPAN.pm wrongly overrides INC in Makefile.PL
long-standing assumption by module authors that you can ask the user to provide you anything you like as a param to Makefile.PL
I have not made that assumption. I have gone out of my way to make my modules work without FAILs from cpan-testers, via cpan shell, from the command line and the module in question:
Between trying to avoid FAIL reports via cpan-testers, keeping up with non-compatible changes in ExtUtils::MakeMaker and supporting distributions that work differently (like strawberry perl) I'm guessing some module authors are living in a world of pain and certainly I seem to be spending more time tweaking things back and forth in the installations instead of adding all those requested features the users of the module want.
All I want in this case is to add a path to INC (without it my module will not even build - it is XS and needs DBI header files). It would appear for the current version of ExtUtils::MakeMaker and strawberry perl the only automatic thing I can do is delete INC from ARGV which seems a little drastic. The user on the other hand can either a) install manually b) edit makepl_arg in cpan c) edit Makefile after generation. For now I'm looking for INC in ARGV, outputting a message saying it will not work with advice on fixing it and, oh yes, remembering to exit 0 without creating a Makefile or cpan testers will issue a FAIL.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Strawberry CPAN.pm wrongly overrides INC in Makefile.PL
by adamk (Chaplain) on Dec 08, 2008 at 07:09 UTC | |
by mje (Curate) on Dec 08, 2008 at 09:01 UTC | |
by syphilis (Archbishop) on Dec 08, 2008 at 09:25 UTC |