5

I'm a sys admin administering three air gapped (zero internet access) supercomputers. On one of the supercomputers we need to run Bugzilla. I already built my own local yum repository, but now I need to get Bugzilla up and running, which requires a local CPAN. I built a local CPAN on my laptop following the instructions I found here:

http://www.stonehenge.com/merlyn/LinuxMag/col42.html

And rsync'd the CPAN over to the supercomputer's home directory. When I went back into the Bugzill dir to run the installation, the install-module.pl can't find a local CPAN directory. How do I configure my supercomputer's perl to automatically know where its local CPAN lives so I can finish my Bugzilla task?

MadHatter
  • 81,580
Lynn
  • 299

2 Answers2

2

I figured it out. And I hope this helps anyone traveling the same dark path that I've been on. Apparently, when the config process seemingly asks for 5 different paths for sources, authors, etc for the new local CPAN...what it really means it to give it ONE path. Just one. Five times.

Like so: /root/CPAN/

NOT:

/root/CPAN/ then /root/CPAN/sources/ then /root/CPAN/authors/

Nope, just the same root path to CPAN for all the paths the config process asks you for (this is for a fully rsync'd CPAN build).

Yay Perl.

Lynn
  • 299
0

Does setting up Bugzilla actually require a local CPAN?

Depending on what OS your supercomputers run, perhaps there are packages for a number of the Perl modules. And, for those for which there are not, or for where the package is too old, you can either:

  • create newer packages; or
  • manually install the modules in the $BUGZILLA_HOME/lib directory; or
  • CPAN-install them on another box running the same OS, and then just copy across the entire "lib" directory

Gerv (Bugzilla developer)