Hi,
I have an "architectured" perl installation where, in addition to
perl/site/lib, I also have:
perl/site/lib/MSWin32-x64-multi-thread
perl/site/lib/MSWin32-x64-multi-thread-ld
perl/site/lib/MSWin32-x64-multi-thread-quadmath
perl/site/lib/MSWin32-x86-multi-thread
perl/site/lib/MSWin32-x86-multi-thread-64int
perl/site/lib/MSWin32-x86-multi-thread-64int-ld
perl/site/lib/MSWin32-x86-multi-thread-64int-quadmath
perl/site/lib/MSWin32-x86-multi-thread-ld
perl/site/lib/MSWin32-x86-multi-thread-quadmath
Pure-perl modules will, by default, be installed into
perl/site/lib.
Other modules (ie perl extensions) will be installed into the appropriate location listed above, according to the perl architecture for which they have been built.
I have a perl extension called (say) Module::B, and it has been built and installed into each of those architecture-specific locations.
There also exists a pure-perl Module::A, which requires Module::B but has not yet been installed anywhere into that perl.
Using (say) the
MSWin32-x64-multi-thread build of perl, I then install Module::A in the usual way (
cpan -i Module::A).
Module::A gets installed into
perl/site/lib because it is a pure-perl module.
At that point, Module::A becomes immediately available to all 9 architectures, even though it has not been tested against 8 of them.
This is an unsatisfactory state of affairs, IMO.
I envisage that Module::A should really be installed into the relevant architecture-specific location.
How do I tell ExtUtils::MakeMaker to do that ?
Or is there some better way of handling this ?
How do module authors generally deal with this issue ?
Cheers,
Rob
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.