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

Niko Tyni ntyni at debian.org
Wed Mar 21 19:10:45 UTC 2012


On Tue, Mar 20, 2012 at 11:24:21PM +0000, Dominic Hargreaves wrote:
> > 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.

> 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.

No objections from me.
-- 
Niko Tyni   ntyni at debian.org






More information about the Perl-maintainers mailing list