perlbrew failing to build a perl
I must be doing something exceptionally dumb...
Trying to install perlbrew on an linux disto CentOS release 6.8 (Final) Tried to follow instruction og the perlbrew.org home page \curl -L https://install.perlbrew.pl | bash downloaded ok, but somehow I got the csh version of ~/.perlbrew/init; ie tries to set the env variables w "setenv" Removed ~/.perlbrew/init and all of ~/perl5.
Start again....
this time no ~/.perlbrew/init is created & if i run "~/perl5/perlbrew/bin/perlbrew init" no errors, but no ~/.perlbrew/init either.
Pushing on I tried perlbrew install perl-5.25.12 failed... Itried as another account -- same result tried a earlier perl version smae.
the Test summary follows Test Summary Report
op/coreamp.t (Wstat: 0 Tests: 776 Failed: 1) Failed test: 87 op/dbm.t (Wstat: 0 Tests: 5 Failed: 2) Failed tests: 1-2 ../cpan/Memoize/t/errors.t (Wstat: 0 Tests: 11 Failed: 2) Failed tests: 5, 8 ../cpan/Memoize/t/tie_gdbm.t (Wstat: 19200 Tests: 0 Failed: 0) Non-zero exit status: 75 Parse errors: Bad plan. You planned 4 tests but ran 0. ../cpan/Memoize/t/tie_ndbm.t (Wstat: 19200 Tests: 0 Failed: 0) Non-zero exit status: 75 Parse errors: Bad plan. You planned 4 tests but ran 0. ../ext/GDBM_File/t/fatal.t (Wstat: 1024 Tests: 8 Failed: 4) Failed tests: 4-5, 7-8 Non-zero exit status: 4 ../ext/GDBM_File/t/gdbm.t (Wstat: 19200 Tests: 25 Failed: 7) Failed tests: 4, 7, 13, 20-22, 25 Non-zero exit status: 75 Parse errors: No plan found in TAP output ../ext/NDBM_File/t/ndbm.t (Wstat: 19200 Tests: 22 Failed: 7) Failed tests: 3, 6, 12, 19-22 Non-zero exit status: 75 Parse errors: No plan found in TAP output ../lib/AnyDBM_File.t (Wstat: 768 Tests: 12 Failed: 3) Failed tests: 1, 4, 9 Non-zero exit status: 3 Files=2559, Tests=1233325, 856 wallclock secs (64.74 usr 4.35 sys + 490.07 cusr 41.55 csys = 600.71 CPU)
Hi,
It might help to upgrade patchperl utility by running perlbrew install-patchperl. This is installed with perlbrew itself since you use the installer (install.perlbrew.pl), but it will need to be upgraded independently. Devel::PatchPerl is the module that contain information about what extra patches are required on which platform.
Also I need to mentione that the patchperl script I prepared for the install-patchperl command on https://github.com/gugod/patchperl-packing/ was probably not up-to-date if you installed perlbrew recently. I've just fixed the packinging script and now it is packed with latest Devel::PatchPerl module. There's a good chance that you'll need it.
See more http://perlbrew.pl/Perlbrew-and-Friends.html
OTOH The tests failed on your are DBM/GDBM tests, meaning that you probably need to install rpm gdbm an gdbm-devel, I think.