Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On machines where you do not have root access, you can install XML::LibXML locally to your home directory. The easiest method to install perl modules locally is to use cpanminus (cpanm).

Step-by-step guide

  1. Download and install cpanminus
    wget -O- http://cpanmin.us | perl - -l ~/perl5 App::cpanminus local::lib
  2. Set the environment variables needed to use the local modules
    eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`
  3. Ensure we will be able to use the environment variables the next time we log in

    echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.profile

    This assumes your profile is named .profile, you may need to change that to be .bash_profile, .bashrc, etc.

  4. Install a perl module by saying "cpanm Module::Name". In this case, it is:
    cpanm  XML::LibXML


I have seen this issue more than once. Here is a potentially useful instructions from NERSC site:

http://www.nersc.gov/users/computational-systems/genepool/software/perl-on-genepool/#toc-anchor-2


Info

Filter by label (Content by label)
showLabelsfalse
max5
spacesSE
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "SE"
labelskb-how-to-article

...