in reply to Installing Perl XML modules on HP machines

It sounds like you're missing some dependencies.

The easiest thing to do is to use the CPAN module instead of manual installation. Try perl -MCPAN -e shell as root. If it's the first time you've run it, go through the configuration. Then type install XML::XPath, and say yes whenever it asks if it should fetch dependencies. This method is by far the easiest way to install CPAN modules.

  • Comment on Re: Installing Perl XML modules on HP machines

Replies are listed 'Best First'.
Re^2: Installing Perl XML modules on HP machines
by canhai (Initiate) on Jul 06, 2004 at 12:51 UTC
    Login in as root, I tried "perl -MCPAN -e shell" but failed. How to go through the configuration? Is there any online reference/instruction I can follow?

    The the errors I got were:

    hput4# perl -MCPAN -e shell
    Can't load '/usr/local/lib/perl5/5.00503/PA-RISC1.1/auto/IO/IO.sl' for module IO: Invalid argument at /usr/local/lib/perl5/5.00503/PA-RISC1.1/DynaLoader.pm line 169.
    at /usr/local/lib/perl5/5.00503/PA-RISC1.1/IO/Handle.pm line 248 BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.00503/PA-RISC1.1/IO/Seekable.pm line 50. BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.00503/PA-RISC1.1/IO/File.pm line 111. BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.00503/CPAN.pm line 27. BEGIN failed--compilation aborted.

    Thank you very much!

    Kevin