lexi has asked for the wisdom of the Perl Monks concerning the following question:

I'm working on a Windows XP SP2 PC behind a corporate firewall that is linked via proxy to the Web. My Perl version is 5.10.0 (from ActiveState). Although I tried to set the environment variables http_proxy, http_proxy_user and http_proxy_pass ppm doesn't connect to the internet (error 404)- probably because I don't have a real IP. Thus I download and unzip the needed XML modules from CPAN, run "perl Makefile.PL" and then use nmake 1.5 - "nmake test". Whatever module I try to install I always get the same error message:

Bareword "XML::XPath::Step::test_nt_node" not allowed while "strict subs" in use at C:/Perl/site/lib/XML/XPath/Parser.pm line 423. Compilation failed in require at C:/Perl/site/lib/XML/XPath/Step.pm line 4. BEGIN failed--compilation aborted at C:/Perl/site/lib/XML/XPath/Step.pm line 4. Compilation failed in require at C:/Perl/site/lib/XML/Parser.pm line 19. BEGIN failed--compilation aborted at C:/Perl/site/lib/XML/Parser.pm line 19. Compilation failed in require at C:/Perl/site/lib/XML/XPath/XMLParser.pm line 7. BEGIN failed--compilation aborted at C:/Perl/site/lib/XML/XPath/XMLParser.pm lin e 7. Compilation failed in require at C:/Perl/site/lib/XML/XPath.pm line 13. BEGIN failed--compilation aborted at C:/Perl/site/lib/XML/XPath.pm line 13. Compilation failed in require at xpath line 15. BEGIN failed--compilation aborted at xpath line 15.

Could you tell me what to do? many thanks in advance Wolfgang
  • Comment on Compiling XML Perl modules for Win XP using nmake crashes

Replies are listed 'Best First'.
Re: Compiling XML Perl modules for Win XP using nmake crashes
by Anonymous Monk on Nov 20, 2008 at 15:52 UTC
      many thanks for the detailed information. Your docs are quite readable for a Perl newbie. I will peruse the doc in detail and would be glad to be able to come back to you if needed.

      Have a nice evening! Wolfgang