This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id:
74705
Status:
stalled
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
ribasushi [...] leporine.io
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
(no value)
Fixed in:
(no value)



Subject: Makefile does not test for compiler availability
As already mentioned in http://search.cpan.org/~timb/DBI-1.617/lib/DBI/PurePerl.pm#INSTALLATION the Make3file should simply skip all xs code building if a compiler is not available. A well working implementation for such a check can be found here: https://metacpan.org/source/ADAMK/List-MoreUtils-0.33/Makefile.PL#L81
From: bitcard.org@perl.tgape.org
On Sun Feb 05 14:26:01 2012, RIBASUSHI wrote:
Show quoted text
> As already mentioned in > http://search.cpan.org/~timb/DBI-1.617/lib/DBI/PurePerl.pm#INSTALLATION > the Make3file should simply skip all xs code building if a compiler is > not available. A well working implementation for such a check can be > found here: > https://metacpan.org/source/ADAMK/List-MoreUtils-0.33/Makefile.PL#L81
This would also require a code update to the perl modules so that they eval bootstrapping and fail over to loading pure perl even if the DBI_PUREPERL environment variable is not set. I'm not saying that's a big obstacle, just that it would need to be done as well.
This isn't a priority for me. I'd happily take a patch though.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.