Strawberry Perl uninstall / Active Perl install Issues on Windows
I have had a little problem getting a working Perl on Windows over the past few days. I was having a lot of trouble somehow getting a working dmake and mingw to compile code, among other things.
Here's what happened in my latest attempt, for your benefit:
- Created a clean Amazon EC2 Windows 2008 server.
- Installed Strawberry Perl 5.12. Had issues compiling modules with cpan. Uninstalled Strawberry Perl.
- Installed ActivePerl 5.16.3. Ran cpan, dmake and mingw downloaded and installed properly. Rebooted so %PATH% would be updated.
- Tried installing any module, immediately failed.
This is the important part: Strawberry Perl sets ENV variables in an incompatible way to what ActivePerl wants.
11:26 <@BinGOs> they mess with how the META parsers work.
So I ran this at the command prompt:
set PERL_JSON_BACKEND= set PERL_YAML_BACKEND=
Everything started installing after clearing these variables.