On 28 May 2014 21:52, Nigel Horne <n...@bandsman.co.uk> wrote:

>
> This is a standard installation.  Please define 'broken'.

If #include <perl.h> causes a fatal error like the above it looks
broken to me. What do you think?

> Your correct behaviour is to return UNKNOWN if crypt.h isn't installed.

If you look at the error message, the line #include <crypt.h> is
included by the Perl header op.h, which is included by the Perl header
perl.h. These files are part of perl. I don't have a line #include
<crypt.h> in my module:

[ben@mikan] {22:12 24} Encode-Detective 510 $ ack "crypt.h" *
[ben@mikan] {22:12 32} Encode-Detective 511 $ grep "crypt.h" */*
[ben@mikan] {22:12 43} Encode-Detective 512 $ grep "crypt.h" *
[ben@mikan] {22:12 44} Encode-Detective 513 $ grep "crypt.h" */*/*
[ben@mikan] {22:12 48} Encode-Detective 514 $ grep "crypt.h" */*/*/*
grep: */*/*/*: No such file or directory
[ben@mikan] {22:12 49} Encode-Detective 515 $

The error starts from line 38 of "Detective.xs" where it just has

#include "perl.h"

I can't not include that.

Reply via email to