MMM should check needed perl modules on startup

Bug #493895 reported by Walter Heck
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-mmm
New
Undecided
Unassigned

Bug Description

As discussed in http://groups.google.com/group/mmm-devel/browse_thread/thread/8b206057180e1fa?hl=en
MMM doesn't check if all the required perl modules (and maybe even other prerequisites?) are available. As a result, it can die with strange and hard-to-track down errors.

Revision history for this message
brad b (bradbrewermail) wrote :

Perhaps, for each module required, perl -e "use Net::ARP" could be executed. If the package isn't installed, the output can be logged along with...

     did you install Net::ARP? try...
     cpan
     cpan> install Net::ARP

Revision history for this message
Will G. (will-launchpad) wrote :

MMM 2.0.x is installed using make. There is a Makefile that is present in the .tar.gz that is available for download.

Perhaps the best solution would be to include these tests in the make file, under each section, prior to actually moving and installing the binaries. Or perhaps convert it to a Makefile.PL like many perl modules use to create their Makefile. This would allow the use of PREREQ_PM.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.