Mango::BSON::ObjectID is not getting installed in perl5.36.0 using cpan - mojolicious

I switched from Perl 5.30 to Perl 5.36 and using Mojolicious 8.33. I tried installing Mango::BSON::ObjectID using CPAN.
cpan Mango::BSON::ObjectID
But it was throwing errors.
Test Summary Report
t/bson.t (Wstat: 256 Tests: 182 Failed: 1)
Failed test: 106
Non-zero exit status: 1
Files-13, Tests=205, 4 wallclock secs ( 0.05 usr 0.01 sys+ 1.89
cusr 0.22 csys=2.17 CPU)
Result: FAIL
Failed 1/13 test programs. 1/205 subtests failed.
make: *** [Makefile:942: test_dynamic] Error 255
ODC/Mango-1.30.tar.gz
/usr/bin/make test NOT OK
//hint// to see the cpan testers results for installing this
module, try:
reports ODC/Mango-1.38.tar.gz
So, I just want to know if Mango is supported in Perl 5.36.0 or not. And if it is not being supported, then what is the alternative to Mango?

Related

perlbrew install of perl-5.32.1 fails on macOS

perlbrew install perl-5.32.1
fails on macOS Big Sur (11.3.1)
The end of the log file includes this:
Test Summary Report
-------------------
porting/libperl.t (Wstat: 65280 Tests: 35 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=2678, Tests=1208628, 934 wallclock secs (75.33 usr 15.27 sys + 505.35 cusr 79.82 csys = 675.77 CPU)
Result: FAIL
make: *** [test_harness] Error 1
##### Brew Failed #####
It also fails in the same way when I try to install perl versions 5.32.0 and 5.30.3
Any clues as to why the perl installation is failing? And how to fix it?

perl PDL module fails to install on linux

I am using cpan -L local PDL::Graphics::PLplot. I am getting a failure message.
Test Summary Report
-------------------
t/plplot.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/plplot_library_tests.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=3, Tests=0, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.20 cusr 0.01 csys = 0.24 CPU)
Result: FAIL
Failed 2/3 test programs. 0/0 subtests failed.
Makefile:803: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 2
-> FAIL Installing PDL::Graphics::PLplot
When installing using cpanm I noticed I was missing some modules libpdl-stats-perl Cannot find hdf library, libdf.a, libplplotd.so, HDF, GD, Proj once those were installed it started working. I did have to install to a non standard perl directory.

Perl/Cpan WWW::Mechanize installation error (Terminal)

I need to download a program that needs some modules in Perl, all were installed normally but when I got to the part of installing the WWW :: Mechanize I could not and the following errors appeared:
Error 1:
t/dump.t ............................................ Test/Output.pm
did not return a true value at t/dump.t line 6.
BEGIN failed--compilation aborted at t/dump.t line 6.
#Looks like your test exited with 255 before it could output anything.
t/dump.t ................................. Dubious, test returned 255(wstat 65280, 0xff00)
Failed 6/6 subtests
Error 2:(I do not think that this error is who is disturbing the installation but even so I put)
t/local/overload.t ................................. skipped: Mysteriously
stopped passing, and I don't know why.
Test Summary Report:
Test Summary Report
-------------------
t/dump.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 6 tests but ran 0.
Files=59, Tests=752, 121 wallclock secs ( 0.73 usr 0.21 sys + 33.15 cusr 5.02 csys = 39.11 CPU)
Result: FAIL
Failed 1/59 test programs. 0/752 subtests failed.
Makefile:943: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
OALDERS/WWW-Mechanize-1.91.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports OALDERS/WWW-Mechanize-1.91.tar.gz

How do I 'use diagnostics' for Perl on Cygwin?

