Subject: | configure_requires causes PREREQ_PM to be ignored |
Date: | Sun, 23 May 2010 14:07:11 -0700 |
To: | bug-CPAN [...] rt.cpan.org |
From: | Father Chrysostomos <sprout [...] cpan.org> |
CPAN.pm 1.9456:
cpan[1]> install DBD::SQLite
...
Show quoted text
---- Unsatisfied dependencies detected during ----
---- ADAMK/DBD-SQLite-1.29.tar.gz ----
DBI [build_requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
...
T/TI/TIMB/DBI-1.611.tar.gz is just needed temporarily during building
or testing. Do you want to install it permanently? [yes] no
...
Then DBD::SQLite installs, but it doesn’t work because prerequisites
are missing. That last prompt is simply not telling the truth, as
DBD::SQLite also has requries in its PREREQ_PM.
So either the question should come later, after the Makefile has been
scanned for prerequisites, or the answer should be ignored if Makefile
lists the same module.