Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
XP is just a number
 
PerlMonks  

Re: Build under *bsd with Module::Install fails - Can't find .pm that is part of dist (distcheck, disttest)

by Anonymous Monk
on Mar 14, 2013 at 21:20 UTC ( #1023558=note: print w/ replies, xml ) Need Help??


in reply to Build under *bsd with Module::Install fails - Can't find .pm that is part of dist -- SOLVED (error in MANIFEST file)

grep AnalyseLV2 http://search.cpan.org/dist/Audio-Nama/MANIFEST
lib/Audio/AnalyseLV2.pm

So, whatever file that is supposed to be, its not in the tarball -- means you/it skipped
make distcheck
make realclean
make manifest
make disttest
make realclean
make dist

These make commands work with Module::Install , make sure you make realclean before you make manifest

$ module-starter --module Shabba --email email --author author --verbose --mi

$ module-starter --module Shabba --email email --author author --verbo +se --mi Created Shabba Created Shabba\lib Created Shabba\lib\Shabba.pm Created Shabba\t Created Shabba\t\pod-coverage.t Created Shabba\t\pod.t Created Shabba\t\manifest.t Created Shabba\t\boilerplate.t Created Shabba\t\00-load.t Created Shabba\ignore.txt Created Shabba\Makefile.PL Created Shabba\Changes Created Shabba\README Added to MANIFEST: Changes Added to MANIFEST: ignore.txt Added to MANIFEST: lib/Shabba.pm Added to MANIFEST: Makefile.PL Added to MANIFEST: MANIFEST Added to MANIFEST: README Added to MANIFEST: t/00-load.t Added to MANIFEST: t/boilerplate.t Added to MANIFEST: t/manifest.t Added to MANIFEST: t/pod-coverage.t Added to MANIFEST: t/pod.t Created Shabba\MANIFEST Created starter directories and files $ cd Shabba $ echo package Floyd; 1; > lib\Floyd.pm $ perl Makefile.PL include .../inc/Module/Install.pm include inc/Module/Install/Metadata.pm include inc/Module/Install/Base.pm include inc/Module/Install/Makefile.pm include inc/Module/Install/AutoInstall.pm include inc/Module/Install/Include.pm include inc/Module/AutoInstall.pm *** Module::AutoInstall version 1.06 *** Checking for Perl dependencies... [Core Features] - Test::More ...loaded. (0.98) *** Module::AutoInstall configuration finished. include inc/Module/Install/WriteAll.pm include inc/Module/Install/Win32.pm include inc/Module/Install/Can.pm include inc/Module/Install/Fetch.pm Checking if your kit is complete... Looks good Writing Makefile for Shabba Writing MYMETA.yml and MYMETA.json Writing META.yml $ dmake distcheck ...\perl.exe "-Iinc" "-MExtUtils::Manifest=fullcheck" -e fullcheck Not in MANIFEST: ignore.txt Not in MANIFEST: inc/Module/AutoInstall.pm Not in MANIFEST: inc/Module/Install.pm Not in MANIFEST: inc/Module/Install/AutoInstall.pm Not in MANIFEST: inc/Module/Install/Base.pm Not in MANIFEST: inc/Module/Install/Can.pm Not in MANIFEST: inc/Module/Install/Fetch.pm Not in MANIFEST: inc/Module/Install/Include.pm Not in MANIFEST: inc/Module/Install/Makefile.pm Not in MANIFEST: inc/Module/Install/Metadata.pm Not in MANIFEST: inc/Module/Install/Win32.pm Not in MANIFEST: inc/Module/Install/WriteAll.pm Not in MANIFEST: lib/Floyd.pm Not in MANIFEST: META.yml Not in MANIFEST: t/boilerplate.t $ dmake manifest ...\perl.exe "-Iinc" "-MExtUtils::Manifest=mkmanifest" -e mkmanifest Added to MANIFEST: ignore.txt Added to MANIFEST: inc/Module/AutoInstall.pm Added to MANIFEST: inc/Module/Install.pm Added to MANIFEST: inc/Module/Install/AutoInstall.pm Added to MANIFEST: inc/Module/Install/Base.pm Added to MANIFEST: inc/Module/Install/Can.pm Added to MANIFEST: inc/Module/Install/Fetch.pm Added to MANIFEST: inc/Module/Install/Include.pm Added to MANIFEST: inc/Module/Install/Makefile.pm Added to MANIFEST: inc/Module/Install/Metadata.pm Added to MANIFEST: inc/Module/Install/Win32.pm Added to MANIFEST: inc/Module/Install/WriteAll.pm Added to MANIFEST: lib/Floyd.pm Added to MANIFEST: META.yml Added to MANIFEST: t/boilerplate.t $ dmake distcheck ...\perl.exe "-Iinc" "-MExtUtils::Manifest=fullcheck" -e fullcheck $ dmake disttest ...\perl.exe "-Iinc" -MExtUtils::Command -e rm_rf -- Shabba-0.01 ...\perl.exe "-Iinc" "-MExtUtils::Manifest=manicopy,maniread" \ -e "manicopy(maniread(),'Shabba-0.01', 'best');" mkdir Shabba-0.01 mkdir Shabba-0.01/inc mkdir Shabba-0.01/inc/Module mkdir Shabba-0.01/inc/Module/Install mkdir Shabba-0.01/lib mkdir Shabba-0.01/t cd Shabba-0.01 && ...\perl.exe "-Iinc" Makefile.PL *** Module::AutoInstall version 1.06 *** Checking for Perl dependencies... [Core Features] - Test::More ...loaded. (0.98) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for Shabba Writing MYMETA.yml and MYMETA.json cd Shabba-0.01 && dmake cp lib/Floyd.pm blib\lib\Floyd.pm cp lib/Shabba.pm blib\lib\Shabba.pm cd Shabba-0.01 && dmake test ...\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'b +lib\lib', 'blib\arch')" t/*.t t/00-load.t ....... 1/? # Testing Shabba 0.01, Perl 5.016001, ...\perl +.exe t/00-load.t ....... ok t/boilerplate.t ... ok t/manifest.t ...... skipped: Author tests not required for installatio +n t/pod-coverage.t .. t/pod-coverage.t .. 1/2 # Failed test 'Pod coverage on Floyd' # at .../lib/Test/Pod/Coverage.pm line 126. # Floyd: couldn't find pod # Looks like you failed 1 test of 2. t/pod-coverage.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/pod.t ........... ok Test Summary Report ------------------- t/pod-coverage.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=5, Tests=8, 2 wallclock secs ( 0.11 usr + 0.01 sys = 0.13 CPU +) Result: FAIL Failed 1/5 test programs. 1/8 subtests failed. dmake: Error code 255, while making 'test_dynamic' dmake: Error code 255, while making 'disttest'


Comment on Re: Build under *bsd with Module::Install fails - Can't find .pm that is part of dist (distcheck, disttest)
Download Code
Re^2: Build under *bsd with Module::Install fails - Can't find .pm that is part of dist (distcheck, disttest) - SOLVED
by gnosti (Friar) on Mar 15, 2013 at 00:01 UTC
    There was an error in my (manually created) MANIFEST.

    Is there a documentation source for these make commands?

      Is there a documentation source for these make commands?

      Yeah, I linked to it

        Thanks for your help.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023558]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2014-04-23 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (549 votes), past polls