vSphere SDK for Perl on 64 bit Ubuntu 10.04.4 fails

I am following the instructions shown here: http://pubs.VMware.com/vSphere-50/index.jsp?topic=/com.VMware.perlsdk.install.doc_50/cli_install.3.5.html

Failure, but it does not install installation process seems no more successful.  The scripts are not installed in/usr/bin/usr/lib/usr/share as described in the above document.  This looks like such a simple process, what I am doing wrong?

root@ubuntuserver:~# cat/etc/issue
10.04.4 Ubuntu LTS \n \l

root@ubuntuserver:~# sudo apt - get update
Hit http://security.Ubuntu.com Lucid-Security Release.gpg

... SNIP...

Hit http://us.archive.Ubuntu.com Lucid-updates / multiverse Sources
Reading package lists... Fact
root@ubuntuserver:~# sudo apt - get install ia32-libs build-essential gcc uuid uuid-dev perl libssl-dev perl-doc liburi-perl libxml-libxml-perl libcrypt-ssleay-perl
Reading package lists... Fact
Building dependency tree
Reading state information... Fact
ia32-libs is already the latest version.
build-essential is already the latest version.
CCG is already the latest version.
GCC, set manually installed.
UUID is already the latest version.
UUID-dev is already the latest version.
Perl is already the latest version.
libssl-dev is already the latest version.
Perl-doc is already the latest version.
liburi-perl is already the latest version.
libxml-libxml-perl is already the latest version.
libcrypt-ssleay-perl is already the latest version.
The following packages were automatically installed and are no longer needed:
Linux-headers - 2.6.32 - 33-Server linux-headers - 2.6.32 - 28-server linux-headers - 2.6.32 - 33 linux-headers - 2.6.32 - 28
Use 'apt - get autoremove' to remove them.
0 updated, 0 newly installed, 0 to remove and 5 not upgraded.
root@ubuntuserver:~# tar zxf VMware-vSphere-Perl-SDK-5.0.0-615831.x86_64.tar.gz

root@ubuntuserver:~#./VMware-vsphere-CLI-distrib/VMware-install.pl

... EULA SNIP...

REV10.24.08


Do you accept? (yes/no) Yes

Thank you.

not set HTTP_PROXY. Export for example of defined "http_proxy" environment variable
http_proxy = http://MyProxy.mydomain.com:0000 .

ftp_proxy not defined. Export for example of 'ftp_proxy set environment variable.
ftp_proxy = http://MyProxy.mydomain.com:0000 .

root@ubuntuserver:~# find /-name viversion.pl
/Home/analyst/VMware-vSphere-CLI-distrib/apps/General/viversion.pl

Of course, if I try to run it and scripts in the/home/analyst/vmware-vsphere-cli-distrib / it doesn't work.

@nuttervm,

Yes, I had actually just an installation of the vCLI (which basically includes the vSphere SDK for Perl as use utilities CLI SDK, the instructions are the same) on the server Ubuntu 10.04 64 bit platform. Before delving more deeply, your system has direct access to the internet? One of the installation requirements the vCLI/vSphere SDK for Perl is that it requires the use of the proxy server to help with the dependence of the CPAN package and I can certainly understand the frustration with the new requirements of the installer because it forces the use of indirect variables both http & ftp if you have direct internet access. However, I can assure you that it installs but may require tweaks to installer.

According to your answer, we can take two approaches:

(1) meet manually CPAN packages as shown here - http://pubs.vmware.com/vsphere-50/index.jsp?topic=/com.vmware.perlsdk.install.doc_50/viperl_install_sourcecode.4.2.html

(2) If you have direct access to the internet, we can bypass the proxy check commenting on a few lines so that the installation program proceeds, but don't do that if you filled full the pre-reqs in accordance with the documentation - http://pubs.vmware.com/vsphere-50/index.jsp?topic=/com.vmware.vcli.getstart.doc_50/cli_install.4.5.html&path=1_0_1_3_1

Now, we just need to uncomment some lines in the vmware - install.pl not out by the installation. In my example, I used the last vCLI/vSphere SDK for Perl 5.0u1 (this should be the same relese prior to 5.0 as 5.0u1 does not update the installer for RHEL and should not be any other changes). 5551 5554 and here is an excerpt of the comment lines are lines

