Hi,

   I am using VYOS  and trying to configure CPAN. But looks make is
failiing.

vyos@vyos:~$ show version
Version:      VyOS 1.1.7
Description:  VyOS 1.1.7 (helium)
Copyright:    2016 VyOS maintainers and contributors
Built by:     maintain...@vyos.net
Built on:     Wed Feb 17 09:57:31 UTC 2016
Build ID:     1602170957-4459750
System type:  x86 64-bit
Boot via:     image
Hypervisor:   KVM
HW model:     Standard PC (i440FX + PIIX, 1996)
HW S/N:       Not Specified
HW UUID:      C22AD728-7493-494D-87C8-95424C686D80
Uptime:       06:02:32 up 16 min,  2 users,  load average: 0.00, 0.14, 0.16




​commit: wrote '/etc/perl/CPAN/Config.pm'
CPAN: Storable loaded ok (v2.20)
CPAN: LWP::UserAgent loaded ok (v5.835)
Warning: no success downloading
'/root/.cpan/sources/authors/01mailrc.txt.gz.tmp3169'. Giving up on it. at
/usr/share/perl/5.10/CPAN/Index.pm line 225
Fetching with LWP:
  http://www.perl.org/CPAN/authors/01mailrc.txt.gz
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.02)
............................................................................DONE
Fetching with LWP:
  http://www.perl.org/CPAN/modules/02packages.details.txt.gz
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Wed, 17 Aug 2016 02:53:38 GMT
.............
  New CPAN.pm version (v2.14) available.
  [Currently running version is v1.9402]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.


...............................................................DONE
Fetching with LWP:
  http://www.perl.org/CPAN/modules/03modlist.data.gz
Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Going to write /root/.cpan/Metadata
Running install for module 'JSON'
CPAN: Data::Dumper loaded ok (v2.124)
'YAML' not installed, falling back to Data::Dumper and Storable to read
prefs '/root/.cpan/prefs'
Running make for M/MA/MAKAMAKA/JSON-2.90.tar.gz
Fetching with LWP:
  http://www.perl.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-2.90.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Fetching with LWP:
  http://www.perl.org/CPAN/authors/id/M/MA/MAKAMAKA/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/M/MA/MAKAMAKA/JSON-2.90.tar.gz
