[CentOS] CPAN issues

Mon Jun 29 21:45:14 UTC 2015
Brian Mathis <brian.mathis+centos at betteradmin.com>

It's not a good idea to update CPAN and/or install modules from CPAN into
the OS-installed perl.  Use rpm packages from yum.  Many can be found in
the standard CentOS repo and EPEL has many as well.  Take a look at
perlbrew if you really need a new version of perl for some reason.  If you
don't really need the new version, don't update it.


❧ Brian Mathis
@orev


On Mon, Jun 29, 2015 at 5:08 PM, James D. Parra <jamesp at musicreports.com>
wrote:

> Hello List,
>
> Running CentOS Linux release 7.0.1406 (Core), and trying to update CPAN
> from version 1.98 to version 2.10, but it fails.
>
>
> <snip>
> t/97-process_setup_options.t .. ok
> t/97-return_values.t .......... 6/10
> #   Failed test 'blib/script/cpan -j t/97-lib_cpan1/CPAN/Config.pm
> Local::Prereq::Fails'
> #   at t/97-return_values.t line 49.
> #          got: '2'
> #     expected: '1'
>
> #   Failed test 'blib/script/cpan -j t/97-lib_cpan1/CPAN/Config.pm
> Local::Make::Fails'
> #   at t/97-return_values.t line 49.
> #          got: '2'
> #     expected: '1'
> t/97-return_values.t .......... 8/10
> #   Failed test 'blib/script/cpan -j t/97-lib_cpan1/CPAN/Config.pm
> Local::Test::Fails'
> #   at t/97-return_values.t line 49.
> #          got: '2'
> #     expected: '1'
> t/97-return_values.t .......... 9/10
> #   Failed test 'blib/script/cpan -j t/97-lib_cpan1/CPAN/Config.pm
> Local::Unsupported::OS'
> #   at t/97-return_values.t line 49.
> #          got: '2'
> #     expected: '1'
> t/97-return_values.t .......... 10/10
> #   Failed test 'blib/script/cpan -j t/97-lib_cpan1/CPAN/Config.pm
> Local::Works::Fine'
> #   at t/97-return_values.t line 49.
> #          got: '2'
> #     expected: '0'
> # Looks like you failed 5 tests of 10.
> t/97-return_values.t .......... Dubious, test returned 5 (wstat 1280,
> 0x500)
> Failed 5/10 subtests
>
> Test Summary Report
> -------------------
> t/30shell.t                 (Wstat: 65280 Tests: 150 Failed: 0)
>   Non-zero exit status: 255
>   Parse errors: Bad plan.  You planned 223 tests but ran 150.
> t/41distribution.t          (Wstat: 1024 Tests: 19 Failed: 4)
>   Failed tests:  14, 16-17, 19
>   Non-zero exit status: 4
> t/97-return_values.t        (Wstat: 1280 Tests: 10 Failed: 5)
>   Failed tests:  6-10
>   Non-zero exit status: 5
> Files=30, Tests=595, 259 wallclock secs ( 0.27 usr  0.02 sys + 14.40 cusr
> 1.11 csys = 15.80 CPU)
> Result: FAIL
> Failed 3/30 test programs. 9/595 subtests failed.
> make: *** [test_dynamic] Error 5
>   ANDK/CPAN-2.10.tar.gz
> one dependency not OK (CPAN::Meta::Requirements); additionally test
> harness failed
>   /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>   reports ANDK/CPAN-2.10.tar.gz
> Running make install
>   make test had returned bad status, won't install without force
> Failed during this command:
>  ANDK/CPAN-2.10.tar.gz                        : make_test NO one
> dependency not OK (CPAN::Meta::Requirements); additionally test harness
> failed
> <end>
>
> Any ideas how I can resolve this?
>
> Thank you,
>
> James
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>