Thanks Rob,
I upgraded to build 22. Your perl -M command above does render the same error, which persists exactly the same. Any ideas where I can look for stuff? Is it talking about windows or about some lower level Perl code which does the threading? Is there a way I can know the right thread version for this OS?
I replaced errno.pm, no change.
This is a windows box, crazy things happen often.
Thanks again,
Craig.
| [reply] |
Craig again - the 822 AS build changes naught :-( I replaced errno with PPM but it was already up to date.
Is there anything else I can try? I guess anything is possible on this OS. | [reply] |
It's not normal for 'perl -V' and $Config{osvers} to disagree on the value of 'osvers'. For as long as that discrepancy exists the problem will persist. Do you happen to have more than one version of Config.pm and/or Config_heavy.pl ? I'm wondering if there's one version in perl/site/lib and another version in perl/lib. If there is such a duplication, rename the file that specifies the 'osvers' as 4.0 (so that it can't be found). Other hacks you could try include commenting out that test in Errno.pm.
But, somewhere along the way, someone has done something that ought not have been done, and that's what's causing this strange breakage. The one solution that will work is to completely remove your entire ActivePerl installation and re-install all over again (either 819 or 822 - won't matter) - but that probably involves some inconvenience for you. We could probably hack up a solution that doesn't involve re-installation, if only we could work out what action it was that caused the breakage in the first place.
At some stage around build 819 (I think) ActiveState altered the order of the @INC listing and they changed the directory that contains the core modules. I'm wondering whether that is involved in the problem you're seeing ... but it's hard to tell from here :-)
Cheers, Rob
| [reply] |
It's not normal for 'perl -V' and $Config{osvers} to disagree on the value of 'osvers'.
Look more carefully:
die "Errno architecture (MSWin32-x86-multi-thread-5.0) does not ma
+tch executable architecture ($Config{'archname'}-$Config{'osvers'})";
Errno architecture (MSWin32-x86-multi-thread-4.0) does not match execu
+table architecture (MSWin32-x86-multi-thread-5.0) at c:/Perl/site/lib
+/Errno.pm line 9 .
Platform:
osname=MSWin32, osvers=5.0, archname=MSWin32-x86-multi-thread
They both report osver=5.0. It is the literal part of the string that does
not agree, therefore, most likely, the AnonyMonk was not reading
c:/Perl/site/lib/Errno.pm (or has made copy/paste errors). There could be a second Errno.pm that is causing the problem, for example.
| [reply] [d/l] [select] |