To kickstart my development work on a Windows 7 box last spring, I installed Git (git v 1.7.0.2.msysgit.0). This installed the awesome GitBash mingw32 window. AFAIK, this git dist installed perl v5.8.8 into expected areas.
I am trying to get the best perl script ever working.
$ ./thebestscript.pl Can't locate XML/XPath.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8 +/msys /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/l +ib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at ./thebestscri +pt.pl line 40. BEGIN failed--compilation aborted at ./thebestscript.pl line 40.
OK, this is the same @INC problem posted earlier. ppm wasn't part of that distribution, so I installed perl v 5.12.4 msi. I carefully pre-pended my PATH to find Perl64/site/bin and Perl64/bin and
export PERL5LIB=/c/prog/Perl64/site/lib:/c/prog/Perl64/libNow watch:
$ ppm Perl lib version (5.12.4) doesn't match executable version (v5.8.8) at + /c/prog/Perl64/lib/Config.pm line 50. Compilation failed in require at /c/prog/Perl64/lib/ActivePerl/PPM/Cli +ent.pm line 4. BEGIN failed--compilation aborted at /c/prog/Perl64/lib/ActivePerl/PPM +/Client.pm line 4. Compilation failed in require at /c/prog/Perl64/bin/ppm line 6. BEGIN failed--compilation aborted at /c/prog/Perl64/bin/ppm line 6.
I am not savvy enough to understand how to either get rid of the v5.8.8 without breaking whatever installed it or depends on it, or to get v5.12.4 to ignore the existence of the other one? Thanks in advance.
In reply to 2 perl distributions on Windows 7 by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |