VMware {code} Community
nudicles
Contributor
Contributor

vix-perl installation

Hi All,

I wanted to take a quick poll as far as what kind of configuration people are installing vix-perl onto? I've tried many make programs, compilers, and ActivePerl versions, and I have not been able to successfully install vix-perl. Mostly there have been (apparently) problems with the makefile creation (errors when trying to make), or problems running perl after an apparent "successful" install.

I've tried make, nmake, cygwin, visual c++ express, ActivePerl 5.8.0 (as well as later versions).... What combination of these tools or others have worked for you guys? Any input welcome! I'd love to just start developing already! Smiley Happy

Ideally I'm looking for a windows configuration, but again, any input is welcome. Please list your OS, perl version (if you compiled from source or what installer you used), compilers and make programs, and any relevant process information.

Thanks,

Nudi Smiley Happy

Message was edited by:

nudicles

Reply
0 Kudos
10 Replies
lemke
VMware Employee
VMware Employee

I've used ActivePerl 5.6 and 5.8.x. nmake from a Visual Studio 2003 cmd prompt (so all the env vars are set) to build the binding layer.

nudicles
Contributor
Contributor

Is there a way to get the VS2003 cmd prompt without purchasing VS2003?

Reply
0 Kudos
nudicles
Contributor
Contributor

I was able to locate a download host for the VC++ 2k3 Toolkit (free download):

http://xona.com/2004/06/29.html

And here's a link to a quick tutorial on how to get a working environment going:

http://bfilter.sourceforge.net/doc/vctk.php

Unfortunately, I STILL can't get the vix-perl API successfully installed. the make, and make install work after a LOT of work, but when I try to run one of my perl scripts for vix, perl is broken (can't find a dll).

I've given up for now, moving on to C... lets see if vmware support can give me some help in the meantime. Their response time seems to be about 1 email/week on average.

Reply
0 Kudos
admin
Immortal
Immortal

What dll is Perl unable to find?

Reply
0 Kudos
nudicles
Contributor
Contributor

actually its kind of funny, it depends on which version of ActivePerl I install. If I install 5.6, it can't find vix.dll. I don't remember what it's missing if I install 5.8

Reply
0 Kudos
admin
Immortal
Immortal

Whichever version you use, you will need to make sure that vix.dll is in a directory that is in you PATH environment variable. I would recommend adding the vix-perl directory to your path.

Reply
0 Kudos
garybrown
Enthusiast
Enthusiast

I'm trying to install onto my XP Workstation without too much success. I've installed Active Perl 5.8 and then following the instructions have run ppm and added theoryx5.uwinnipeg.ca repository but do not see any of the packages that are suggested should be available

XML-LibXML-Common

XML-LibXML

Crypt-SSLeay

Data-Dumper

Class-MethodMaker

I'm not getting any errors about connecting to the server - just reports that it cannot find the package(s).

Any ideas what I may be doing wrong. Or is there another solution ?

Thanks

Gary

Reply
0 Kudos
admin
Immortal
Immortal

To which instructions are you referring? I don't think you need any extra modules to compile vix-perl. Internally, the VIX API does use some of these libraries (libXML and SSLeay), but it uses compiled libraries (dlls on Windows). These dlls are included with the installer, and should be in the same directory as vix.dll, and so should also be in a directory in the PATH environment variable.

If you still need these libraries, you can look at http://search.cpan.org.

Reply
0 Kudos
garybrown
Enthusiast
Enthusiast

Sorry my mistake - I'm trying to install VI Perl Toolkit

Reply
0 Kudos
eroberer4u
Contributor
Contributor

I'm using RHEL4, which has Perl version 5.8.5 installed on it automagically (and updated with up2date). The vix-perl installation is quite simple, but I did have to symlink the libvix.so from /usr/lib/vmware-vix/lib/libvix.so to /usr/lib.

I THINK that just installing VMWare 6 installed the vmware-vix packages and vix-perl for me, but I could be wrong. I ended untarring a vix-perl.tar.gz file and then running an installer, I think.

Reply
0 Kudos