I've been told many times by monks that if I'm serious about using perl as "part of the LAMP stack" then I should build it myself. I understand that the vendor perl should be untouched, and the custom perl built, I think in "/opt/perl". I'm building on Fedora 8, 64 bit i386 if that's of any help.

Besides making sure it goes in its own directory, are there any major decisions that have to be made differently than what Configure will give me? Someone mentioned omitting threading (on by default?) as I guess this would be marginally faster. Are there any other things I should be aware of, or do the defaults pretty much do a good job? While I'm sure building it is pretty simple (hit RETURN a lot), it's another thing to make sure you have an "optimal" build (I'm using the concept loosely here).

Are there any things I should read or consider w.r.t. Apache and mod_perl configuration? Note, I'm adept at using these things when they are provided, but I haven't seen the need to build them until now (since the .RPMs and distros are so convenient).


In reply to Tips on Building Perl Correctly (for use with Apache) by zerohero

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.