dependencies: check for MakeMaker Perl module
commit026d47c7c524a026e04871084343c9a371efde65
authorRomain Naour <romain.naour@gmail.com>
Wed, 6 Jul 2016 22:43:31 +0000 (7 00:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 16 Oct 2016 10:07:54 +0000 (16 12:07 +0200)
treee39ca445531f319523782f001ea8e582a1988260
parent0a7c9b6b0ac63d01ca55a75363e9c446dca19772
dependencies: check for MakeMaker Perl module

ExtUtils::MakeMaker is one of the Perl Core modules usually packaged in
Perl package for a Debian/Ubuntu based system.
For a Fedora based system, each Perl Core modules have their own RPM
package. So install only Perl package is not enough.

Fixes:
>>> host-libxml-parser-perl 2.41 Configuring
[...]
perl `which perl` Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (you may need to install the ExtUtils::MakeMaker module)

Add a new Perl module check in dependency.sh.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: François Perrad <francois.perrad@gadz.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/dependencies/dependencies.sh