Subject: | Null filename used at Makefile.PL line 2 |
cannot install module because Null filename used at Makefile.PL line 2.
That line is: require >= 5.8.0;
Clearly this causes the problem:
Show quoted text
> perl -e 'require >= 5.8.0;'
Null filename used at -e line 1.
running perl v5.12.4, built for i486-linux-gnu-thread-multi-64int, on
debian, kernel: 2.6.39-2-686-pae
full install log:
# cpan Privileges::Drop
CPAN: Storable loaded ok (v2.22)
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 27 Jul 2011 01:43:28 GMT
Running install for module 'Privileges::Drop'
Running make for T/TL/TLBDK/Privileges-Drop-1.01.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.024)
Checksum for /root/.cpan/sources/authors/id/T/TL/TLBDK/Privileges-
Drop-1.01.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.54)
Privileges-Drop-1.01/
Privileges-Drop-1.01/README
Privileges-Drop-1.01/examples/
Privileges-Drop-1.01/examples/drop.pl
Privileges-Drop-1.01/META.yml
Privileges-Drop-1.01/lib/
Privileges-Drop-1.01/lib/Privileges/
Privileges-Drop-1.01/lib/Privileges/Drop.pm
Privileges-Drop-1.01/MANIFEST
Privileges-Drop-1.01/t/
Privileges-Drop-1.01/t/perlcriticrc
Privileges-Drop-1.01/t/dropuidgid.t
Privileges-Drop-1.01/t/pod.t
Privileges-Drop-1.01/t/critic.t
Privileges-Drop-1.01/t/pod-coverage.t
Privileges-Drop-1.01/ChangeLog
Privileges-Drop-1.01/MANIFEST.SKIP
Privileges-Drop-1.01/Build.PL
Privileges-Drop-1.01/Makefile.PL
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.40)
CPAN: Module::Build loaded ok (v0.3603)
CPAN.pm: Going to build T/TL/TLBDK/Privileges-Drop-1.01.tar.gz
Null filename used at Makefile.PL line 2.
Warning: No success on command[/usr/bin/perl Makefile.PL
INSTALLDIRS=site]
'YAML' not installed, will not store persistent state
TLBDK/Privileges-Drop-1.01.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install