Skip Menu |

This queue is for tickets about the strictures CPAN distribution.

Report information
The Basics
Id: 91407
Status: resolved
Priority: 0/
Queue: strictures

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.005003



Subject: please add support for PUREPERL_ONLY
I've prepared a patch which adds support for PUREPERL_ONLY. You may find it here: https://github.com/djerius/strictures The code is 99% stolen from Devel::GlobalDestruction Rationale: I'm using cpanm --pp to populate a directory for App::FatPacker. strictures is required by the application. Prior to 1.005002 when compile-only modules were recommendations, cpanm happily ignored them, and I was able to install strictures in pure-perl mode. After 1.005002, when those modules became requirements if the host platform had a C compiler (which my dev box does), cpanm attempted to install them using PUREPERL_ONLY=1, and Lexical::SealRequireHints properly notified me that it must be compiled and the installation of strictures failed. This patch allows strictures to be installed under cpanm --pp, whether or not a C compiler is present. Thanks, Diab
It does seem odd though that Lexical::SealRequireHints won't build in pure perl mode. Unless you are on 5.10.0, it should be fine to work without it. Probably worth filing an issue about. That doesn't really effect this issue though, since the extra checks need XS even if Lexical::SealRequireHints doesn't. I've merged this, and will release it soon after adding some extra checks.
This was fixed in 1.005003