|
From: | Paul Eggert |
Subject: | Re: "make check" failure on Solaris 10 as File::Temp->newdir is missing |
Date: | Tue, 18 Oct 2022 20:55:24 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
On 2022-10-18 20:08, Paul Smith wrote:
On Tue, 2022-10-18 at 14:46 -0700, Paul Eggert wrote:Solaris 10 (supported by Oracle through January 2024) uses Perl 5.8.4. tests/README says Perl 5.004 or later is neededThat is wrong. In fact the tests/README file hasn't been updated an a very long time (I actually forgot it was there). However it's strange because File::Temp was added in 5.6.x. But it's possible that newdir wasn't available until 5.10, back in 2007... it's a little hard to tell.
newdir was added in File::Temp version 0.19, whereas Solaris 10 has File::Temp 0.14.
A binary search of https://www.cpan.org/src/5.0 shows that newdir was added in Perl 5.10.1, which has File::Temp 0.22. (It is not in Perl 5.10.0 which has File::Temp 0.18.) The Temp.pm source file was renamed from lib/File/Temp.pm to cpan/File-Temp/Temp.pm in the next release, Perl 5.11.0, without changing any of contents of Temp.pm (I don't know the significance of this rename).
[Prev in Thread] | Current Thread | [Next in Thread] |