in reply to perl distribution for hp-ux

What do you mean by "searched CPAN and quickly got the module"? If you're going to the CPAN website, pulling down a tarball, and then trying to install it, you're not being optimally lazy, as you are painfully finding out. What you really ought to do is use the CPAN perl module. From the commnand line, try typing

perl -MCPAN -e 'install XML::DOM'

If you haven't done this before, it will prompt you for a bunch of configuration options, one of which is "follow dependencies". You should probably leave it as the default, namely "ask". Then every time you hit a module dependency failure you will be prompted as to whether you want to follow it. If you hit 'y', then it will download and install it, as well as follow its dependencies as well. This is worlds easier than repeatedly experiencing failures and trudging back to cpan.org to download more tarballs manually.

Replies are listed 'Best First'.
Re: Re: perl distribution for hp-ux
by bobn (Chaplain) on Jul 25, 2003 at 23:39 UTC

    If the CPAN module is already configured, you can set it to automatically get dependencies by issuing "o conf prerequisites_policy follow" - the default behavior described in the parent would be reset by saying "o conf prerequisites_policy ask". "ask" is better if teh packkage decides that a new version of perl is a preqequisite, (which happens (I think) if a module you are installing or one of it's prereqs is now part of core, implying that your installed version of perl is old.) "follow" is better in most cases with recent distributions (since the preceding case won't happen), since if you have many dependiencies which also have many dependincies, the CPAN modules just does it all automagically.

    Also, it's amusing to hear someone crticize Unix as being naked relative to Windows.

    --Bob Niederman, http://bob-n.com