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
Download (untitled) / with headers
text/plain 317b
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
Download (untitled) / with headers
text/plain 642b
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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