in reply to "versioned" builds of Win32 perl

Seems that win32/config.gc also needs amending. I've rewritten the 'd_inc_version_list', 'inc_version_list' and 'inc_version_list_init' entries in that file to:
d_inc_version_list='define' inc_version_list='5.10.0' inc_version_list_init='"5.10.0",0'
And, in config_H.gc, I have:
#define PERL_INC_VERSION_LIST "5.10.0",0
Perl now produces:
C:\_32>perl -V:d_inc_version_list d_inc_version_list='define'; C:\_32>perl -V:inc_version_list inc_version_list='5.10.0'; C:\_32>perl -V:inc_version_list_init inc_version_list_init='"5.10.0",0';
That correlates well with what I get on linux, but still no /perl/site/5.10.0/lib in @INC.
I might take this up on p5p at some stage ... or I might just forget about it and settle for copying the entire contents of /perl/site/5.10.0/lib into /perl/site/5.10.1/lib.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: "versioned" builds of Win32 perl
by Anonymous Monk on Aug 13, 2009 at 12:03 UTC
      I was already including INST_VER. Including INST_ARCH shouldn't be required and just highlights more brokenness - @INC then becomes:
      C:/perl/5.10.1/lib/MSWin32-x64-multi-thread C:/perl/5.10.1/lib C:/perl/site/5.10.1/lib/MSWin32-x64-multi-thread C:/perl/site/5.10.1/lib .
      Still no mention of C:/perl/site/5.10.0/lib, and the architecture should be 'x86' not 'x64'. The 'x64' arises because I'm building on Vista64 - but, having set the WIN64 environment variable to undef, the architecture *should* have been set to 'MSWin32-x86-multi-thread'.

      Cheers,
      Rob
        Does the directory exist? I think its because it doesn't exist. I'm testing now.