If I run this after nmake and nmake install on win32 (XP), compiled with VC++ 6.0 SP5 PP5:
C:\pkg\src>perl5.12.2 -le "print for @INC" C:\pkg\common\lib\perl5\site_perl/5.12.0\MSWin32-x86-multi-thread C:\pkg\common\lib\perl5\site_perl/5.12.0 C:\pkg\common\lib\perl5\site_perl/5.10.1 C:\pkg\common\lib\perl5\site_perl .

All it seems to be able to get is the dirs I set in inc_version_list (for the earlier version's site_perl lib dirs) and the contents of PERL5LIB env var, as well as . at the end. But it doesn't have C:\pkg\common\lib\perl5\5.12.2 or C:\pkg\common\lib\perl5\site_perl\5.12.2 in @INC, which are the primary lib dirs, so it can't even load Config.pm (so even perl -V croaks.)

All the /(install)?(arch|priv|site)lib.*/ entries in config.vc and equivalents in config_h.vc appear to be in order, so I really don't know what I could be missing that would result in the primary lib dirs not being in @INC.

Is there something that needs to be edited or executed that I could have missed. README.win32 doesn't seem to make any mention.

Thanks for any help.

In reply to empty @INC in fresh compile of 5.12.2 on win32 by pcard

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.