Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

Cache::Cache module problem

$
0
0

In Ubuntu for Windows:

I've been getting the error:Can't locate Cache/Cache.pm in @INC (you may need to install the Cache::Cache module)

when trying to run a GitHub script.

When I do a fresh install of the Make package, it gives me the following:

perl -MCPAN -e 'install YAML::Any, List::MoreUtils, HTML::Entities, URI::Escape, Cache::FileCache, WWW::Curl::Easy, Text::CSV, Log::Any, IO::Prompter, Test::More, Test::Exception'Reading '/root/.cpan/Metadata'  Database was generated on Mon, 27 Apr 2020 18:17:03 GMTYAML::Any is up to date (1.30).List::MoreUtils is up to date (0.428).HTML::Entities is up to date (3.69).URI::Escape is up to date (3.31).Running install for module 'Cache::FileCache'Checksum for /root/.cpan/sources/authors/id/R/RJ/RJBS/Cache-Cache-1.08.tar.gz okConfiguring R/RJ/RJBS/Cache-Cache-1.08.tar.gz with Makefile.PLChecking for IPC::ShareLite... not found  NOTE: Your system does not seem to have IPC::ShareLite installed.  This module is a prerequisite for the SharedMemoryCache  implementations.  However, since it is not available on all  platforms, the Cache::Cache module does not list it as an explicit  dependency.  If you are able to build IPC::ShareLite (available on  CPAN), please install it now and re run this Makefile.PL.  Automatically disabling the tests for the SharedMemoryCache.Checking if your kit is complete...Looks goodGenerating a Unix-style MakefileWriting Makefile for Cache::CacheWriting MYMETA.yml and MYMETA.json------------------------------------------------------------------Please be patient while running "make test" as the full test suitetakes roughly two minutes to complete.------------------------------------------------------------------  RJBS/Cache-Cache-1.08.tar.gz  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OKRunning make for R/RJ/RJBS/Cache-Cache-1.08.tar.gzmake[1]: Entering directory '/root/.cpan/build/Cache-Cache-1.08-3'cp lib/Cache/SizeAwareSharedMemoryCache.pm blib/lib/Cache/SizeAwareSharedMemoryCache.pmcp lib/Cache/NullCache.pm blib/lib/Cache/NullCache.pmcp lib/Cache/MemoryCache.pm blib/lib/Cache/MemoryCache.pmcp lib/Cache/FileBackend.pm blib/lib/Cache/FileBackend.pmcp lib/Cache/SizeAwareFileCache.pm blib/lib/Cache/SizeAwareFileCache.pmcp lib/Cache/CacheSizer.pm blib/lib/Cache/CacheSizer.pmcp lib/Cache/CacheMetaData.pm blib/lib/Cache/CacheMetaData.pmcp lib/Cache/BaseCache.pm blib/lib/Cache/BaseCache.pmcp lib/Cache/CacheTester.pm blib/lib/Cache/CacheTester.pmcp lib/Cache/BaseCacheTester.pm blib/lib/Cache/BaseCacheTester.pmcp lib/Cache/Cache.pm blib/lib/Cache/Cache.pmcp lib/Cache/SharedMemoryBackend.pm blib/lib/Cache/SharedMemoryBackend.pmcp lib/Cache/FileCache.pm blib/lib/Cache/FileCache.pmcp lib/Cache/MemoryBackend.pm blib/lib/Cache/MemoryBackend.pmcp lib/Cache/CacheUtils.pm blib/lib/Cache/CacheUtils.pmcp lib/Cache/SizeAwareMemoryCache.pm blib/lib/Cache/SizeAwareMemoryCache.pmcp lib/Cache/SharedMemoryCache.pm blib/lib/Cache/SharedMemoryCache.pmcp lib/Cache/SizeAwareCacheTester.pm blib/lib/Cache/SizeAwareCacheTester.pmcp lib/Cache/SizeAwareCache.pm blib/lib/Cache/SizeAwareCache.pmcp lib/Cache/Object.pm blib/lib/Cache/Object.pmManifying 20 pod documentsmake[1]: Leaving directory '/root/.cpan/build/Cache-Cache-1.08-3'  RJBS/Cache-Cache-1.08.tar.gz  /usr/bin/make -- OKRunning make test for RJBS/Cache-Cache-1.08.tar.gzmake[1]: Entering directory '/root/.cpan/build/Cache-Cache-1.08-3'PERL_DL_NONLAZY=1 "/usr/bin/perl""-MExtUtils::Command::MM""-MTest::Harness""-e""undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/1_test_cache_interface.t t/2_test_memory_cache.t t/3_test_file_cache.t t/5_test_size_aware_file_cache.t t/6_test_size_aware_memory_cache.tt/1_test_cache_interface.t .......... okt/2_test_memory_cache.t ............. Failed 6/35 subtestst/3_test_file_cache.t ............... Failed 6/35 subtestst/5_test_size_aware_file_cache.t .... Failed 6/48 subtestst/6_test_size_aware_memory_cache.t .. Failed 6/48 subtestsTest Summary Report-------------------t/2_test_memory_cache.t           (Wstat: 0 Tests: 35 Failed: 6)  Failed tests:  10, 18, 24, 27, 29, 33t/3_test_file_cache.t             (Wstat: 0 Tests: 35 Failed: 6)  Failed tests:  10, 18, 24, 27, 29, 33t/5_test_size_aware_file_cache.t  (Wstat: 0 Tests: 48 Failed: 6)  Failed tests:  10, 18, 24, 27, 29, 33t/6_test_size_aware_memory_cache.t (Wstat: 0 Tests: 48 Failed: 6)  Failed tests:  10, 18, 24, 27, 29, 33Files=5, Tests=167,  0 wallclock secs ( 0.02 usr  0.02 sys +  0.12 cusr  0.39 csys =  0.55 CPU)Result: FAILFailed 4/5 test programs. 24/167 subtests failed.make[1]: *** [Makefile:900: test_dynamic] Error 255make[1]: Leaving directory '/root/.cpan/build/Cache-Cache-1.08-3'  RJBS/Cache-Cache-1.08.tar.gz  /usr/bin/make test -- NOT OK//hint// to see the cpan-testers results for installing this module, try:  reports RJBS/Cache-Cache-1.08.tar.gzWWW::Curl::Easy is up to date (4.17).Text::CSV is up to date (2.00).Log::Any is up to date (1.708).IO::Prompter is up to date (0.004015).Test::More is up to date (1.302175).Test::Exception is up to date (0.43).# TODO: Since Git 2.9 there is `git config core.hooksPath .git-hooks`chmod +x git-hooks/*ln -sf ../../git-hooks/pre-commit ./.git/hooks/pre-commitln -sf ../../git-hooks/pre-push   ./.git/hooks/pre-pushchmod +x *.plln -sf word-en-l.lst ./list-in/dict.lstmkdir -p "/var/db/good"touch "/var/log/good.log"chown --reference=recentrated.pl "/var/db/good""/var/log/good.log"

Advice would be appreciated.


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>