Bug#293908: perl: prereq make not listed but needed for cpan module Date::Format

Dominic Hargreaves dom at earth.li
Tue Mar 20 23:24:21 UTC 2012


On Thu, Oct 07, 2010 at 12:02:17PM +0300, Niko Tyni wrote:
> found 293908 5.10.1-15
> thanks
> 
> On Sun, Apr 26, 2009 at 08:51:00AM +0300, Niko Tyni wrote:
> > > - make 'make a prerequisite for cpan
> > > - make cpan aware of the debian package system and throw a proper error
> > >   when make is not found 
> > > - pay a gremlin $50 to sit in your computer and install make if a cpan
> > >   package that requires make is about to be installed.
> > > 
> > > suggested fix:
> > > Make 'make' a prerequisite for cpan.
> > 
> > As CPAN functionality is an important part of the Perl core, I'm inclined
> > to add a 'Recommends: make' to the perl package. This will pull make in
> > by default but allow for people to explicitly remove it if they so desire.
> 
> Due to the protest over this in bug #596734 , I've downgraded the
> recommendation to a suggestion in 5.10.1-15 so that make will not be
> pulled in by default after all.
> 
> A better fix would be to change cpan so that it gives a better error message.
> I'll look at that after the Squeeze release.
> 
> I'm reopening this bug. Sorry it didn't work out for Squeeze.

CPAN now gives a better error message:

Writing Makefile for Time::HiRes
Writing MYMETA.yml
Now you may issue 'make'.  Do not forget also 'make test'.
Can't exec "/usr/bin/make": No such file or directory at /usr/share/perl/5.14/CPAN/Distribution.pm line 2078.

This isn't as clear as might have been envisaged for a Debian-specific
message, but I think it's good enough. If there are no objections I'll
mark this one as closed.

Cheers,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)






More information about the Perl-maintainers mailing list