Hi,
When I build a "versioned" 5.10.1-RC1 on Windows, I find that @INC is set to:
C:/perl/5.10.1/lib
C:/perl/site/5.10.1/lib
.
I would like to have it slightly different:
C:/perl/5.10.1/lib
C:/perl/site/5.10.1/lib
C:/perl/site/5.10.0/lib
.
What's the best way to do that ?
I see that the Win32 makefiles allow for -Duse_sitecustomize, but having enabled that, I can't find a way to get $Config{sitelibexp}/sitecustomize.pl to do anything useful. In fact, I can't even find any evidence that $Config{sitelibexp}/sitecustomize.pl gets run.
Early in Feb 2006 I asked essentially the same question (on p5p), and
ysth suggested:
<quote>
To do this you need to manually do what Configure does for you
on linux; edit the appropriate win32/config_H.* file and change:
#define PERL_INC_VERSION_LIST 0
to something like
#define PERL_INC_VERSION_LIST "5.8.8","5.8.7","5.8.6",0
</quote>
That seemed reasonable to me, and I think I tried it out and found that it worked - though I'm now not entirely sure that I ever did put it to the test.
Whatever the case, it certainly doesn't work with 5.10.1-RC1. I'm building with MinGW and I've tried both
#define PERL_INC_VERSION_LIST "5.10.0" and
#define PERL_INC_VERSION_LIST "5.10.0",0 in win32/config_H.gc without success.
Not sure where to go from here.
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.