Bug#981550: Can't locate JSON/XS.pm in @INC (you may need to install the JSON::XS module)

Mathieu Malaterre malat at debian.org
Mon Feb 1 09:29:45 GMT 2021


Package: libxml-compile-perl
Version: 1.63-1
Tags: patch

It would be nice to add as Depends (or Recommends) the package: libjson-xs-perl

Otherwise one get:

% xml2json /tmp/input-group.xml /tmp/dcm2xml.dtd /tmp/bla.json
Can't locate JSON/XS.pm in @INC (you may need to install the JSON::XS
module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.28.1
/usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28
/usr/share/perl/5.28 /usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base) at /usr/bin/xml2json line 9.
BEGIN failed--compilation aborted at /usr/bin/xml2json line 9.

Thanks



More information about the pkg-perl-maintainers mailing list