I wouldn't think that failing to run 'make' prior to 'make test' would be the problem (make checks and builds target dependencies after all). Even the install docs for this module just say: 'perl Makefile.PL' then 'make test' then 'make install'. And, in the spirit of empiricism (and to attempt to reproduce the problem), I just grabbed a clean version of MIME-tools-5.411a.tar.gz, unpacked it, ran 'perl Makefile.PL' followed by 'make test' and everything worked just fine. (on slackware linux with perl 5.6.1).

You say you hit this segfault with *some* other modules too. Can you detect any commonalities with the ones that segfault at this particular target versus ones that don't? Being unable to reproduce the problem I can only guess that: a) your perl installation/configuration is borked, b) you are hitting some kind of limit (memory, processes, or command line length (pm_to_blib can produce lengthy command lines, but that's not usually a problem on unix and I believe ExtUtils:: already works around that on Win32), c) your 'make' program is borked, d) something else entirely.


In reply to Re: Re: Segfault when trying to make a module by danger
in thread Segfault when trying to make a module by nejko

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.