A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Perl/perl5/issues/17293 below:

Compilation error during make minitest due to @{^CAPTURE} · Issue #17293 · Perl/perl5 · GitHub

When running make minitest on blead (following up on a #p5p comment by @khwilliamson), t/re/pat.t fails to compile. A trimmed-down version of the error message:

t/re/pat ....................... Can't locate Tie/Hash/NamedCapture.pm in @INC 
(you may need to install the Tie::Hash::NamedCapture module) 
(@INC contains: ../lib . ../ext/re 
# ... long list of directories -- not including ext/Tie-Hash-NamedCapture ...
... 
/home/jkeenan/gitwork/perl/lib .. . .) at re/pat.t line 674.
BEGIN failed--compilation aborted at re/pat.t line 674.

In the core distribution, we have ext/Tie-Hash-NamedCapture/NamedCapture.pm. I tried various ways of dealing with this failure. I tried adding ../ext/Tie-Hash-NamedCapture to @INC. I tried adding a skip("message") if is_miniperl; statement (as in t/re/subst.t). None of these worked, i.e., none of them enabled the file to compile. Whenever I hit line 674 below, I got the fatal error.

 672         $_= "ace";
 673         /c(?=.$)/;
 674         is($#{^CAPTURE}, -1, $message);

Any ideas?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4