Skip Menu |

This queue is for tickets about the Gtk2-Unique CPAN distribution.

Report information
The Basics
Id: 76414
Status: open
Priority: 0/
Queue: Gtk2-Unique

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.05
Fixed in: (no value)



Subject: Missing dependency specification?
Looking at the test results for Gtk2-Unique <http://matrix.cpantesters.org/?dist=Gtk2-Unique-0.05> it seems that Gtk2 is not specified as a prereq. While this is not really necessary for a human user (it's obvious that Gtk2-Unique needs Gtk2), it helps automated testers. Regards, Slaven
On Sun Apr 08 13:51:41 2012, SREZIC wrote: Show quoted text
> Looking at the test results for Gtk2-Unique > <http://matrix.cpantesters.org/?dist=Gtk2-Unique-0.05> it seems that > Gtk2 is not specified as a prereq. While this is not really necessary > for a human user (it's obvious that Gtk2-Unique needs Gtk2), it helps > automated testers.
The module's Makfile.PL has PREREQ_PM => { 'Gtk2' => '1.161', # Other verions might work too (Ubuntu 8.04 has this version) }, PREREQ_FATAL => 1, What else is needed?
On 2012-04-08 16:32:50, POTYL wrote: Show quoted text
> On Sun Apr 08 13:51:41 2012, SREZIC wrote:
> > Looking at the test results for Gtk2-Unique > > <http://matrix.cpantesters.org/?dist=Gtk2-Unique-0.05> it seems that > > Gtk2 is not specified as a prereq. While this is not really necessary > > for a human user (it's obvious that Gtk2-Unique needs Gtk2), it helps > > automated testers.
> > The module's Makfile.PL has > > PREREQ_PM => { > 'Gtk2' => '1.161', # Other verions might work too (Ubuntu 8.04 has
this Show quoted text
> version) > }, > PREREQ_FATAL => 1, > > > What else is needed?
Don't use PREREQ_FATAL. The ExtUtils::MakeMaker documentation says: It is extremely rare to have to use "PREREQ_FATAL". Its use by module authors is strongly discouraged and should never be used lightly. Regards, Slaven
Also, to specify that Makefile.PL itself needs additional prereqs, you can specify the configure_requires field in META.yml. Regards, Slaven