Some developers prefer a customized installation from source code. This section discusses the source code installation requirements and the installation process on Linux.
■ OpenSSL – The vSphere SDK for Perl requires SSL because most connections between the system on which you run the command and the target vSphere system are encrypted with SSL.The OpenSSL library (libssl-dev package) is not included in most default Linux distribution.
■ LibXML2 – Used for XML parsing. The libxml2 package is not included in the default Linux distribution.
■ e2fsprogs – A set of utilities for maintaining the ext2, ext3 and ext4 file systems. Required by the UUID Perl module.Some additional packages are required on Ubuntu. See Installing Prerequisite Software for Ubuntu Desktop 9.04.
■ Recommended Perl modules. Versions of these modules are installed on most Linux distributions. Even if you are using an earlier or later version, the vSphere SDK for Perl most likely performs properly.
■
Note You can obtain and install any missing modules using CPAN. See the cpan.org Web site. You can also use the CPAN module included with your Perl installation.The vSphere SDK for Perl source code package contains a single platform-independent compressed file, available from the SDK download page. For download instructions, see Download the vSphere SDK for Perl Binary.
2
4 Connect to the directory containing the extracted files and review the README file for information about licensing, additional requirements, and late-breaking information:
5 Run the Makefile.PL for the vSphere SDK for Perl:If a recommended module is already installed on your system, but the version is not the version with which the SDK for Perl is tested, a warning message like the following appears: