Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: JSON 2.5 2.90

by Khen1950fx (Canon)
on Mar 21, 2014 at 15:04 UTC ( #1079280=note: print w/replies, xml ) Need Help??


in reply to JSON 2.5 2.90

You could change the environmental variable. What happens when you try this?
PERL_JSON_BACKEND='JSON::XS,JSON::PP' cpan Net::Daemon

Replies are listed 'Best First'.
Re^2: JSON 2.5 2.90
by pno (Initiate) on Mar 24, 2014 at 07:54 UTC
    c:\Software\Perl5.18\bin\cpan Net::Daemon CPAN: Term::ANSIColor loaded ok (v4.02) CPAN: Storable loaded ok (v2.45) Reading 'C:\Software\Perl5.18\cpan\Metadata' Database was generated on Thu, 20 Mar 2014 10:41:02 GMT Reading 'C:\Software\Perl5.18\cpan\sources\authors\01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.063) ...................................................................... +......DONE CPAN: LWP::UserAgent loaded ok (v6.05) CPAN: Time::HiRes loaded ok (v1.9726) Fetching with LWP: http://ppm.activestate.com/CPAN/modules/02packages.details.txt.gz CPAN: YAML::XS loaded ok (v0.41) Reading 'C:\Software\Perl5.18\cpan\sources\modules\02packages.details. +txt.gz' Database was generated on Sun, 23 Mar 2014 11:06:14 GMT ...................................................................... +......DONE Fetching with LWP: http://ppm.activestate.com/CPAN/modules/03modlist.data.gz Reading 'C:\Software\Perl5.18\cpan\sources\modules\03modlist.data.gz' ...................................................................... +......DONE Writing C:\Software\Perl5.18\cpan\Metadata Running install for module 'Net::Daemon' Running make for M/MN/MNOONING/Net-Daemon-0.48.tar.gz CPAN: Digest::SHA loaded ok (v5.85) Checksum for C:\Software\Perl5.18\cpan\sources\authors\id\M\MN\MNOONIN +G\Net-Daemon-0.48.tar.gz ok CPAN: Archive::Tar loaded ok (v1.96) Net-Daemon-0.48/ Net-Daemon-0.48/ChangeLog Net-Daemon-0.48/lib/ Net-Daemon-0.48/lib/Net/ Net-Daemon-0.48/lib/Net/Daemon/ Net-Daemon-0.48/lib/Net/Daemon/Log.pm Net-Daemon-0.48/lib/Net/Daemon/Test.pm Net-Daemon-0.48/lib/Net/Daemon.pm Net-Daemon-0.48/Makefile.PL Net-Daemon-0.48/MANIFEST Net-Daemon-0.48/MANIFEST.SKIP Net-Daemon-0.48/META.yml Net-Daemon-0.48/README Net-Daemon-0.48/regexp-threads Net-Daemon-0.48/t/ Net-Daemon-0.48/t/base.t Net-Daemon-0.48/t/config.t Net-Daemon-0.48/t/fork.t Net-Daemon-0.48/t/forkm.t Net-Daemon-0.48/t/ithread.t Net-Daemon-0.48/t/ithreadm.t Net-Daemon-0.48/t/loop-child.t Net-Daemon-0.48/t/loop.t Net-Daemon-0.48/t/server Net-Daemon-0.48/t/single.t Net-Daemon-0.48/t/thread.t Net-Daemon-0.48/t/threadm.t Net-Daemon-0.48/t/unix.t CPAN: File::Temp loaded ok (v0.2304) CPAN: Parse::CPAN::Meta loaded ok (v1.4409) CPAN: CPAN::Meta loaded ok (v2.132830) CPAN: Module::CoreList loaded ok (v3.03) CPAN.pm: Building M/MN/MNOONING/Net-Daemon-0.48.tar.gz Checking if your kit is complete... Looks good Could not load PERL_YAML_BACKEND 'YAML' at C:/Software/Perl5.18/lib/CPAN/Meta.pm line 320. Warning: No success on command[C:\Software\Perl5.18\bin\perl.exe Makef +ile.PL INSTALLDIRS=site] MNOONING/Net-Daemon-0.48.tar.gz C:\Software\Perl5.18\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NO +T OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read metadata file. Falling back to other methods to determi +ne prerequisites
      Could not load PERL_YAML_BACKEND 'YAML'
      There are two ways around this, one is to simply unset that environment variable (PERL_YAML_BACKEND) and the other is to install YAML.

        This was the cause. I unset variables:
        PERL_YAML_BACKEND
        PERL_JSON_BACKEND
        And it worked. Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1079280]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2019-08-19 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (138 votes). Check out past polls.

    Notices?