On Sun, Apr 16, 2006 at 10:45:14AM -0400, Torsten Schönfeld via RT <bug-Gtk2@rt.cpan.org> wrote:
Show quoted text> wants to install the pre-requisites. This doesn't seem to happen
> anymore. Maybe that's due to the PREREQ_FATAL flag?
Probably (so something did change, after all, and if this is the only
thing this would explain why it worked but does no longer).
Show quoted text> Anyway, even if CPAN/CPANPLUS still prompted the user, this approach
> wouldn't really work either: After happily installing all the required
> modules, CPAN/CPANPLUS would go back to the original module (Gtk2, say)
> to try to install it. But since there already is a Makefile whose mtime
Current versions of CPAN are supposed to regenerate the makefile (mine does).
Even then, running install Gtk2 twice is much much easier than having to
install all dependencies manually.
Another solution which works with all CPAN versions is to create a
Bundle file (which is basically an empty module with just the required
dependencies).
Show quoted text> Over the last few years, a couple of possible solutions have been
> suggested. The ones I remember are bundling and using
> ExtUtils::AutoInstall[1] and using CPAN.pm manually[2] to prompt the
> user and install needed modules on demand.
The agreement, AFAICR, was that cpan is buggy in this respect and should
just regenerate the makefile. I am not sure how common the fix is, though.
Still, running install twice is an improvement over having to install
dependencies manually, as users simply don't know which moduels to install
and its atedious process to gobble up all dependencies yourself if you
just want Gtk2 to make some othe rprogram run.
--
The choice of a
-----==- _GNU_
----==-- _ generation Marc Lehmann
---==---(_)__ __ ____ __ pcg@goof.com
--==---/ / _ \/ // /\ \/ /
http://schmorp.de/
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE