Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I'm not a regular viewer of perlmonks, but I was pointed to this thread, so I'll answer.

There are several reasons we don't have PREFIX support right now. The first thing to look at is right in the M::B docs.

Second, we *do* have a way to specify a root directory. In fact, we have *two* ways: install_base and destdir. destdir is more suitable for rpm/deb/etc. package maintainers, and install_base is more suitable for people who want to install to their home directory, or to /usr/local instead of /usr, or whatever.

Finally, about the "big design mistake no one wants to fix" suggestion, there's nothing about M::B's design in particular that would prevent us from adding PREFIX support - the only hard part is actually just in writing code that implements PREFIX's byzantine logic, which at this point is only implemented in MakeMaker itself and will take considerable effort to extract. But someone's attempting to do that right now, and Schwern's going over the patch to check for correctness.

I don't think I've ever said PREFIX support was too hard, though - it's certainly not harder than other things M::B already has. I've said it doesn't *work* very well, and it doesn't seem to make much sense to spend a lot of my effort implementing it when other things are waiting.

Maybe I actually need to follow perlmonks a little more closely; the amount of FUD about M::B that gets passed around here without people actually checking it is a little disheartening.


In reply to Re^4: Module::Build users -- please use the "traditional" create_makefile_pl option by kwilliams
in thread Module::Build users -- please use the "traditional" create_makefile_pl option by perrin

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (4)
    As of 2018-10-20 19:01 GMT
    Find Nodes?
      Voting Booth?
      When I need money for a bigger acquisition, I usually ...

      Results (119 votes). Check out past polls.