I am reading the O'Reilly book "Intermediate Perl" and I am not able to complete the exercises for chapter 12 "Creating Your Own Perl Distribution". I am using ActiveState Perl v5.16.1 on Windows XP. In my early attempts, I was required to install several packages with ppm. (Unforunately, I did not keep records) All the instalations went smoothly and eliminated the messages that motivated them. The remaining errors do not appear to be due to missing modules.
C:\Documents and Settings\bill\Perl\ip\chap_12>module-starter --mb --m +odule=Anim al --author="Gilligan" --email=gilligan@island.example.com --verbose Created Animal Created Animal\lib Created Animal\lib\Animal.pm Created Animal\t Created Animal\t\pod-coverage.t Created Animal\t\pod.t Created Animal\t\manifest.t Created Animal\t\boilerplate.t Created Animal\t\00-load.t Created Animal\Build.PL Created Animal\Changes Created Animal\README Added to MANIFEST: Build.PL Added to MANIFEST: Changes Added to MANIFEST: lib/Animal.pm 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 Animal\MANIFEST Created starter directories and files C:\Documents and Settings\bill\Perl\ip\chap_12>
This much runs without error and appears to create all required files.
C:\Documents and Settings\bill\Perl\ip\chap_12\Animal>perl Build.PL Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Could not get valid metadata. Error is: Invalid metadata structure. Er +rors: Lice nse 'Artistic_2_0' is invalid (license) [Validation: 1.4] at C:/Perl/lib/Module/Build/Base.pm line 4564. Could not create MYMETA files Creating new 'Build' script for 'Animal' version '0.01' C:\Documents and Settings\bill\Perl\ip\chap_12\Animal>
Please explain this message and how to fix it. Setting a --license for module-starter changes the message slightly, but does not really help.
Bill

In reply to Errors from Build.PL by BillKSmith

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.