Subject: | Image::Magick and GD::SecurityImage prereqs |
The test suite fails if Image::Magick is not installed. After installing that module it complains that GD::SecurityImage is missing (see below). With these two modules the test suite passes:
...
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/opt/perl-5.30.1t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
[Sat Dec 21 22:00:53 2019] [LLNG:10193] [error] Lemonldap::NG::Portal::Plugins::RESTServer load error: Could not load class (Lemonldap::NG::Portal::Lib::Captcha) because : Can't locate GD/SecurityImage.pm in @INC (you may need to install the GD::SecurityImage module) (@INC contains: /home/cpansand/.cpan/build/2019122121/Lemonldap-NG-Portal-2.0.7-0/blib/lib /home/cpansand/.cpan/build/2019122121/Lemonldap-NG-Portal-2.0.7-0/blib/arch /opt/perl-5.30.1t/lib/site_perl/5.30.1/x86_64-linux-thread-multi /opt/perl-5.30.1t/lib/site_perl/5.30.1 /opt/perl-5.30.1t/lib/5.30.1/x86_64-linux-thread-multi /opt/perl-5.30.1t/lib/5.30.1 .) at /home/cpansand/.cpan/build/2019122121/Lemonldap-NG-Portal-2.0.7-0/blib/lib/Lemonldap/NG/Portal/Lib/Captcha.pm line 4, <FILE> line 1.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019122121/Lemonldap-NG-Portal-2.0.7-0/blib/lib/Lemonldap/NG/Portal/Lib/Captcha.pm line 4, <FILE> line 1.
Compilation failed in require at /opt/perl-5.30.1t/lib/site_perl/5.30.1/x86_64-linux-thread-multi/Mouse/Util.pm line 295, <FILE> line 1.
at /opt/perl-5.30.1t/lib/site_perl/5.30.1/x86_64-linux-thread-multi/Mouse/Util.pm line 304, <FILE> line 1.
Mouse::Util::load_class("Lemonldap::NG::Portal::Lib::Captcha") called at /opt/perl-5.30.1t/lib/site_perl/5.30.1/x86_64-linux-thread-multi/Mouse/Meta/Class.pm line 58
Mouse::Meta::Class::superclasses(Mouse::Meta::Class=HASH(0x55b9b81f8c38), "Lemonldap::NG::Portal::Main::Plugin", "Lemonldap::NG::Portal::Lib::Captcha") called at /opt/perl-5.30.1t/lib/site_perl/5.30.1/x86_64-linux-thread-multi/Mouse.pm line 35
Mouse::extends("Lemonldap::NG::Portal::Main::Plugin", "Lemonldap::NG::Portal::Lib::Captcha") called at /home/cpansand/.cpan/build/2019122121/Lemonldap-NG-Portal-2.0.7-0/blib/lib/Lemonldap/NG/Portal/Plugins/RESTServer.pm line 59
require Lemonldap/NG/Portal/Plugins/RESTServer.pm called at (eval 105) line 1
eval 'require Lemonldap::NG::Portal::Plugins::RESTServer' called at /home/cpansand/.cpan/build/2019122121/Lemonldap-NG-Portal-2.0.7-0/blib/lib/Lemonldap/NG/Portal/Main/Init.pm line 488
Lemonldap::NG::Portal::Main::loadModule(Lemonldap::NG::Portal::Main=HASH(0x55b9b7e91638), "::Plugins::RESTServer") called at /home/cpansand/.cpan/build/2019122121/Lemonldap-NG-Portal-2.0.7-0/blib/lib/Lemonldap/NG/Portal/Main/Init.pm line 401
Lemonldap::NG::Portal::Main::loadPlugin(Lemonldap::NG::Portal::Main=HASH(0x55b9b7e91638), "::Plugins::RESTServer") called at /home/cpansand/.cpan/build/2019122121/Lemonldap-NG-Portal-2.0.7-0/blib/lib/Lemonldap/NG/Portal/Main/Init.pm line 301
Lemonldap::NG::Portal::Main::reloadConf(Lemonldap::NG::Portal::Main=HASH(0x55b9b7e91638), HASH(0x55b9b7ee85e0)) called at /opt/perl-5.30.1t/lib/site_perl/5.30.1/Lemonldap/NG/Handler/Main/Reload.pm line 72
Lemonldap::NG::Handler::Main::checkConf("Lemonldap::NG::Handler::PSGI::Main", Lemonldap::NG::Portal::Main=HASH(0x55b9b7e91638)) called at /opt/perl-5.30.1t/lib/site_perl/5.30.1/Lemonldap/NG/Handler/Lib/PSGI.pm line 23
Lemonldap::NG::Handler::Lib::PSGI::init(Lemonldap::NG::Portal::Main=HASH(0x55b9b7e91638), HASH(0x55b9b7edbd30)) called at /opt/perl-5.30.1t/lib/site_perl/5.30.1/Lemonldap/NG/Handler/PSGI/Router.pm line 14
Lemonldap::NG::Handler::PSGI::Router::init(Lemonldap::NG::Portal::Main=HASH(0x55b9b7e91638), HASH(0x55b9b7edbd30)) called at /home/cpansand/.cpan/build/2019122121/Lemonldap-NG-Portal-2.0.7-0/blib/lib/Lemonldap/NG/Portal/Main/Init.pm line 126
Lemonldap::NG::Portal::Main::init(Lemonldap::NG::Portal::Main=HASH(0x55b9b7e91638), HASH(0x55b9b6091430)) called at t/test-lib.pm line 603
LLNG::Manager::Test::__ANON__(LLNG::Manager::Test=HASH(0x55b9b68ba708), HASH(0x55b9b6091430)) called at t/01-AuthDemo.t line 9
Compilation failed in require at (eval 105) line 1, <FILE> line 1.
[Sat Dec 21 22:00:53 2019] [LLNG:10193] [error]
[Sat Dec 21 22:00:53 2019] [LLNG:10193] [error] Underlying object can't load conf (Lemonldap::NG::Portal::Main->reloadConf)
# Failed test 'Init'
# at t/test-lib.pm line 603.
... (etc) ...