ok
CPAN: Archive::Tar loaded ok (v1.52)
JSON-2.90/
JSON-2.90/META.yml
JSON-2.90/MANIFEST
JSON-2.90/t/
JSON-2.90/t/01_utf8.t
JSON-2.90/t/08_pc_base.t
JSON-2.90/t/e06_allow_barekey.t
JSON-2.90/t/e16_incr_parse_fixed.t
JSON-2.90/t/xe10_bignum.t
JSON-2.90/t/03_types.t
JSON-2.90/t/11_pc_expo.t
JSON-2.90/t/e05_esc_slash.t
JSON-2.90/t/09_pc_extra_number.t
JSON-2.90/t/20_unknown.t
JSON-2.90/t/xe19_xs_and_suportbypp.t
JSON-2.90/t/19_incr.t
JSON-2.90/t/16_tied.t
JSON-2.90/t/xe05_indent_length.t
JSON-2.90/t/21_evans_bugrep.t
JSON-2.90/t/17_relaxed.t
JSON-2.90/t/e10_bignum.t
JSON-2.90/t/xe03_bool2.t
JSON-2.90/t/x16_tied.t
JSON-2.90/t/e14_decode_prefix.t
JSON-2.90/t/99_binary.t
JSON-2.90/t/e12_upgrade.t
JSON-2.90/t/12_blessed.t
JSON-2.90/t/xe02_bool.t
JSON-2.90/t/02_error.t
JSON-2.90/t/e09_encode.t
JSON-2.90/t/00_pod.t
JSON-2.90/t/13_limit.t
JSON-2.90/t/x02_error.t
JSON-2.90/t/00_load.t
JSON-2.90/t/e00_func.t
JSON-2.90/t/22_comment_at_eof.t
JSON-2.90/t/e90_misc.t
JSON-2.90/t/06_pc_pretty.t
JSON-2.90/t/18_json_checker.t
JSON-2.90/t/e07_allow_singlequote.t
JSON-2.90/t/x00_load.t
JSON-2.90/t/e11_conv_blessed_univ.t
JSON-2.90/t/_unicode_handling.pm
JSON-2.90/t/x12_blessed.t
JSON-2.90/t/xe08_decode.t
JSON-2.90/t/xe11_conv_blessed_univ.t
JSON-2.90/t/xe04support_by_pp.t
JSON-2.90/t/xe01_property.t
JSON-2.90/t/e08_decode.t
JSON-2.90/t/x17_strange_overload.t
JSON-2.90/t/e02_bool.t
JSON-2.90/t/xe20_croak_message.t
JSON-2.90/t/14_latin1.t
JSON-2.90/t/xe12_boolean.t
JSON-2.90/t/07_pc_esc.t
JSON-2.90/t/e04_sortby.t
JSON-2.90/t/e01_property.t
JSON-2.90/t/e15_tie_ixhash.t
JSON-2.90/t/e03_bool2.t
JSON-2.90/t/xe21_is_pp.t
JSON-2.90/t/e13_overloaded_eq.t
JSON-2.90/t/15_prefix.t
JSON-2.90/t/10_pc_keysort.t
JSON-2.90/Changes
JSON-2.90/lib/
JSON-2.90/lib/JSON/
JSON-2.90/lib/JSON/backportPP/
JSON-2.90/lib/JSON/backportPP/Boolean.pm
JSON-2.90/lib/JSON/backportPP/Compat5006.pm
JSON-2.90/lib/JSON/backportPP/Compat5005.pm
JSON-2.90/lib/JSON/backportPP.pm
JSON-2.90/lib/JSON.pm
JSON-2.90/eg/
JSON-2.90/eg/bench_decode.pl
JSON-2.90/eg/bench_encode.pl
JSON-2.90/Makefile.PL
JSON-2.90/META.json
JSON-2.90/README
CPAN: File::Temp loaded ok (v0.22)

  CPAN.pm: Going to build M/MA/MAKAMAKA/JSON-2.90.tar.gz

Welcome to JSON (v.2.90)
=============================


 *************************** CAUTION **************************************
 *                                                                        *
 * INCOMPATIBLE CHANGE (JSON::XS version 2.90)                            *
 *                                                                        *
 * JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean internally *
 * on loading time for making these modules inherit JSON::Boolean.        *
 * But since JSON::XS v3.0 it use Types::Serialiser as boolean class.     *
 * Then now JSON.pm breaks boolean classe overload features and           *
 * -support_by_pp if JSON::XS v3.0 or later is installed.                 *
 *                                                                        *
 * JSON::true and JSON::false returned JSON::Boolean objects.             *
 * For workaround, they return JSON::PP::Boolean objects in this version. *
 *                                                                        *
 *     isa_ok(JSON::true, 'JSON::PP::Boolean');                           *
 *                                                                        *
 * And it discards a feature:                                             *
 *                                                                        *
 *     ok(JSON::true eq 'true');                                          *
 *                                                                        *
 * In other word, JSON::PP::Boolean overload numeric only.                *
 *                                                                        *
 *     ok( JSON::true == 1 );                                             *
 *                                                                        *
 **************************************************************************


 ************************** CAUTION **************************
 * This is 'JSON version 2' and there are many differences   *
 * to version 1.xx                                           *
 * Please check your applications useing old version.        *
 *   See to 'INCOMPATIBLE CHANGES TO OLD VERSION' and 'TIPS' *
 *************************************************************


Checking if your kit is complete...
Looks good
Writing Makefile for JSON
Could not read '/root/.cpan/build/JSON-2.90-Y3jnjV/META.yml'. Falling back
to other methods to determine prerequisites
  MAKAMAKA/JSON-2.90.tar.gz
  make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent
state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
​

-- 
Regards,
Vikash
_______________________________________________
Vyos-developers mailing list
Vyos-developers@lists.tuxis.nl
https://lists.tuxis.nl/listinfo/vyos-developers

Reply via email to