#if 5551 (!) ($ftpproxy && $httpproxy)) {}
5552 # uninstall_file ($gInstallerMainDB);
5553 # exit 1;
{5554 #}

Assuming that you've been through pre-reqs from #1 or #2, you should now be able to proceed with the installation. If you have direct access to the internet, you should see the installer out t CPAN to demolish packages, if you have not, then he should confirm that you meet the requirements of #1.

Here is the version of Ubuntu that I used:

William@Ubuntu-Server: ~ $ lsb_release - a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu LTS 10.04.4
News Release: 10.04
Codename: lucid

Tags: VMware

Similar Questions

  • vSphere SDK for Perl source package - linux

    I'm looking to install vSphere SDK for Perl from source on my linux 64-bit system. The download, I work with is at http://downloads.vmware.com/d/details/vcli_perl4_64_os_s/ZHcqYmR0KnBidGR3. Is this correct? This package contains is .so and .pm, and I'm not sure what to do with them. The docs for vSphere SDK for Perl installation insinuate that there should be a Makefile.PL or somesuch. What I am doing wrong?

    That link you provided is just the OSS components mobilized by the VI Perl SDK and the vCLI.  It is not a complete installation or the other.

    You'll want to use the download link on the home page of this forum for Linux Perl SDK Setup.

    Keep in mind, when you say install source, the VMware Perl SDK is just not compiled perl modules.  The rest of the Perl SDK package's dependencies (LibXML, Crypt::SSLeay, Class::MethodMaker, etc.).

    You will find the Makefile.PL and some scripts installer in the bits of the package.

  • The vSphere SDK for Perl utilities evacuate.pl

    Anyone using this and if yes have you experienced problems with it?

    Dave

    VMware communities user moderator

    Now available - vSphere Quick Start Guide

    You have a system or a PCI with VMDirectPath?  Submit your specifications to Officieux VMDirectPath HCL.

    I used it a bit in the past, but I remembered, there were a few posts on some questions about it, but I don't remember the hand what they were.

    You run in any specific questions?

    I think you meant as hostevacuate.pl and not "evacuate.pl"?

    =========================================================================

    William Lam

    VMware vExpert 2009

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Problem with vSphere™ SDK for Perl instead of VI Perl Toolkit 1.6

    We are running VI Perl Toolkit 1.6 on SLES 10 SP1 64-bit.  When I run a test query using 1.6 I get the expected result.  When I uninstall 1.6 and install vSphere SDK for Perl and run the same query, I get this response:

    Can't load ' / usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/XML/LibXML/Common/Common.so' for module XML::LibXML:Common: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/XML/LibXML/Common/Common.so: evil class ELF: ELFCLASS32 at line 230 of usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm.

    /usr/lib/Perl5/5.8.8/x86_64-Linux-thread-multi/XML/libxml.pm line 12

    Compilation failed in require /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/XML/LibXML.pm line 12.

    BEGIN failed--compilation abandoned /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/XML/LibXML.pm line 12.

    Compilation failed demand to line 11 of usr/lib/perl5/5.8.8/VMware/VICommon.pm.

    BEGIN failed--compilation interrupted on line 11 of usr/lib/perl5/5.8.8/VMware/VICommon.pm.

    Compilation failed in require on line 15 of the usr/lib/perl5/5.8.8/VMware/VIRuntime.pm.

    Compilation failed demand to line 11 of usr/lib/vmware-vcli/apps/performance/viperformance.pl.

    BEGIN failed--compilation interrupted on line 11 of usr/lib/vmware-vcli/apps/performance/viperformance.pl.

    I have installed a perl prerequisite modules and RPM.  Any ideas?

    Looks like it is a shared library for 32 bit, not 64 (despite the name).

    I would try reinstalling LibXML with CPAN.

  • RHEL 7 will never be a platform support for vSphere SDK for Perl 5.5?

    RHEL 7 will never be a platform support for vSphere SDK for Perl 5.5?

    https://www.VMware.com/support/developer/viperltoolkit/viperl55/vsp55_vsperl_relnotes.html#supported


    Thank you

    We have recently updated the Perl SDK to 6.0 U2 which now supports RHEL 7.1, as seen in the vSphere SDK for Perl Release Notes

  • How to add in DVS ESX hosts with vsphere SDK for perl?

    Hello

    I am a newbie to vsphere SDK for perl. Just started using it for automation of one month back. , I was looking for options to automate the addition of ESXi servers and their physical cards in the distributed virtual switch. I got some details on how to add using powerCLI. However, my requirements are in the use of vsphere SDK for perl. Any help would be appreciated.

    Have we not like subroutines or plug editable in vsphere SDK for perl inorder to add host ESX in DVS. ?
    Thank you and best regards,
    Lebou

    You can certainly do it in Perl.  I don't have a working example, but perhaps that William will be when he catches this thread

    If I have time tomorrow, I'll try to put something together to help you get started, but you can also simply map the logic of LucD script.

    Basically Get - view is equivalent to Vim: get_view() and New-Object calls should be mapped to the type of object in Perl, for example, instead of VMware.Vim.DVSConfigSpec New-Object, we $spec = DVSConfigSpec-> (again).

  • vSphere SDK for Perl source code available?

    Hi all

    I'm looking for "vSphere SDK for Perl source package" which should contain the source code for the vSphere SDK for Perl as indicated in the documentation.

    Could if it you please let me know where I can find it?

    Thanks in advance for your answers.

    Best regards

    Christophe

    vSphere SDK for Perl bindings are located inside the installer, just download it from here http://www.vmware.com/support/developer/viperltoolkit/ and extract the contents and you will see. MP files that are client-side stubs.

    Is there a specific use case that you try to resolve request to get the source code? Here is one several links that VMware offers that is automatically generated from the vSphere API WSDL audience

  • Compatibility: VIPerl 1.6 & vSphere SDK for Perl v4: traps/questions?

    Hello

    Are there problems with ALWAYS using VIPerl v1.6 with ESX/ESXi v4?  So far, it seems that the API has not really changed, but I wanted to know if there were any issues/pitfalls with this approach.

    Apart from the introduction of the 'store of credentials', it does not seem useful to upgrade to the new API, unless he had fixed important bug / issues resolved... After reviewing the Release Notes, I don't see really any noticeable change.

    Finally, VMware has never encrypt the contents of the password in the "identification information store?  Which means that, when a perl script runs, the SDK prompts the user to "unlock" the store of credentials, which allows the script to login to the end of the script?  This is similar to how Apache2 access protected private keys associated with SSL certificates.

    Thank you

    -Darien

    VIPT 1.6 is designed to be compatible with version 4.0 of the API. There may be problems due to changes with the API itself, but for the most part, just VIPT uses the API as it exists.

  • What is the difference between "vShpere SDK ro Perl"and "vSphere Web Services SDK (for Java or c#)"?

    Hello world! I'm new to "VMware vSphere API", and I have a question to ask you to help:

    What is the difference between "vShpere SDK ro Perl"and "vSphere Web Services SDK (for Java or c#)"?

    -What are the different programming language? Is there another difference?

    I'm looking forward to your reply.

    Thank you!

    If you are new on the VMware API/SDK, highly recommend you take a look at the following: Getting Started with vSphere SDK - Update for SDK 4.1 release

    vSphere SDK for Perl is just one of the many client SDK for vSphere API that is flush with vcenter times and ESX (i) as a standard Web service.

    vSphere SDK for Java - SDK Java to vSphere API for Java developers

    vSphere SDK for Perl - Perl SDK for vSphere API for Perl developers

    vSphere SDK for c# - c# SDK for vSphere API for c# developers

    PowerCLI - PowerShell SDK for vSphere API for developers of Powershell

    I hope that makes a bit more sense

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware VCP3, 4

    VMware VCAP4-DCA

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • vSphere sdk api to get the total memory available for booking of virtual machine

    What vsphere sdk api should I use to get the total memory available to make reservations for virtual machines?

    Here's what I see in the VI client,

    Click on hos-> Configuration:

    Memory

    Physics

    Total xx

    System xx

    VMS 3512,0 MB

    Service xx console

    Now, when I click on the resource allocation tab I see

    3348 MB memory reservation

    Memorey reservation used: 0 MB

    Unreserved memory: 3348 MB

    The question is what value is correct and which are programming API to get all these values (even if it is wrong)?

    If you are familiar with the vSphere API, the easiest way is to browse through the documentation of API reference: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/index.html and/or using the CROWD (object browser), once you explore a bit, you will begin to understand where some properties of what you see on the vSphere Client

    For the configuration of host memory, take a look at: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.host.MemoryManagerSystem.ServiceConsoleReservationInfo.html

    To the memory of VM host accessible to the general public, take a look at: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.ResourceAllocationInfo.html

    To get information "Resource allocation", you must get a reference to the list of local resources for your host: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.ResourcePool.ResourceUsage.html#reservationUsedForVm

    Even if you do not have a "Resource Pool", there is a defect which still exists. This should get your started

    If you use the VI of Java, you can take a look at the VI Java Browser: http://www.doublecloud.org/2010/02/22/vijava-browser-a-great-tool-to-recommend/

    You must also follow Steve Jin blog (author/creator of connections of vSphere Java open source VI)

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Support for Perl SDK for ESXi vmclone.pl without vCenter

    I try to use version 5.5 of SDK Perl vmclone.pl.  I have an ESXi with VM Server I want to clone remote.  However, when I try to invoke the perl scipt, I get an error "Operation is not supported by the current agent.

    I was led to believe that the Perl SDK works on ESXi without vCenter Server.  Is this correct?  My mistake for another reason?

    vSphere SDK for Perl can run on ESXi and vCenter, this is just an interface with the API. However, in the case of cloning that is a feature, it is only exposed when vCenter Server is in the picture. You cannot issue a clone operation directly on an ESXi host and this is why the fault was lifted.

  • Perl SDK for VM API storage policy

    I understand that it has Java SDK API of VM storage, but we mainly use Perl SDK for vSphere for monitoring before any decision on the integration of strategies of VM storage and virtual infrastructure together in what I would like to ask if there is a plan to release Perl for Vm Storage Policy API SDK? Anoyone know what Perl SDK plan in this area is?

    Thanks in advance for any thoughts,

    DRB

    Well, anyone interested, so made myself... Thanks anyway!

    DRB

  • BlackBerry SDK for Windows 64-bit

    Good day everyone,

    Please any action kindly with a link to Blackberry SDK for Windows 64-bit. I tried a lot of things, but received no satisfactory answer. Please share with me the URL link.

    Thanks in advance.

    As far as I KNOW 64 but Java is not supported.  You will need to download the 32-bit version of Java.  If you really need the 64-bit for the treatment of the other then I think you can configure Eclipse to use a 32-bit version installed separately, but I suspect that will be easier remove the java 64-bit and 32-bit just run.

  • Problems installing vSphere SDK

    Hello, I have a really hard time getting the SDK VMSphere to work under Windows and I have no installation using the supplied VMware-VIPERL - 4.0.0 - 161974.exe error from the VMWARE page, but when I try to run any script I have a popup that refers to an XML. Messages error DLL-file and returns as below:

    BEGIN failed--compilation abandoned to C:/Program Files/VMware/VMware vSphere CLI.

    Perl/site/lib/XML/LibXML.pm line 116.

    Looks like it missing something and I tried this on multiple Windows computers and I also had a go at installing source code on page 18 (http://www.vmware.com/support/developer/viperltoolkit/viperl40/doc/vsperl_40_install.pdf), for starters, I can't locate Perl modules required for of ActivePerl Perl Package Manager and also I found mentioned vSphere SDK package source Perl to the download page , but only on the integrated Setup.

    Clearly I am doing something wrong here, but I don't know which is quite frustrating, so any help is appreciated!

    It seems that your version of LibXML is not synchronized with your Perl installation.

    Have you installed other perl distributions?  Did you install all other LibXML modules?  Sounds like its not picking up LibXML module that you want to use.

    I would uninstall all perl installations.  Make sure that C:\Perl is thus removed.  And then redo the installation as I wrote it upward.

    In my installation (on Windows Server 2003), I use ActivePerl v5.10.0 and XML-LibXML 1.66 (from PPM).

    Also, is this 64 bit?  And it's x 86 I guess?

  • psxrun error when installing utilities and SDK for UNIX Applications

    Platform: Windows 2008 R2 (VM) 64-bit

    I've added the feature "Subsystem for UNIX - based Applications" and then in the installation process "utilities and SDK for UNIX - based Applications Setup Wizard." However, I'm getting Psxrun error with the message "Unable to connect to Subsystem for UNIX - based Applications."

    I checked the event log and noticed that the event ID is 2008, so I googled and found the following link:

    http://TechNet.Microsoft.com/en-us/library/dd348833 (v = ws.10) .aspx

    But the solution is application using the POSIX after installation, not during the installation. If someone had the same problem and knows the solution to this, please help.

    Hello

    Welcome to the Microsoft community.

    The question you posted would be better suited in the TechNet Forums. I suggest you to ask your question in the TechNet Forums for assistance.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    I hope it helps. If you have any questions about Windows in the future, please let us know. We will be happy to help you.

    Thank you

    Kulu Sharma.

Maybe you are looking for

  • iCloud library is not available if the system library is located on a network file server

    I moved my library on an external hard drive, that drive is directly connected to my router via the USB port. I can make pictures to my library of photos and pictures of charge very well. I've set the library to serve the library system: But, by sele

  • Every time I have copy the files from the DVD drive or pen, why a file called Thumbs.db is added to each folder. Is this a virus

    Whenever I have copy files from a DVD or a pen drive of a computer to my laptop runs on Windows Vista, I find that a file called Thumbs.db is added to each folder. Why this happens. This means that the DVD or pen drive is infected. If I delete this f

  • HTTP 400 response code

    Hello I'm trying to set up an HTTP connection with a Web site to retrieve some info and update my SQLite database. I use the MDS in my Simulator and I get a HTTP 400 response code when I try to access the web page. Just to test, I tried to set up a c

  • How to change user to administrator to regular users

    By mistake, I configured my windows account as the administrator of the PC 8. How do I create a new user account with the same e-mail address as the account admin windows? I try to create the 2nd account. But I have to enter an address of windows Mes

  • FDF segments appears not

    HelloI added a couple of segments for the attributes of the job and she has successfully deployed. However when I return to the manage work I don't see the two segments that I created. I'm assuming after the deployment of de FACTO segments should be