Hi -
I am attempting to install the latest VMware Perl SDK (VMware-vSphere-Perl-SDK-5.0.0-422456.x86_64.gz) on a Debian GNU/Linux 'lenny' release.
Clearly the installer is broken.
So, my question is - is the installer deliberately broken (ie, no support for Debian) or is this a perl coding error that needs fixing?
Thanks,
Chris
As William points out, it won't be supported, but you can use the VMware Perl SDK easily enough on any Perl platform (I've done it this way with Window as well). I've done this specifically on Ubuntu and OS X over the years.
Install the module requirements as indicated in the "vSphere SDK for Perl Source Code Installation on Linux". In the source package, copy the VMware folder in vmware-vsphere-cli-distrib/lib/VMware/share from the Linux Perl SDK download tarball to your Perl path.
For the required modules, you can use PPM, CPAN or apt to get the packages.
I've run this way for years with no issues, but that is obviously not an official support statement
You should be able to just avoid setting a proxy during the installer. It's there in case it's required for downloading module dependencies.
If you take a look at the vSphere SDK for Perl 5.0 release notes - http://www.vmware.com/support/developer/viperltoolkit/viperl50/vsp50_vsperl_relnotes.html you will see that Debian is not officially a supported platform.
Hi -
I realise that, and I am not using Debian through choice, however there is references to Debian in the perl installer. Hence my question.
Cheers,
Chris
I suspect the installer might be a "generic" one that was used, can't really comment on the reason for referencing it. In any case, it is not a supported OS
Fair. Thankfully, Debian isn't my OS of choice, so this is a minor inconvenience (I've compiled it from source manually and it works). I'm going to try it on RHEL-5 now to see if the installer works correctly.
UPDATE: which it doesn't. Why does it ask for a proxy when there is no requirement for a proxy in my environment?
As William points out, it won't be supported, but you can use the VMware Perl SDK easily enough on any Perl platform (I've done it this way with Window as well). I've done this specifically on Ubuntu and OS X over the years.
Install the module requirements as indicated in the "vSphere SDK for Perl Source Code Installation on Linux". In the source package, copy the VMware folder in vmware-vsphere-cli-distrib/lib/VMware/share from the Linux Perl SDK download tarball to your Perl path.
For the required modules, you can use PPM, CPAN or apt to get the packages.
I've run this way for years with no issues, but that is obviously not an official support statement
You should be able to just avoid setting a proxy during the installer. It's there in case it's required for downloading module dependencies.
Hi all,
Thanks for your replies. The installation worked fine on RHEL. I have fixed the script for Debian using the below hack:
if ( direct_command("cat /etc/*-release | grep -i ubuntu") || direct_command("cat /proc/version | grep -i ubuntu") ) {
becomes:
if ( direct_command("cat /etc/*-release | grep -i ubuntu") || direct_command("cat /proc/version | grep -i debian") ) {
All the best,
Chris
WOW Great!
This works as well on Raspberry PI "Raspbian"
# check for e2fsprogs-devel installed
if ( direct_command("cat /etc/*-release | grep -i ubuntu") || direct_command("cat /proc/version | grep -i Linaro") ) {
instead of
# check for e2fsprogs-devel installed
if ( direct_command("cat /etc/*-release | grep -i ubuntu") || direct_command("cat /proc/version | grep -i ubuntu") ) {