Alexey Tourbin wrote: > > As of the previous maint snapshot (19525) installed on a modern linux > system, I found out that some perl source files do not pass 'perl -c' > syntax check. Though some cases may be arguable (especially demos), I > believe it would be neat if all those files compile and run perfectly. > > Other cases show that some modules required for other modules to run are > simply inexistent, which in turn means that perl bundle is not > self-sufficient. Though some rate of inconsistency could be admitted, > there's nothing in it one should get excited about, either. > > Here is the full (or almost full) list of the files: > > BEGIN failed--compilation aborted at /usr/lib/perl5/Attribute/Handlers/demo/demo.pl line 4. > BEGIN failed--compilation aborted at /usr/lib/perl5/Attribute/Handlers/demo/demo2.pl line 4. > BEGIN failed--compilation aborted at /usr/lib/perl5/Attribute/Handlers/demo/demo3.pl line 2. > BEGIN failed--compilation aborted at /usr/lib/perl5/Attribute/Handlers/demo/demo4.pl line 1. > BEGIN failed--compilation aborted at /usr/lib/perl5/Attribute/Handlers/demo/demo_hashdir.pl line 1. > BEGIN failed--compilation aborted at /usr/lib/perl5/Attribute/Handlers/demo/demo_range.pl line 3. Demos : one can keep them, for consistency with the CPAN dist. > BEGIN failed--compilation aborted at /usr/lib/perl5/Class/ISA/test.pl line 16. I don't think the test.pl files should be installed. The *.t files aren't. > BEGIN failed--compilation aborted at /usr/lib/perl5/File/Spec/VMS.pm line 13. As you're not on VMS, it's normal File::Spec::VMS doesn't compile. It requires a module that's built only on VMS. > BEGIN failed--compilation aborted at /usr/lib/perl5/Pod/Perldoc/ToRtf.pm line 8. > BEGIN failed--compilation aborted at /usr/lib/perl5/Pod/Perldoc/ToTk.pm line 23. > BEGIN failed--compilation aborted at /usr/lib/perl5/Pod/Perldoc/ToXml.pm line 8. They require external modules, and moreover they're not supposed to be used by themselves, as they're perldoc plugin. (but it's true perldoc could issue a more friendly error message) > BEGIN failed--compilation aborted at /usr/lib/perl5/bytes_heavy.pl line 4. The failure for bytes_heavy.pl is normal, it's not self-contained.Thread Previous | Thread Next