in reply to Re^2: "versioned" builds of Win32 perl
in thread "versioned" builds of Win32 perl

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

Replies are listed 'Best First'.
Re^4: "versioned" builds of Win32 perl
by Anonymous Monk on Aug 13, 2009 at 14:45 UTC
    Does the directory exist? I think its because it doesn't exist. I'm testing now.
      I've tested, it is because this
      #ifdef PERL_INC_VERSION_LIST const U8 addoldvers = (U8)flags & INCPUSH_ADD_OLD_VERS; #endif
      is never true.
        #ifdef PERL_INC_VERSION_LIST *is* true if it's set to something like "5.10.10",0 in Config.h - and that happens when the changes to config_H.gc and config.gc (mentioned above) are made. Without those changes, however, PERL_INC_VERSION_LIST will *not* be defined in Config.h.

        Also, the directory /perl/site/5.10.0/lib does exist for me ... there must be other hacks required ...

        Cheers,
        Rob