Building Perl for Win32


Bill Hess - bhess@techrg.com


Software Versions used in this Example


Space Requirements


Download the latest stable source of Perl from CPAN - www.perl.com


Put the source into a temporary directory, for example:


Reference the README.win32 file for detailed information on compiling


The VCVARS32.BAT will need to be run to set up your build environment


Change to the win32 directory under the Perl source, for example:


Edit 'C:\temp\perl5.003_03\win32\Makefile' and set the install drive and directory by editing the following two lines:


Compile the Perl source using the supplied makefile.


Test the build by typing 'nmake test' while in the 'C:\temp\perl5.003_03\win32' directory


Install Perl by typing 'nmake install' while in the 'C:\temp\perl5.003_03\win32' directory


Add the following Perl directories to the PATH environment variable:


Bring up a new shell and you are ready to go...