perlactiveperl

ActivePerl ppm command error


I installed

On Windows 7 64-bit OS
ActivePerl 64bit 
Version 5.16.3.1603
on D disk as D:/perl64

I controlled Windows path, it is OK.

D:\perl64\site\bin; D:\perl64\bin;

When I open Git Bash commander and enter

ppm install DBI

or

ppm install DBD::mysql

It gives the error;

Can't locate ActivePerl/PPM/limited_inc.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/lib/perl5/site_perl/5.8.8
  /usr/lib/perl5/site_perl .) at /d/perl64/bin/ppm line 4. BEGIN
  failed--compilation aborted at /d/perl64/bin/ppm line 4.

I couldn't find any help or tutorial


Solution

  • You're not using ActivePerl. You're using msys's Perl. Presumably, it comes first in the path. You'll need to modify your path or edit ppm.bat to load the correct Perl.