pi@raspberrypi:/home/pi/ap/dns# sudo cat /root/.cpanm/work/1495312130.29635/build.log cpanm (App::cpanminus) 1.7043 on perl 5.020002 built for arm-linux-gnueabihf-thread-multi-64int Work directory is /root/.cpanm/work/1495312130.29635 You have make /usr/bin/make You have LWP 6.26 You have /bin/tar: tar (GNU tar) 1.27.1 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching install () on cpanmetadb ... --> Working on install Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/install-0.01.tar.gz -> OK Unpacking install-0.01.tar.gz Entering install-0.01 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (6.98) Configuring install-0.01 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for install Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.98) Building and testing install-0.01 cp lib/install.pm blib/lib/install.pm Manifying blib/man3/install.3pm PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/install.t .. ok All tests successful. Files=1, Tests=1, 1 wallclock secs ( 0.09 usr 0.00 sys + 0.08 cusr 0.01 csys = 0.18 CPU) Result: PASS Appending installation info to /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2/perllocal.pod -> OK Successfully reinstalled install-0.01 Installing /usr/local/share/perl/5.20.2/arm-linux-gnueabihf-thread-multi-64int/.meta/install-0.01/install.json Searching Net::SSLeay () on cpanmetadb ... --> Working on Net::SSLeay Fetching http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.81.tar.gz -> OK Unpacking Net-SSLeay-1.81.tar.gz Entering Net-SSLeay-1.81 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (6.98) Configuring Net-SSLeay-1.81 Running Makefile.PL *** Found OpenSSL-1.0.1t installed in /usr *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] n Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::SSLeay Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0.60_01 ... Yes (1.001002) Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.98) Checking if you have MIME::Base64 0 ... Yes (3.14) Building and testing Net-SSLeay-1.81 cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Net/SSLeay: do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs /usr/bin/perl "-Iinc" /usr/share/perl/5.20/ExtUtils/xsubpp -typemap /usr/share/perl/5.20/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.81\" -DXS_VERSION=\"1.81\" -fPIC "-I/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE" SSLeay.c SSLeay.xs:163:25: fatal error: openssl/err.h: No such file or directory #include ^ compilation terminated. Makefile:356: recipe for target 'SSLeay.o' failed make: *** [SSLeay.o] Error 1 -> FAIL Installing Net::SSLeay failed. See /root/.cpanm/work/1495312130.29635/build.log for details. Retry with --force to force install it. 1 distribution installed