Example: ip2country depends on the PHP cURL library and the countries_api module.
cURL is not installed, countries_api is downloaded but not enabled.

drush> pm-enable ip2country
Module ip2country don't meet the requirements to be enabled.         [error]
The following projects will be enabled: countries_api
Do you really want to continue? (y/n):

This message doesn't say which requirements for ip2country are unsatisfied. It's only after I respond to that prompt that I get the extra information:

ip2country requires the PHP cURL library. (Currently using cURL Not  [error]
found)

That message should have been displayed before the prompt.

CommentFileSizeAuthor
#1 drush-982462.patch1.4 KBjonhattan

Comments

jonhattan’s picture

Version: All-versions-3.3 »
Assigned: Unassigned » jonhattan
Status: Active » Needs review
StatusFileSize
new1.4 KB

This patch print such errors at the moment.

jonhattan’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.