Description
Almost all Linux distributions come with Perl, but not all have the Perl package XML-XPATH.
Use Case
-
You encounter an error during ElectricSentry that has the text "Can’t locate XML/XPATH.pm in @INC …."
-
You specify "use ElectricCommander" in a Perl script.
Recipe
-
Download the Perl package from the internet.
-
Use rpm -Uvh to add the package from a local or network disk.
Solution
There are two solutions:
Red Hat
-
up2date perl-XML-XPATH
-
rpm -Uvh /opt/perl-XML-XPath-1.13-2.2.el4.rf.noarch.rpm
cpan.org
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.