SHARE
TWEET

Untitled

a guest Jun 18th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cpan[2]> install JSON::Parse
  2. CPAN: Storable loaded ok (v2.15)
  3. Going to read /root/.cpan/Metadata
  4.   Database was generated on Wed, 23 Nov 2016 14:41:02 GMT
  5. Running install for module 'JSON::Parse'
  6. Running make for B/BK/BKB/JSON-Parse-0.48.tar.gz
  7. CPAN: Digest::SHA loaded ok (v5.86)
  8. CPAN: Compress::Zlib loaded ok (v2.068)
  9. Checksum for /root/.cpan/sources/authors/id/B/BK/BKB/JSON-Parse-0.48.tar.gz ok
  10. Scanning cache /root/.cpan/build for sizes
  11. ............................................................................DONE
  12. JSON-Parse-0.48/
  13. JSON-Parse-0.48/unicode.c
  14. JSON-Parse-0.48/examples/
  15. JSON-Parse-0.48/t/
  16. JSON-Parse-0.48/errors.c
  17. JSON-Parse-0.48/lib/
  18. JSON-Parse-0.48/utf8-byte-one.c
  19. JSON-Parse-0.48/json-entry-points.c
  20. JSON-Parse-0.48/json-common.c
  21. JSON-Parse-0.48/json-perl.c
  22. JSON-Parse-0.48/MANIFEST
  23. JSON-Parse-0.48/MANIFEST.SKIP
  24. JSON-Parse-0.48/typemap
  25. JSON-Parse-0.48/utf8-next-byte.c
  26. JSON-Parse-0.48/script/
  27. JSON-Parse-0.48/unicode.h
  28. JSON-Parse-0.48/json-whitespace.c
  29. JSON-Parse-0.48/Json3.xs
  30. JSON-Parse-0.48/Makefile.PL
  31. JSON-Parse-0.48/README
  32. JSON-Parse-0.48/Changes
  33. JSON-Parse-0.48/META.yml
  34. JSON-Parse-0.48/META.json
  35. JSON-Parse-0.48/script/validjson
  36. JSON-Parse-0.48/lib/JSON/
  37. JSON-Parse-0.48/lib/JSON/Tokenize.pod
  38. JSON-Parse-0.48/lib/JSON/Parse.pm
  39. JSON-Parse-0.48/lib/JSON/Tokenize.pm
  40. JSON-Parse-0.48/lib/JSON/Parse.pod
  41. JSON-Parse-0.48/t/collision.t
  42. JSON-Parse-0.48/t/whitespace.t
  43. JSON-Parse-0.48/t/test.json
  44. JSON-Parse-0.48/t/syntax.t
  45. JSON-Parse-0.48/t/valid-json.t
  46. JSON-Parse-0.48/t/numbers.t
  47. JSON-Parse-0.48/t/unicode.t
  48. JSON-Parse-0.48/t/perl-monks-1165399.t
  49. JSON-Parse-0.48/t/array.t
  50. JSON-Parse-0.48/t/syntax-error-1.json
  51. JSON-Parse-0.48/t/kolmorogov42-1.t
  52. JSON-Parse-0.48/t/object.t
  53. JSON-Parse-0.48/t/utf8.t
  54. JSON-Parse-0.48/t/Json3.t
  55. JSON-Parse-0.48/t/test-empty-string.t
  56. JSON-Parse-0.48/t/read-file.t
  57. JSON-Parse-0.48/t/rfc7159.t
  58. JSON-Parse-0.48/t/JSON-Parse.t
  59. JSON-Parse-0.48/examples/assert.pl
  60. JSON-Parse-0.48/examples/sasori.pl
  61. JSON-Parse-0.48/examples/tokenize-synopsis.pl
  62. JSON-Parse-0.48/examples/bad-utf8.pl
  63. JSON-Parse-0.48/examples/kani.pl
  64. JSON-Parse-0.48/examples/true-subs.pl
  65. JSON-Parse-0.48/examples/long-number.pl
  66. JSON-Parse-0.48/examples/synopsis.pl
  67. JSON-Parse-0.48/examples/collide.pl
  68. JSON-Parse-0.48/examples/array.pl
  69. JSON-Parse-0.48/examples/key-collision.pl
  70. JSON-Parse-0.48/examples/first-bit.pl
  71. JSON-Parse-0.48/examples/json-tiny-round-trip-demo.pl
  72. JSON-Parse-0.48/examples/chr.pl
  73. JSON-Parse-0.48/examples/bad-utf8.txt
  74. JSON-Parse-0.48/examples/ebi.pl
  75. JSON-Parse-0.48/examples/hash.pl
  76. CPAN: File::Temp loaded ok (v0.2304)
  77. CPAN: YAML loaded ok (v0.88)
  78.  
  79.   CPAN.pm: Going to build B/BK/BKB/JSON-Parse-0.48.tar.gz
  80.  
  81. Checking if your kit is complete...
  82. Looks good
  83. Warning: Perl version 5.008009 or higher required. We run 5.008008.
  84. JSON::PP 2.27103 is not available
  85.  at /usr/local/share/perl/5.8.8/CPAN/Meta/Converter.pm line 57.
  86.  at /usr/local/share/perl/5.8.8/ExtUtils/MM_Any.pm line 831.
  87. Generating a Unix-style Makefile
  88. Writing Makefile for JSON::Parse
  89. Writing MYMETA.yml and MYMETA.json
  90. cp lib/JSON/Parse.pod blib/lib/JSON/Parse.pod
  91. cp lib/JSON/Tokenize.pm blib/lib/JSON/Tokenize.pm
  92. cp lib/JSON/Tokenize.pod blib/lib/JSON/Tokenize.pod
  93. cp lib/JSON/Parse.pm blib/lib/JSON/Parse.pm
  94. Running Mkbootstrap for JSON::Parse ()
  95. chmod 644 Parse.bs
  96. /usr/bin/perl /usr/local/share/perl/5.8.8/ExtUtils/xsubpp  -typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap  Json3.xs
  97. > Json3.xsc && mv Json3.xsc Json3.c
  98. cc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
  99. -D_FILE_OFFSET_BITS=64 -O2   -DVERSION="0.48" -DXS_VERSION="0.48" -fPIC "-I/usr/lib/perl/5.8/CORE"   Json3.c
  100. rm -f blib/arch/auto/JSON/Parse/Parse.so
  101. cc  -shared -L/usr/local/lib Json3.o  -o blib/arch/auto/JSON/Parse/Parse.so    
  102.                
  103.  
  104. chmod 755 blib/arch/auto/JSON/Parse/Parse.so
  105. /usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- Parse.bs blib/arch/auto/JSON/Parse/Parse.bs 644
  106. cp script/validjson blib/script/validjson
  107. /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/validjson
  108. Manifying blib/man3/JSON::Parse.3pm
  109. Manifying blib/man3/JSON::Tokenize.3pm
  110.   BKB/JSON-Parse-0.48.tar.gz
  111.   /usr/bin/make -- OK
  112. Running make test
  113. Running Mkbootstrap for JSON::Parse ()
  114. chmod 644 Parse.bs
  115. PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'b
  116. lib/lib', 'blib/arch')" t/*.t
  117. t/array.t ............... ok
  118. t/collision.t ........... ok
  119. t/JSON-Parse.t .......... ok
  120. t/Json3.t ............... ok
  121. t/kolmorogov42-1.t ...... ok
  122. t/numbers.t ............. 1/? Attempt to free unreferenced scalar: SV 0x814ebe0, Perl interpreter: 0x814e008 during global destructi
  123. on.
  124. t/numbers.t ............. ok
  125. t/object.t .............. ok
  126. t/perl-monks-1165399.t .. 1/? Use of uninitialized value in undef operator at t/perl-monks-1165399.t line 38.
  127. t/perl-monks-1165399.t .. ok
  128. t/read-file.t ........... ok
  129. t/rfc7159.t ............. ok
  130. t/syntax.t .............. ok
  131. t/test-empty-string.t ... ok
  132. t/unicode.t ............. ok
  133. t/utf8.t ................ ok
  134. t/valid-json.t .......... All 5 subtests passed
  135. t/whitespace.t .......... ok
  136.  
  137. Test Summary Report
  138. -------------------
  139. t/valid-json.t        (Wstat: 11 Tests: 5 Failed: 0)
  140.   Non-zero wait status: 11
  141.   Parse errors: No plan found in TAP output
  142. Files=16, Tests=277,  0 wallclock secs ( 0.05 usr  0.01 sys +  0.25 cusr  0.04 csys =  0.35 CPU)
  143. Result: FAIL
  144. Failed 1/16 test programs. 0/277 subtests failed.
  145. make: *** [test_dynamic] Error 255
  146.   BKB/JSON-Parse-0.48.tar.gz
  147.   /usr/bin/make test -- NOT OK
  148. //hint// to see the cpan-testers results for installing this module, try:
  149.   reports BKB/JSON-Parse-0.48.tar.gz
  150. Running make install
  151.   make test had returned bad status, won't install without force
  152. Failed during this command:
  153.  BKB/JSON-Parse-0.48.tar.gz                   : make_test NO
  154.      
  155. # cpan -v
  156. /usr/bin/cpan script version 1.9, CPAN.pm version 1.9205
  157.      
  158. #!/usr/bin/perl
  159. use strict;
  160. use warnings;
  161.  
  162. use JSON;
  163.  
  164. my $jsonString = "{"foo":"bar"}";
  165. my $hash = decode_json($jsonString);
  166. print ${$hash}{"foo"} . "n";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top