Skip to content

RPC::XML Failing #24

@StuartRoberts40

Description

@StuartRoberts40

Hi,
Been trying to install this tonight but following the instructions cpan RPC::XML i get this:

Reading '/root/.cpan/Metadata'
Database was generated on Sat, 16 Mar 2019 19:54:23 GMT
Running install for module 'RPC::XML'
Checksum for /root/.cpan/sources/authors/id/R/RJ/RJRAY/RPC-XML-0.80.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
Configuring R/RJ/RJRAY/RPC-XML-0.80.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for RPC::XML
Writing MYMETA.yml and MYMETA.json
RJRAY/RPC-XML-0.80.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for R/RJ/RJRAY/RPC-XML-0.80.tar.gz
"/usr/bin/perl" etc/make_method --base=lib/Apache/RPC/status
"/usr/bin/perl" etc/make_method --base=methods/identity
"/usr/bin/perl" etc/make_method --base=methods/introspection
"/usr/bin/perl" etc/make_method --base=methods/listMethods
"/usr/bin/perl" etc/make_method --base=methods/methodHelp
"/usr/bin/perl" etc/make_method --base=methods/methodSignature
"/usr/bin/perl" etc/make_method --base=methods/multicall
"/usr/bin/perl" etc/make_method --base=methods/status
cp lib/RPC/XML/Server.pm blib/lib/RPC/XML/Server.pm
cp lib/RPC/XML/Parser/XMLParser.pm blib/lib/RPC/XML/Parser/XMLParser.pm
cp lib/RPC/XML.pm blib/lib/RPC/XML.pm
cp methods/methodSignature.xpl blib/lib/RPC/XML/methodSignature.xpl
cp methods/identity.xpl blib/lib/RPC/XML/identity.xpl
cp lib/RPC/XML/Parser.pm blib/lib/RPC/XML/Parser.pm
cp lib/Apache/RPC/status.xpl blib/lib/Apache/RPC/status.xpl
cp methods/listMethods.xpl blib/lib/RPC/XML/listMethods.xpl
cp lib/RPC/XML/Client.pm blib/lib/RPC/XML/Client.pm
cp lib/RPC/XML/ParserFactory.pm blib/lib/RPC/XML/ParserFactory.pm
cp methods/status.xpl blib/lib/RPC/XML/status.xpl
cp methods/introspection.xpl blib/lib/RPC/XML/introspection.xpl
cp methods/multicall.xpl blib/lib/RPC/XML/multicall.xpl
cp lib/RPC/XML/Parser/XMLLibXML.pm blib/lib/RPC/XML/Parser/XMLLibXML.pm
cp lib/RPC/XML/Procedure.pm blib/lib/RPC/XML/Procedure.pm
cp lib/Apache/RPC/Status.pm blib/lib/Apache/RPC/Status.pm
cp methods/methodHelp.xpl blib/lib/RPC/XML/methodHelp.xpl
cp lib/Apache/RPC/Server.pm blib/lib/Apache/RPC/Server.pm
cp etc/make_method blib/script/make_method
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/make_method
Manifying 1 pod document
Manifying 10 pod documents
RJRAY/RPC-XML-0.80.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/.t
t/00_load.t ..................... ok
t/10_data.t ..................... ok
t/11_base64_fh.t ................ ok
t/12_nil.t ...................... ok
t/13_no_deep_recursion.t ........ ok
t/14_datetime_iso8601.t ......... ok
t/15_serialize.t ................ ok
t/20_xml_parser.t ............... ok
t/21_xml_libxml.t ............... ok
t/25_parser_negative.t .......... ok
t/29_parserfactory.t ............ ok
t/30_procedure.t ................ ok
t/35_namespaces.t ............... ok
t/40_server.t ................... 1/91

Failed test 'RPC::XML::Server::url method (set)'

at t/40_server.t line 188.

'http://[::1]:37723/'

doesn't match '(?^:http://(127[.]0[.]0[.]1|localhost|ip6-localhost|ip6-loopback|localhost[.]localdomain):37723)'

t/40_server.t ................... 41/91 Not an ARRAY reference at t/40_server.t line 333.

Looks like your test exited with 255 just after 43.

How do fix this please?
When I tried to run evilgrade I got this:

Can't locate RPC/XML.pm in @inc (you may need to install the RPC::XML module) (@inc contains: /root/Downloads/evilgrade /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 /etc/perl/isrcore/shellz.pm line 36.
Compilation failed in require at ./evilgrade line 24.
BEGIN failed--compilation aborted at ./evilgrade line 24.

Can you please help?

Thank you
Stuart

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions