cpanm (App::cpanminus) 1.7042 on perl 5.020002 built for x86_64-linux-thread-multi Work directory is /home/perl/.cpanm/work/1506698742.22747 You have make /usr/bin/make You have LWP 6.13 You have /bin/tar: tar (GNU tar) 1.15.1 You have /usr/bin/unzip Searching List::MoreUtils::XS () on cpanmetadb ... --> Working on List::MoreUtils::XS Fetching http://www.cpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-XS-0.423.tar.gz -> OK Unpacking List-MoreUtils-XS-0.423.tar.gz Entering List-MoreUtils-XS-0.423 Checking configure dependencies from META.json Checking if you have IPC::Cmd 0 ... Yes (0.92) Checking if you have File::Spec 0 ... Yes (3.48_01) Checking if you have File::Copy 0 ... Yes (2.30) Checking if you have base 0 ... Yes (2.22) Checking if you have File::Basename 0 ... Yes (2.85) Checking if you have File::Path 0 ... Yes (2.15) Checking if you have Carp 0 ... Yes (1.3301) Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04) Configuring List-MoreUtils-XS-0.423 Running Makefile.PL Checking whether pureperl is required... no Checking for cc... cc Checking for cc... (cached) cc Checking whether perlapi is accessible... yes Checking for time.h... yes Checking for sys/time.h... yes Checking for time... yes Checking for size_t... yes Checking for ssize_t... no Checking for size of int... 4 Checking for size of long... 8 Checking for size of long long... 8 Checking for size of ptr... 8 Checking for builtin expect... no Checking for statement expression feature... yes Checking if your kit is complete... Looks good Have /appl/sw/perl-5.20.2-4/perl-5.20.2/lib/perl5/x86_64-linux-thread-multi Want /appl/sw/perl-5.20.2-4/perl-5.20.2/lib/5.20.2/x86_64-linux-thread-multi Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [x86_64-linux-thread-multi] Config says: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for List::MoreUtils::XS Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0.96 ... Yes (1.302096) Checking if you have XSLoader 0.22 ... Yes (0.24) Checking if you have Storable 0 ... Yes (2.49_01) Building and testing List-MoreUtils-XS-0.423 cp lib/List/MoreUtils/XS.pm blib/lib/List/MoreUtils/XS.pm Running Mkbootstrap for List::MoreUtils::XS () chmod 644 "XS.bs" "/appl/sw/perl-5.20.2-4/perl-5.20.2/bin/perl" "/appl/sw/perl-5.20.2-4/perl-5.20.2/lib/perl5/ExtUtils/xsubpp" -typemap "/appl/sw/perl-5.20.2-4/perl-5.20.2/lib/5.20.2/ExtUtils/typemap" XS.xs > XS.xsc && mv XS.xsc XS.c cc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/appl/sw/perl-5.20.2-4/db-6.1.19.NC/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.423\" -DXS_VERSION=\"0.423\" -fPIC "-I/appl/sw/perl-5.20.2-4/perl-5.20.2/lib/5.20.2/x86_64-linux-thread-multi/CORE" XS.c XS.xs:144: error: conflicting types for ‘ssize_t’ /usr/include/sys/types.h:110: error: previous declaration of ‘ssize_t’ was here XS.xs: In function ‘XS_List__MoreUtils__XS_samples’: XS.xs:2133: warning: passing argument 1 of ‘Perl_croak_nocontext’ from incompatible pointer type make: *** [XS.o] Error 1 -> FAIL Installing List::MoreUtils::XS failed. See /home/perl/.cpanm/work/1506698742.22747/build.log for details. Retry with --force to force install it.