Yeah, you're absolutely right - this is actually a documented bug, at
http://rt.cpan.org/NoAuth/Bug.html?id=2305
I'm working on a little fix to make this better now.
-Ken
On Saturday, November 1, 2003, at 07:30 AM, Sagar Shah wrote:
> Hi,
>
> First of all thank you for producing Module::Build. Even at this stage
> of development, it is excellent.
>
> I like the idea of the recommends method, as i often have optional
> dependencies for my modules (mainly things that are dependencies of
> specific tests which get skipped when the module isn't there).
>
> I had a quick play with it, and what i'm not sure is whether it's
> friendly enough to the user.
>
> If i have an uninstalled module 'Sagar::Great' => 1, in requires iget
> the following output:
>
> ERROR: Sagar::Great: Prerequisite Sagar::Great isn't installed
> ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the
> versions
> of the modules indicated above before proceeding with this
> installation.
>
> Which sounds fairly reasonable. Now if i have an uninstalled module:
> 'Sagar::SICRAP' => 3, i get:
>
> WARNING: Sagar::Great: Prerequisite Sagar::Great isn't installed
> ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the
> versions
> of the modules indicated above before proceeding with this
> installation.
>
>
> My concern is that the 'ERRORS/WARNINGS FOUND..." message is a bit too
> harsh/unfriendly when all that the user is missing is a recommended
> module. It puts me off using the recommends feature.
>
> What do others think?
>
> Perhaps something more akin to :
>
> WARNING: Sagar::Great: Optional Sagar::Great isn't installed
> You may wish to install the recommended versions of the modules
> indicated above before proceeding with this installation.
>
> Or perhaps i'm just too nice to my users ;-)
>
> S.
>
>
> --
> Sagar Shah <sag...@so...>
> <signature.asc>
|