I want to install DBD::AnyData which requires SQL::Statement which requires Math::Base::Convert. However, it's giving me this error
$ cpan install Math::Base::Convert
...
t/overload.t .............. couldn't find diagnostic data in /usr/lib/perl5/5.22/pods/perldiag.pod /home/Chloe/.cpan/build/Math-Base-Convert-0.11-EySfLp/blib/lib /home/Chloe/.cpan/build/Math-Base-Convert-0.11-EySfLp/blib/arch /usr/lib/perl5/site_perl/5.22/i686-cygwin-threads-64int /usr/lib/perl5/site_perl/5.22 /usr/lib/perl5/vendor_perl/5.22/i686-cygwin-threads-64int /usr/lib/perl5/vendor_perl/5.22 /usr/lib/perl5/5.22/i686-cygwin-threads-64int /usr/lib/perl5/5.22 . t/overload.t at /usr/lib/perl5/5.22/diagnostics.pm line 259, <POD_DIAG> line 704.
Compilation failed in require at t/overload.t line 1.
BEGIN failed--compilation aborted at t/overload.t line 1.
t/overload.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Test Summary Report
-------------------
t/overload.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=20, Tests=5327, 2 wallclock secs ( 0.28 usr 0.01 sys + 0.76 cusr 0.42 csys = 1.48 CPU)
Result: FAIL
Failed 1/20 test programs. 0/5327 subtests failed.
Makefile:859: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
MIKER/Math-Base-Convert-0.11.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MIKER/Math-Base-Convert-0.11.tar.gz
I already ran cpan -u.
CPAN version 1.61, Perl 5.22.0
The diagnostics module gets its explanations for messages from the perldoc file perldiag.pod. Both of these are core parts of perl, but some packaging systems choose to distribute documentation in a separate package that might not be installed even when perl is. In the case of Cygwin this package is perl_pods. Installing that package should make the diagnostics module work properly.

what does this error mean - installing perl module with cpan

I tried to install HTML::TreeBuilderX::ASP_NET with cpan on Windows 7.
I have strawberry perl setup.
Everything went smoothly until the end when I got the following. Is this something I should worry about?
Test Summary Report
-------------------
t/10-traits.t (Wstat: 65280 Tests: 3 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 3.
t/boilerplate.t (Wstat: 0 Tests: 2 Failed: 0)
TODO passed: 1-2
Files=7, Tests=22, 3 wallclock secs ( 0.08 usr + 0.01 sys = 0.09 CPU)
Result: FAIL
Failed 1/7 test programs. 2/22 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
ECARROLL/HTML-TreeBuilderX-ASP_NET-0.09.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ECARROLL/HTML-TreeBuilderX-ASP_NET-0.09.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
ECARROLL/HTML-TreeBuilderX-ASP_NET-0.09.tar.gz: make_test NO
then when installing WWW::Mechanize
I got
Test Summary Report
-------------------
t\local\back.t (Wstat: 256 Tests: 47 Failed: 1)
Failed test: 33
Non-zero exit status: 1
t\local\click_button.t (Wstat: 0 Tests: 19 Failed: 0)
TODO passed: 15-17, 19
Files=52, Tests=550, 247 wallclock secs ( 0.42 usr + 0.28 sys = 0.70 CPU)
Result: FAIL
Failed 1/52 test programs. 1/550 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
JESSE/WWW-Mechanize-1.70.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JESSE/WWW-Mechanize-1.70.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
JESSE/WWW-Mechanize-1.70.tar.gz : make_test NO
It tells you that some tests failed and therefore the install will not proceed. The failed tests are in t/10-traits.t and the failed tests are 2 and 3. Whether you should worry about this depends on what the tests are and why they are failing.
These are the failing tests:
eval { HTML::TreeBuilderX::ASP_NET->new_with_traits( traits => ['htmlElement'] ) };
ok ( !$#, 'htmlElement trait construction is good!!' );
eval {
HTML::TreeBuilderX::ASP_NET->new_with_traits( traits => ['htmlElement'] );
HTML::Element->new('a', href => "__doPostBack('foo','bar')" )->httpRequest;
};
like ( $#, qr/<form>/, 'Success with use! (failed without the parent form)' );