|
PRINT
Installing the VI Perl Toolkit from SourcecodeWindows
To install the VI Perl Toolkit from sourcecode on Windows, you must:
- Obtain a Windows implementation of Perl and various libraries
- Install the VI Perl Toolkit
- Perform a few other basic setup tasks.
From start to finish, the entire process takes about 15 minutes (or less, if you already have Perl installed).
These instructions (adapted from
Richard Garsthagens excellent HOW-TO, available on his Run-Virtual website) have been tested on a Windows XP system.
- Obtain and install ActivePerl 5.8, available from:
http://www.activestate.com/store/freedownload.aspx?prdGuid=81fbce82-6bd5-49bc-a915-08d58c2648ca
You will need to register at ActivePerls website to download the software.
-
Download ActivePerl Microsoft installer (.msi).
- Double-click on the filename to launch the wizard-driven installation process that also sets the required paths. During the installation process, just accept the defaults, including the default directory (C:\).
- Launch the Perl Package Manager (PPM) by running the batch file (ppm.bat) at the command prompt:
c:\Perl\bin>ppm
- From the PPM Edit menu, select Preferences... and add the path to the University of Winnipegs PPM (Perl library) as a repository from which to obtain modules and packages:
http://theoryx5.uwinnipeg.ca/ppms/
- Select these modules and packages:
- XML-LibXML-Common
- XML-LibXML
- Crypt-SSLeay
- Data-Dumper
- Class-MethodMaker
As the required packages are installed, you may be prompted to install various other supporting packages. Accept any additional installations. The process may take a few minutes to complete, but its fairly simple.
- Obtain Microsofts nmake from:
http://support.microsoft.com/kb/132084
The page that displays at the URL above is a support page that includes a link to nmake15.exe, which is a self-extracting compressed file that unpacks nmake.exe, nmake.err, and a readme.txt file.
- Scroll through the page that opens to find the link for nmake15.exe on the page.
- Click the nmake15.exe link. A save dialog displays.
- Select Save to Disk and click OK. A navigation dialog box displays.
- Navigate to the %SystemRoot% folder (typically, c:\WINDOWS) of your Windows host system) and click Save to download the nmake15.exe file to Windows system directory. When the download completes, open Windows Explorer and navigate to %SystemRoot% and find the nmake15.exe.
- Double-click the file to unpack its contents:
- nmake.exe
- nmake.err
- readme.txt
- Launch a Windows console session (cmd.exe).
- Navigate to the location of the VI Perl Toolkit download and run these commands:
C:\viperltoolkit>perl Makefile.PL
The console displays progress:
Writing Makefile for VIPerlToolkit
- Enter nmake at the command prompt:
C:\viperltoolkit>nmake
- Enter nmake install at the command prompt:
C:\viperltoolkit>nmake install
The console reports status as the VI Perl Toolkit components (VIRuntime.html, VIStub.html, VIRuntime.pm, and so on) are installed, and in a few seconds, the process completes.
|