Module::Build (0.23, Mac OS 10.2.8, Perl 5.8.3) has been a plague to me by failing to work with CPAN installs

Try 0.24 - I think you may have hit M::B at a bad time. Both 0.22 and 0.23 had some rather annoying bugs with passthrough Makefile.PLs that caused problems when used with CPAN. I suspect that 0.24 will work fine, as would using CPANPLUS which calls Module::Build directly rather than using the Makefile.PL.

I've been using M::B on Mac OS X, various Linux varieties, Free BSD and Solaris with no problems.

Perl is about text manipulation and system administration, but it's also about gluing existing parts together. If there's a tried-and-true wheel out there, Perl can usually take advantage of it, rather than having to reinvent it

The problem is that there isn't a wheel, there are several. The various make variants all work in slightly different ways. Dealing with this is one of the reasons E:MM is so complex. Dealing with this variety when writing extensions is a pain. Then there are those platforms that don't have that particular wheel by default.

Next there is the problem that the declarative makefile style isn't always suitable to express the dependencies and processes you want to happen during a build process. So you have to jump backwards and forwards between the makefile and perl code - which is hard.

Finally there's the problem that EU::MM isn't really built to be extended, so it's a royal PITA for folk like me who need to make custom build processes :-)

For people who need to do elaborate tweaks to the build process, M::B sounds like a definite improvement. But for the rest of us, and certainly for most users of Module::Simple, EU::MM will minimize pain to both author and users.

Depends on the author/user I guess ;-) For those platforms that don't come with a make M::B can be a lot simpler. As a CPANPLUS user I have had zero problems using Module::Build. As a module author I vastly prefer it to EU::MM since it's really easy to extend.


In reply to Re^3: Module::Starter, a helper for new module authors by adrianh
in thread Module::Starter, a helper for new module authors by petdance

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.