On 29 May 2014 02:55, Karen Etheridge <p...@froods.org> wrote:

> Devel::CheckLib can be employed within Makefile.PL to check for the
> existence of required libraries or headers, before attempting to install
> the distribution.  (There's also a Dist::Zilla plugin to mangle your
> Makefile.PL/Build.PL for you.)

Thank you for your helpful response. I apologize for repeating myself,
but as I said above, libcrypt.h is required by Perl, not by my module.
My module doesn't directly need libcrypt.h. It isn't practical for me
to add tests for every library required by Perl to Makefile.PL. Also
this error seems to indicate that Perl itself is not working correctly
on the testing machine. If you look at the part of my module which
creates the problem:

https://metacpan.org/source/BKB/Encode-Detective-0.06/Detective.xs#L38

you can see it only gets as far as including two essential header
files. Everything else is just comments, then it includes two vital
header files, then the compilation dies with the error mentioned in
the test report:

http://www.cpantesters.org/cpan/report/28d3abb8-e5ca-11e3-b252-b7fca94d63a3

I am most probably wrong of course, but I suspect the testing machine
is in error here, which is why I brought the issue up.

Reply via email to