VMware {code} Community
aromeri
Contributor
Contributor

vix-perl installation problem

Hi,

I'm trying to install vix-perl module on a Windows server with cygwin as build environment.

I have unzipped the vix-perl tar in a directory and succesfully executed the 'perl Makefile.PL' command.

When I try to execute 'make' I have the following error message:

make: *** No rule to make target `libvixAllProducts.so', needed by `subdirs'. Stop.

I have not found any documentation about installing vix-perl on Windows server, can someone help me?

Thanks,

   Andrea

Reply
0 Kudos
3 Replies
lemke
VMware Employee
VMware Employee

The vix-perl.zip includes a README that describes how to build vix-perl on Windows with Visual Studio.  Cygwin as a build environment is not supported.

aromeri
Contributor
Contributor

Hi lemke,

thanks for your reply.

I have installed Visual Studio 2012 on my server and then I opened a developer command prompt from it.

According to the README file I execute the following command:

perl Makefile.PL

with the following output:

C:\vix-perl>perl Makefile.PL
Unable to find a perl 5 (by these names: C:\Program Files\VMware\VMware vSphere
CLI\Perl\bin\perl.exe perl.exe perl5.exe perl5.8.8.exe miniperl.exe, in these di
rs: . C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions
\Microsoft\TestWindow C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\
C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN C:\Program Files\Microsoft
Visual Studio 11.0\Common7\Tools C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\Windows\Microsoft.NET\Framework\v3.5 C:\Program Files\Microsoft Visual Studio
11.0\VC\VCPackages C:\Program Files\Windows Kits\8.0\bin\x86 C:\Program Files\M
icrosoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools C:\Program Files\VMware\VMware v
Sphere CLI\Perl\site\bin C:\Program Files\VMware\VMware vSphere CLI\Perl\bin C:\
Program Files\PC Connectivity Solution\ C:\Program Files\Serena\Dimensions 2009
R2\CM\prog C:\Program Files\Serena\Dimensions 2009 R2\CM\prog\Microsoft.VC80.MFC
C:\Program Files\Serena\Dimensions 2009 R2\CM\prog\Microsoft.VC80.CRT C:\Progra
m Files\Serena\Dimensions 2009 R2\CM\prog\Microsoft.VC80.ATL C:\Windows\system32
C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files\TortoiseSVN\bin C:\Program Files\SlikSvn\bin\ C:\Program Files
\Microsoft SQL Server\110\Tools\Binn\ C:\Program Files\VMware\VMware vSphere CLI
\Perl\bin)
Writing Makefile for VMware::VixBinding

C:\vix-perl>

Then I tried to execute nmake but I got this error:

C:\vix-perl>nmake

Microsoft (R) Program Maintenance Utility   versione 11.00.50727.1
Copyright (C) Microsoft Corporation. Tutti i diritti riservati.

NMAKE : fatal error U1073: impossibile creare 'C:\Program'
Stop.

C:\vix-perl>

Have you any idea what's wrong in this procedure?

Thanks,

Andrea

Reply
0 Kudos
lemke
VMware Employee
VMware Employee

Perl's MakeMaker package has issues with spaces in filenames, so when it generates the makefile those paths are broken.

Also, you may have issues using the latest 2012 Visual Studio.  Perl can be very picky about compliation options, so usiang a different compiler than the one used to build perl can cause problems (I'm not sure if this holds for Windows; I have seen it cause trouble on *ix.)