tag:blogger.com,1999:blog-6162910877268067002.post3407422067919653548..comments2023-06-07T12:48:28.510+02:00Comments on Jerome Quelin: helping perl packagers package perl modules (for real this time)Jérôme Quelinhttp://www.blogger.com/profile/18298636285366492379noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6162910877268067002.post-63325925622928614202010-01-11T15:31:33.558+01:002010-01-11T15:31:33.558+01:00Since upgrading my development Ubuntu box I've...Since upgrading my development Ubuntu box I've become guilty of one of your mentioned sins - namely, I no longer have Test::Pod, Test::Pod::Coverage and Test::Kwalitee installed. I've fixed that now. Thankfully, I didn't have any errors in those tests anyway.<br /><br />Thank you for the reminder.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6162910877268067002.post-59265423696020283792009-12-29T22:05:22.612+01:002009-12-29T22:05:22.612+01:00Module::Install detects if it's running under ...Module::Install detects if it's running under CPAN or CPANPLUS, the normal environments for module compilation.<br /><br />Module::Install provides a flag for you to set.<br /><br />In the case of no flag set, it guesses that it's being used by a less wise user, and therefore defaults to trying to do as much as it can to make sure the module installs - hence attaching the installdeps target for 'make' for people who blindly 'perl Makefile.PL && make && make test && make install'.<br /><br />So, our defaults optimise for best likelihood of successful installation for people using 'cpan', people using 'cpanplus', and people doing installs by hand - which are the three likeliest situations for a newbie to be building in (and RT extension authors' experiences have shown that the ease-of-installation optimisation for the 'by hand' case has been a huge boon to letting non-perl-savvy people achieve successful installations).<br /><br />I'm very much aware that these aren't sane defaults for packagers, but we expect packagers to be wiser than the average user, and hence to have read the documentation and found the switch to flip.<br /><br />If you'd like to get together with packagers for other distributions and define a standard environment variable you guys set for "I am a packager stop fucking trying to be clever", I'd be glad to patch it into Module::Install alongside the cpan and cpanplus detection code.<br /><br />-- mst, outMatt S Trout (mst)https://www.blogger.com/profile/04490146750997291286noreply@blogger.com