Hello Brian,
I had also faced the same problem. Just change the line no 45 in your script. The original line is <use VMware::VIM2Runtime>. Make it to
<use VMware::VIRuntime;> After changing this it worked fine for me and hopes it will also solve your compilation aborted problem.
Chris,
Thanks for giving your precious time on debugging the problem, which I had reported without coping the Apputil directory.
Thanks and Regards,
Santosh
-----Original Message-----
From: linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Brian Kroth
Sent: Thursday, February 28, 2008 4:15 AM
To: chris barry
Cc: linux clustering
Subject: Re: help reqd. - VMware ESX 3.5 fencing
More perl questions:
$ echo -e "server=vmware\nvmname=gfstest3\nusername=fencer\npassword=fencerpw\noperation=reset" | /sbin/fence_vi3
The component 'privilegeList' has already been installed in class -->AuthorizationManager<-- as a HASH(0x1f779834)
(this time a scalar)
at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/Class/MethodMaker.pm line 20
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/VMware/VIM25Runtime.pm line 17, <> line 6.
Compilation failed in require at (eval 27) line 3, <> line 6.
Any thoughts?
Thanks,
Brian
chris barry <Christopher.Barry@xxxxxxxxxx> 2008-02-26 17:30:
> Read the top section of the script itself. I explain that the install
> script of viperltoolkit does not install the AppUtil directory with the
> rest of itself in your particular site_perl dir.
>
> do a
> $ locate site_perl
> to see where on your system has your site_perl director(y|ies), and look
> in each one to find the other vmware module dirs (includes) listed in
> the top of the script. Then copy the AppUtil dir (from the viperltoolkit
> source) into the same site_perl as the rest, and at the same level.
>
> e.g.
> ...site_perl
> |-AppUtil
> |-VMware
> `-other stuff
>
>
> Once the AppUtil dir is present in the right location, it should work
> ok. I had to figure this out the hard way. ;)
>
>
> Good Luck,
> -C
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster