Subject: | Clone.o compilation failure -"EXTERN.h" not found |
Date: | Sun, 25 Jun 2017 14:52:47 -0400 |
To: | bug-Clone [...] rt.cpan.org |
From: | Parrot Raiser <1parrota [...] gmail.com> |
Last few lines of the log:
Running Mkbootstrap for Clone ()
chmod 644 Clone.bs
/usr/bin/perl5.20.1 /usr/lib/perl5/5.20.1/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.20.1/ExtUtils/typemap Clone.xs > Clone.xsc && mv
Clone.xsc Clone.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"0.39\" -DXS_VERSION=\"0.39\"
-fPIC "-I/usr/lib/perl5/5.20.1/i386-linux-thread-multi/CORE" Clone.c
Clone.xs:3:20: fatal error: EXTERN.h: No such file or directory
#include "EXTERN.h"
^
compilation terminated.
----------------------------------------------------------------------------------------------------------------
Should lines 3 & 5 of Clone.xs be lower-case rather than upper?
Is should be?
#include "EXTERN.h" #include "extern.h"
#include "perl.h" #include "perl.h"
#include "XSUB.h" #include "xsub.h"