in reply to Re^2: perl module XML::CanonicalizeXML won't install - issue with make / libxml
in thread perl module XML::CanonicalizeXML won't install - issue with make / libxml

I don't use SUSE, but a web search for 'zypper libxml2' shows that the package name you are looking for is libxml2-devel.

  • Comment on Re^3: perl module XML::CanonicalizeXML won't install - issue with make / libxml
  • Download Code

Replies are listed 'Best First'.
Re^4: perl module XML::CanonicalizeXML won't install - issue with make / libxml
by MattP (Novice) on Apr 03, 2017 at 17:20 UTC

    Thanks again! I'm not very 'sysadmin' I'm afraid..!

    Now trying to install XML::Sig:

    Running make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/l +ib', 'blib/arch')" t/*.t t/001_load.t ......... ok t/002_xmlsec.t ....... ok t/003_params.t ....... ok t/004_keyhandling.t .. ok t/005_rsakeys.t ...... ok t/006_signing.t ...... 1/13 RSA.xs:178: OpenSSL error: bad base64 deco +de at blib/lib/Crypt/OpenSSL/RSA.pm (autosplit into blib/lib/auto/Cry +pt/OpenSSL/RSA/new_public_key.al) line 91. # Looks like your test exited with 2 just after 6. t/006_signing.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 7/13 subtests

    When I check Crypt::OpenSSL::RSA I get "Crypt::OpenSSL::RSA is up to date (0.28)."

    Does anyone know anything about this?

    Thanks,
    Matt.

      This seems to be a known bug in XML::Sig. Maybe the patch attached to the RT ticket works for you?

      To apply the change manually, do the following:

      cpan look XML::Sig patch < /file/where/you/saved/the.patch perl Makefile.PL make make test make install

      If you don't have the patch program, manually edit lib/XML/Sig.pm instead.

        Aha - I didn't have the patch program but a manual change to the file and running your list of commands from perl Makefile.PL onwards has worked and it has installed correctly - thank you very much for finding that!

        Matt