Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 76646
Status: open
Priority: 0/
Queue: CPAN

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

Bug Information
Severity: Unimportant
Broken in: 1.9800
Fixed in: (no value)



Subject: Error message if Makefile.PL and Build.PL are missing
If there's neither Makefile.PL nor Build.PL included in a tarball, then the error message is somewhat misleading, especially mentioning that both files and directories are part of the package: cpan[1]> install KIMRYAN/Locale-SubCountry-1.49.tar.gz CPAN: Storable loaded ok (v2.34) Reading '/home/eserte/.cpan/Metadata' Database was generated on Tue, 17 Apr 2012 21:47:03 GMT CPAN: YAML loaded ok (v0.80) CPAN: CPAN::Kwalify loaded ok (v5.50) CPAN: Kwalify loaded ok (v1.21) Running make for K/KI/KIMRYAN/Locale-SubCountry-1.49.tar.gz CPAN: Digest::SHA loaded ok (v5.71) CPAN: Compress::Zlib loaded ok (v2.049) Checksum for /home/eserte/.cpan/sources/authors/id/K/KI/KIMRYAN/Locale-SubCountry-1.49.tar.gz ok CPAN: Archive::Tar loaded ok (v1.84) Locale-SubCountry-1.49/ Locale-SubCountry-1.49/Changes Locale-SubCountry-1.49/examples/ Locale-SubCountry-1.49/examples/demo.pl Locale-SubCountry-1.49/lib/ Locale-SubCountry-1.49/lib/Locale/ Locale-SubCountry-1.49/lib/Locale/SubCountry/ Locale-SubCountry-1.49/lib/Locale/SubCountry/Data.pm Locale-SubCountry-1.49/lib/Locale/SubCountry.pm Locale-SubCountry-1.49/MANIFEST Locale-SubCountry-1.49/META.yml Locale-SubCountry-1.49/README Locale-SubCountry-1.49/t/ Locale-SubCountry-1.49/t/main.t Locale-SubCountry-1.49/t/pod-coverage.t Locale-SubCountry-1.49/t/pod.t CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Time::HiRes loaded ok (v1.9725) Package contains both files[Changes README MANIFEST META.yml] and directories[t examples lib]; not recognized as a perl package, giving up Package contains both files[Changes README MANIFEST META.yml] and directories[t examples lib]; not recognized as a perl package, giving up, won't make Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read metadata file. Falling back to other methods to determine prerequisites Failed during this command: KIMRYAN/Locale-SubCountry-1.49.tar.gz : writemakefile NO -- Package contains both files[Changes README MANIFEST META.yml] and directories[t examples lib]; not recognized as a perl package, giving up Regards, Slaven
If there are just files in a package then the CPAN shell does it right: Package contains several files[mongodb.html links.html nosql-what.html nosql-why.html toc.html mongodb-data.html index.html nosql-implementations.html] but no Makefile.PL or Build.PL; not recognized as a perl package, giving up Regards, Slaven