Error installing package 'XYZ’
W trakcie instalowania modułu perl pojawia się błąd:
Error installing package 'XYZ’: Could not locate a PPD file for package XYZ
ppm PPM interactive shell (11.11_04) - type 'help' for available commands. PPM> install Date::Calc Install package 'Date-Calc?' (y/N): y Installing package 'Date-Calc'... Error installing package 'Date-Calc': Could not locate a PPD file for package Date-Calc PPM> exit
Aby go rozwiązać użyj cpan zamiast ppm.
cpan Loading internal logger. Log::Log4perl recommended for better logging cpan shell -- CPAN exploration and modules installation (v2.28) Enter 'h' for help. install Date::Calc (...) cpan> Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz (...) Result: PASS Lockfile removed. STBEY/Date-Calc-XS-6.4.tar.gz C:\STRAWB~1\c\bin\gmake.exe test -- OK Running make install for STBEY/Date-Calc-XS-6.4.tar.gz "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs blib\arch\auto\Date\Calc\XS\XS.bs 644 Files found in blib\arch: installing files in blib\lib into architecture dependent library tree Installing C:\STRAWB~1\perl\site\lib\auto\Date\Calc\XS\XS.xs.dll Installing C:\STRAWB~1\perl\site\lib\Date\Calc\XS.pm Installing C:\STRAWB~1\perl\site\lib\Date\Calc\XS.pod Appending installation info to C:\STRAWB~1\perl\lib/perllocal.pod STBEY/Date-Calc-XS-6.4.tar.gz C:\STRAWB~1\c\bin\gmake.exe install UNINST=1 -- OK