Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

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

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

Bug Information
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.