Thread VMPerl Modul installieren (12 answers)
Opened by zipster at 2006-11-08 12:33

zipster
 2006-11-09 16:08
#71538 #71538
User since
2004-09-06
458 Artikel
BenutzerIn
[default_avatar]
Servus,

habe endlich jemanden gefunden der Visual Studio hat.
Hab mirs installiert und bin der Anleitung gefolgt aber ich bekomme nun einen neuen Fehler.
Quote
C:\Programme\VMware\VMware VmPerl Scripting API\control-only>nmake test

Microsoft ® Program Maintenance-Dienstprogramm: Version 6.00.8168.0
Copyright © Microsoft Corp 1988-1998. Alle Rechte vorbehalten.

C:\Perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl
Can't load 'blib\arch/auto/VMware/VmPerl/VmPerl.dll' for module VMware::VmPerl:
load_file:///Das angegebene Modul wurde nicht gefunden at C:/Perl/lib/DynaLoader.pm
line 230.
at blib\lib/VMware/Control.pm line 14
Compilation failed in require at blib\lib/VMware/Control.pm line 14.
BEGIN failed--compilation aborted at blib\lib/VMware/Control.pm line 14.
Compilation failed in require at test.pl line 211.
BEGIN failed--compilation aborted at test.pl line 211.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : Rueckgabe-Code '0x2'
Stop.


Ich habe aber garkein blib Ordner in meinem Perl!?!

Hier noch mal ein Auszug aus der Anleitung
Quote
Expand the control-only.zip file into an empty directory somewhere where you'll do your work.

Open a command prompt.

Run the vcvars32.bat file that is in your Visual C's BIN directory. This will make sure that the BIN directory is in your path so all the compiler pieces can be found (be sure you do this in the command prompt you will be using and not from explorer).

In the command prompt, go to the directory where you expanded the control-only.zip file.

Do these commands:

Perl makefile.pl
nmake
nmake test
nmake ppd

Assuming all that goes without error (mine did), there are a few .dll files that need to be put into the proper place in your blib\ structure or you'll get errors complaining about them missing.

Copy these files from "c:\Program Files\VMware\VMware VmPerl Scripting API":

libeay32.dll
ssleay32.dll
VMControlLib.dll


Copy them to:

blib\arch\auto\VMware\VmPerl (within the directory where you expanded your control-only.zip file).


Was mache ich falsch?

Gruß
Seri aka Zipster

View full thread VMPerl Modul installieren