Sunday, December 28, 2008

Install Vl Perl Kit On Windows

Here is how you can install the VI Perl Toolkit on a windows server. I have this running on the same Windows 2003 server where Virtual Center is running.

Installing VI Perl ToolKit on windows

* 1. download and do a default install of active perl

* 2. go to c:\perl\bin and run ppm.bat
o a. Go to the Edit menu and select Preferences
+ I. Add the following repository for the latest version of perl (>= 819):
http://theoryx5.uwinnipeg.ca/ppms/
+ II. For older version of perl (<819) use:
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58

if you do not have direct internet, but via a proxy, you need to run first:
set HTTP_proxy=http://my.proxy:3128

* 3. exit the Perl Package Manage and give the following commands (from \perl\bin)
o a. ppm install XML-LibXML-Common
o b. ppm install XML-LibXML
o c. ppm install Crypt-SSLeay
o d. ppm install Data-Dumper
o e. ppm install Class-MethodMaker

* 4. Reboot your system (this is to get the right path settings activated)

* 5. Download the vi perl toolkit
o a. Unpack the toolkit (for example can be done with winrar)

* 6. Download nmake15 from Microsoft
o a. Run nmake15.exe
o b. Copy nmake.* c:\windows

* 7. go to the directory whre you unpacked the VI3 Perl Toolkit and run the following commands
o a. perl Makefile.PL
o b. nmake
o c. nmake install

You are ready now to run any of the perl example scripts or make some cool ones your self. To run a script just run the following command:
perl name_or_your_script .pl

No comments:

Post a Comment