Subject: | Can't locate YAML.pm |
Automatic installation fails if the installer is configured to use Build.PL (e.g. CPAN.pm's configuration option prefer_installer=MB) and if YAML.pm is not installed yet:
...
Output from '/usr/local/bin/perl Build.PL':
Can't locate YAML.pm in @INC (you may need to install the YAML module) (@INC contains: lib /var/tmp/cpansmoker-1023/2020110514/CPAN-Reporter-lib-57yd /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32 .) at lib/AudioFile/Info/Build.pm line 8.
BEGIN failed--compilation aborted at lib/AudioFile/Info/Build.pm line 8.
Compilation failed in require at Build.PL line 2.
BEGIN failed--compilation aborted at Build.PL line 2.
...
Possibly fix: specify YAML as a configure_requires prereq.