This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
24114
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
SMPETERS [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Installs fail if YAML is not installed
Installing modules fails when YAML is not installed. I received the following errors when YAML is not installed. YAML Error: Error in require YAML::Loader - Base class package "YAML::Loader::Base" is empty. (Perhaps you need to 'use' the module which defines that package first.) at inc/YAML/Loader.pm line 4 BEGIN failed--compilation aborted at inc/YAML/Loader.pm line 4, <$IN> line 1. Compilation failed in require at (eval 12) line 3, <$IN> line 1. Code: Error in require YAML::Loader - Base class package "YAML::Loader::Base" is empty. (Perhaps you need to 'use' the module which defines that package first.) at inc/YAML/Loader.pm line 4 BEGIN failed--compilation aborted at inc/YAML/Loader.pm line 4, <$IN> line 1. Compilation failed in require at (eval 12) line 3, <$IN> line 1. at Makefile.PL line 88 Warning: No success on command[/tmp/bleadperl/bin/perl5.9.5 Makefile.PL] Note (usually harmless): 'YAML' not installed, not dumping to '/tmp/cpan/build/Plagger-0.7.17-UYzsfM.yml' Note (usually harmless): 'YAML' not installed, not dumping to '/tmp/cpan/build/Plagger-0.7.17-UYzsfM.yml' Running make test 'YAML' not installed, cannot parse '/tmp/cpan/build/Plagger-0.7.17-UYzsfM/META.yml'
In 1.88_66 I have revisited all places that work with YAML and made the code a bit prettier and I added tests. I believe I can close this bug now. Thanks!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.