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

Thanks Marto, thought it was something along these lines.

Next issue, SUSE, at least this version, doesn't have apt-get. I'm used to Ubunto with apt-get and CentOS with Yum but a bit lost on this OS. An internet search pointed me to use zypper instead of apt-get - "zypper install libxml2 libxml2-dev". This claims to have upgraded libxml2, but not libxml2-dev - "Package 'libxml2-dev' not found."

Have tested and XML::CanonicalizeXML is still giving the same error as before.

Any thoughts/ideas?

Thanks,

Matt.

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

Replies are listed 'Best First'.
Re^3: perl module XML::CanonicalizeXML won't install - issue with make / libxml
by marto (Cardinal) on Apr 03, 2017 at 15:10 UTC

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

      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.