dependencies: check for MakeMaker Perl module
PATCH 1/2 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:
Quoted 1 line
Quoted 1 line
Quoted 1 line
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.
--- support/dependencies/dependencies.sh | 1 + 1 file changed, 1 insertion(+)
support/dependencies/dependencies.sh +1 -0
@@ -238,6 +238,7 @@ fi # Check that the Perl installation is complete enough for Buildroot. required_perl_modules="Data::Dumper" # Needed to build host-autoconf +required_perl_modules="$required_perl_modules ExtUtils::MakeMaker" # Used by host-libxml-parser-perl required_perl_modules="$required_perl_modules Thread::Queue" # Used by host-automake # This variable will keep the modules that are missing in your system.
Signature · 1 line
2.5.5
PATCH 2/2 dependencies: check for Math BigInt/BigRat Perl module
As for MakeMaker Perl module, add a check for Math BigInt/BigRat Perl Core module.
Fixes:
Waf: Entering directory `output/build/mpv-0.17.0/build'
[ 1/198] Compiling version.sh
[ 12/198] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h [ 13/198] Compiling demux/ebml.c
Can't locate Math/BigRat.pm in @INC (you may need to install the Math::BigRat module)
Waf: Entering directory `output/build/mpv-0.17.0/build'
[ 1/198] Compiling version.sh [ 2/198] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns [ 3/198] Compiling video/out/x11_icon.bin [ 4/198] Compiling etc/input.conf [ 5/198] Compiling sub/osd_font.otf [ 6/198] Compiling video/out/opengl/nnedi3_weights.bin [ 7/198] Compiling player/lua/defaults.lua [ 8/198] Compiling player/lua/assdraw.lua [ 9/198] Compiling player/lua/options.lua
[ 10/198] Compiling player/lua/osc.lua
[ 11/198] Compiling player/lua/ytdl_hook.lua
[ 12/198] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h [ 13/198] Compiling demux/ebml.c
[ 14/198] Compiling DOCS/man/mpv.rst
Can't locate Math/BigInt.pm in @INC (you may need to install the Math::BigInt module)
--- support/dependencies/dependencies.sh | 2 ++ 1 file changed, 2 insertions(+)
support/dependencies/dependencies.sh +2 -0
@@ -239,6 +239,8 @@ fi # Check that the Perl installation is complete enough for Buildroot. required_perl_modules="Data::Dumper" # Needed to build host-autoconf required_perl_modules="$required_perl_modules ExtUtils::MakeMaker" # Used by host-libxml-parser-perl +required_perl_modules="$required_perl_modules Math::BigInt" # Used by mpv +required_perl_modules="$required_perl_modules Math::BigRat" # Used by mpv required_perl_modules="$required_perl_modules Thread::Queue" # Used by host-automake # This variable will keep the modules that are missing in your system.
Signature · 1 line
2.5.5
PATCH 2/2 dependencies: check for Math BigInt/BigRat Perl module
Hello,
support/dependencies/dependencies.sh fi · line 244
Quoted 11 lines · Romain Naour
support/dependencies/dependencies.sh +2
-0@@ -239,6 +239,8 @@ fi # Check that the Perl installation is complete enough for Buildroot. required_perl_modules="Data::Dumper" # Needed to build host-autoconf required_perl_modules="$required_perl_modules ExtUtils::MakeMaker" # Used by host-libxml-parser-perl +required_perl_modules="$required_perl_modules Math::BigInt" # Used by mpv +required_perl_modules="$required_perl_modules Math::BigRat" # Used by mpv required_perl_modules="$required_perl_modules Thread::Queue" # Used by host-automake
Should the addition of those Perl modules be conditional on the mpv package being enabled? I'm not sure, just wondering.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 2/2 dependencies: check for Math BigInt/BigRat Perl module
Hi Thomas,
Le 07/07/2016 ? 11:57, Thomas Petazzoni a ?crit :
Quoted 4 lines
Hello,
On Thu, 7 Jul 2016 00:43:32 +0200, Romain Naour wrote:
Quoted 14 lines
support/dependencies/dependencies.sh fi · line 244
Quoted 11 lines
support/dependencies/dependencies.sh +2
-0@@ -239,6 +239,8 @@ fi # Check that the Perl installation is complete enough for Buildroot. required_perl_modules="Data::Dumper" # Needed to build host-autoconf required_perl_modules="$required_perl_modules ExtUtils::MakeMaker" # Used by host-libxml-parser-perl +required_perl_modules="$required_perl_modules Math::BigInt" # Used by mpv +required_perl_modules="$required_perl_modules Math::BigRat" # Used by mpv required_perl_modules="$required_perl_modules Thread::Queue" # Used by host-automakeShould the addition of those Perl modules be conditional on the mpv package being enabled? I'm not sure, just wondering.
Yes, I hesitated doing so, but these modules are pretty small.
I haven't a strong opinion...
Best regards,
Romain
Quoted 3 lines
Thomas
Thomas Petazzoni
AppliedPATCH 2/2 dependencies: check for Math BigInt/BigRat Perl module
In reply to Romain NaourHello,
Quoted 27 lines · Romain Naour
As for MakeMaker Perl module, add a check for Math BigInt/BigRat Perl Core module.
Fixes:
Waf: Entering directory `output/build/mpv-0.17.0/build'
[ 1/198] Compilingversion.sh
[ 12/198] Processingebml_types.h:demux/ebml.cdemux/demux_mkv.c->build/ebml_types.h[ 13/198] Compilingdemux/ebml.c
Can't locate Math/BigRat.pm in @INC (you may need to install theMath::BigRatmodule)Waf: Entering directory `output/build/mpv-0.17.0/build'
[ 1/198] Compiling version.sh [ 2/198] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns [ 3/198] Compiling video/out/x11_icon.bin [ 4/198] Compiling etc/input.conf [ 5/198] Compiling sub/osd_font.otf [ 6/198] Compiling video/out/opengl/nnedi3_weights.bin [ 7/198] Compiling player/lua/defaults.lua [ 8/198] Compiling player/lua/assdraw.lua [ 9/198] Compiling player/lua/options.lua[ 10/198] Compiling player/lua/osc.lua
[ 11/198] Compiling player/lua/ytdl_hook.lua
[ 12/198] Processingebml_types.h:demux/ebml.cdemux/demux_mkv.c->build/ebml_types.h[ 13/198] Compilingdemux/ebml.c
[ 14/198] CompilingDOCS/man/mpv.rst
Can't locate Math/BigInt.pm in @INC (you may need to install theMath::BigIntmodule)
Quoted 5 lines
Signed-off-by Romain Naour <[email protected]>Cc Fran?ois Perrad <[email protected]>--- support/dependencies/dependencies.sh | 2 ++ 1 file changed, 2 insertions(+)
Applied, after making those Perl modules only required when mpv is enabled.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/2 dependencies: check for MakeMaker Perl module
In reply to Romain NaourQuoted 7 lines · Romain Naour
ExtUtils::MakeMakeris 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:
Quoted 1 line
Quoted 1 line
Quoted 1 line
host-libxml-parser-perl 2.41 Configuring
Quoted 8 lines
[...]
perlwhich perlMakefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (you may need to install theExtUtils::MakeMakermodule)Add a new Perl module check in
dependency.sh.Signed-off-by Romain Naour <[email protected]>Cc Fran?ois Perrad <[email protected]>
Regards,
Arnout
Quoted 17 lines
--- support/dependencies/dependencies.sh | 1 + 1 file changed, 1 insertion(+)support/dependencies/dependencies.sh +1
-0@@ -238,6 +238,7 @@ fi # Check that the Perl installation is complete enough for Buildroot. required_perl_modules="Data::Dumper" # Needed to build host-autoconf +required_perl_modules="$required_perl_modules ExtUtils::MakeMaker" # Used by host-libxml-parser-perl required_perl_modules="$required_perl_modules Thread::Queue" # Used by host-automake # This variable will keep the modules that are missing in your system.
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Thomas Petazzoni
AppliedPATCH 1/2 dependencies: check for MakeMaker Perl module
In reply to Romain NaourHello,
Quoted 11 lines · Romain Naour
ExtUtils::MakeMakeris 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:
Quoted 1 line
Quoted 1 line
Quoted 1 line
host-libxml-parser-perl 2.41 Configuring
[...]
perlwhich perlMakefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (you may need to install theExtUtils::MakeMakermodule)
Quoted 7 lines
Add a new Perl module check in
dependency.sh.Signed-off-by Romain Naour <[email protected]>Cc Fran?ois Perrad <[email protected]>--- support/dependencies/dependencies.sh | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com