| 34 | |
| 35 | For newer versions of CentOS, we've had problems where the install script complains about missing Perl modules that are already installed : |
| 36 | {{{ |
| 37 | ! Installing the dependencies failed: Module 'Test::More' is not installed |
| 38 | ! Bailing out the installation for Scalar-List-Utils-1.45. |
| 39 | ! Installing the dependencies failed: Module 'Carp' is not installed |
| 40 | ! Bailing out the installation for Exporter-5.72. |
| 41 | ! Installing the dependencies failed: Module 'Exporter' is not installed, Module 'Test::More' is not installed |
| 42 | ! Bailing out the installation for Carp-1.38. |
| 43 | }}} |
| 44 | |
| 45 | Because we use the `-L` flag to cpanm, it tries to keep an isolated copy of the installed libraries ... but something about the configuration of CentOS with perl installed from yum has these modules **not** flagged as 'core' and thus exempt from the isolation. You'll need to install the modules that it complains about using `-l` and possibly `--force` if it claims it's already installed: |
| 46 | |
| 47 | {{{ |
| 48 | $ cpanm -l /opt/vso --force Test::More ExtUtils::MakeMaker Carp Exporter Scalar::List::Utils |
| 49 | }}} |
| 50 | |