Posted on 2009-09-08 00:06:49-07 by kcoop
Error installing Cache::Memcached on CentOS
When I try to execute
sudo perl -MCPAN -e 'install Cache::Memcached'

on my server, I get a failure during the make test portion of the install (output below). My OS is CentOS 5.6 i686 standard. Anyone else having this problem? And any workarounds/patches? Or alternatives to Cache::Memcached (I'm just trying to get the munin plugin for memcached working)?
CPAN: Storable loaded ok (v2.20) Going to read /home/.cpan/Metadata Database was generated on Tue, 07 Jul 2009 07:31:56 GMT Running install for module 'Cache::Memcached' Running make for B/BR/BRADFITZ/Cache-Memcached-1.26.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.017) Checksum for /home/.cpan/sources/authors/id/B/BR/BRADFITZ/Cache-Memcached-1.26.tar.gz ok Cache-Memcached-1.26/ Cache-Memcached-1.26/t/ Cache-Memcached-1.26/t/03_stats.t Cache-Memcached-1.26/t/05_reconnect_timeout.t Cache-Memcached-1.26/t/100_flush_bug.t Cache-Memcached-1.26/t/02_keys.t Cache-Memcached-1.26/t/04_noreply.t Cache-Memcached-1.26/t/01_use.t Cache-Memcached-1.26/lib/ Cache-Memcached-1.26/lib/Cache/ Cache-Memcached-1.26/lib/Cache/Memcached.pm Cache-Memcached-1.26/lib/Cache/Memcached/ Cache-Memcached-1.26/lib/Cache/Memcached/GetParser.pm Cache-Memcached-1.26/MANIFEST Cache-Memcached-1.26/ChangeLog Cache-Memcached-1.26/TODO Cache-Memcached-1.26/MANIFEST.SKIP Cache-Memcached-1.26/Makefile.PL Cache-Memcached-1.26/README Cache-Memcached-1.26/META.yml CPAN: File::Temp loaded ok (v0.22) CPAN: YAML loaded ok (v0.68) CPAN.pm: Going to build B/BR/BRADFITZ/Cache-Memcached-1.26.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Cache::Memcached cp lib/Cache/Memcached/GetParser.pm blib/lib/Cache/Memcached/GetParser.pm cp lib/Cache/Memcached.pm blib/lib/Cache/Memcached.pm Manifying blib/man3/Cache::Memcached.3 BRADFITZ/Cache-Memcached-1.26.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/a +rch')" t/*.t t/01_use.t ................ ok t/02_keys.t ............... ok t/03_stats.t .............. 1/35 # Failed test 'malloc stats total isa HASH' # at t/03_stats.t line 57. # malloc stats total isn't defined # Failed test 'malloc stats in malloc stats' # at t/03_stats.t line 69. # Looks like you failed 2 tests of 35. t/03_stats.t .............. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/35 subtests t/04_noreply.t ............ ok t/05_reconnect_timeout.t .. ok t/100_flush_bug.t ......... 1/7 # Failed test 'OK' # at t/100_flush_bug.t line 57. # got: '0' # expected: '1' # Looks like you failed 1 test of 7.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.