Hi,

I am trying to install SOAP:Lite on a linux machine which sits behind a firewall that will only allow me to make requests of it, but will not allow that machine to make requests out.

Therefore I cannot use the CPAN installer stuff, as it sends requests for files to the internet.

I thus downloaded the SOAP Lite tarball from: http://search.cpan.org/~mkutter/SOAP-Lite-0.710.08/ . After untarring it I tried to run perl Makefile.PL, and I got the following error:
WARNING: LICENSE is not a known parameter. Warning: Prerequisite XML::Parser 2.23 not found. Warning: Prerequisite version 0 not found. 'LICENSE' is not a known MakeMaker parameter name. Could not eval ' package ExtUtils::MakeMaker::_version; no strict; local $VERSION; $VERSION=undef; do{ use version; $VERSION = qv('0.710.08'); ); $VERSION ' in lib/SOAP/Lite.pm: Can't locate version.pm in @INC (...)


But it still created the makefile, so I thought I would attempt to press on. I ran the command make, and it seemed to work alright. Then I ran make test, and it failed 23 of the 37 test scripts. Once again the majority of the errors were of the form "Can't locate version.pm".

I suppose my question is; where is version.pm located, if it exists, so that I can add it to my INC path? If this is not the problem, then what do I do to fix it? And otherwise, are there any other alternative methods of installing perl modules from behind a firewall?

I also tried to install XML::Parser first in order to fix that pre-requisite problem, but the version of XML::Parser that I downloaded from here: http://search.cpan.org/~msergeant/XML-Parser-2.36/Parser.pm , also will not install. In this case the call to perl Makefile.PL works fine, but when I try to run make I get errors of the following sort: "Expat.c:2609: error: ‘XML_Parser’ undeclared (first use in this function)". Also, and perhaps more troubling is this one: "Expat.xs:12:19: error: expat.h: No such file or directory". Am I just downloading from the wrong places or something?

Any help on how to get my install to work would be appreciated.
Cheers,

Shug

In reply to Installing SOAP::Lite from behind a firewall by shug94

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.