>>> perl-net-ssh2 0.69 Downloading PATH="/home/naourr/work/instance-2/output/host/bin:/home/naourr/work/instance-2/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/.local/bin:/home/naourr/bin" BR2_DL_DIR=/home/naourr/work/instance-2/dl BUILD_DIR=/home/naourr/work/instance-2/output/build O=/home/naourr/work/instance-2/output flock /home/naourr/work/instance-2/dl/perl-net-ssh2/ support/download/dl-wrapper -c '0.69' -d '/home/naourr/work/instance-2/dl/perl-net-ssh2' -D '/home/naourr/work/instance-2/dl' -f 'Net-SSH2-0.69.tar.gz' -H 'package/perl-net-ssh2//perl-net-ssh2.hash' -n 'perl-net-ssh2-0.69' -N 'perl-net-ssh2' -o '/home/naourr/work/instance-2/dl/perl-net-ssh2/Net-SSH2-0.69.tar.gz' -u http+http://cpan.metacpan.org/authors/id/S/SA/SALVA -u http\|urlencode+http://sources.buildroot.net/perl-net-ssh2 -u http\|urlencode+http://sources.buildroot.net -- --2018-07-25 12:50:35-- http://cpan.metacpan.org/authors/id/S/SA/SALVA/Net-SSH2-0.69.tar.gz Resolving cpan.metacpan.org (cpan.metacpan.org)... 151.101.122.217, 2a04:4e42:1d::729 Connecting to cpan.metacpan.org (cpan.metacpan.org)|151.101.122.217|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 140601 (137K) [application/x-gzip] Saving to: '/home/naourr/work/instance-2/output/build/.Net-SSH2-0.69.tar.gz.3W24QM/output' 0K .......... .......... .......... .......... .......... 36% 3.51M 0s 50K .......... .......... .......... .......... .......... 72% 6.87M 0s 100K .......... .......... .......... ....... 100% 8.90M=0.03s 2018-07-25 12:50:35 (5.34 MB/s) - '/home/naourr/work/instance-2/output/build/.Net-SSH2-0.69.tar.gz.3W24QM/output' saved [140601/140601] Net-SSH2-0.69.tar.gz: OK (md5: 94ed21d4557a6bbc3cb6bfd7c3479ef0) Net-SSH2-0.69.tar.gz: OK (sha256: 2fc85e1434b8a6e77142d85e3cea5a081ca71da5d02c4212b9970d3a3924baa6) >>> perl-net-ssh2 0.69 Extracting gzip -d -c /home/naourr/work/instance-2/dl/perl-net-ssh2/Net-SSH2-0.69.tar.gz | /home/naourr/work/instance-2/output/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-2/output/build/perl-net-ssh2-0.69 -xf - >>> perl-net-ssh2 0.69 Patching >>> perl-net-ssh2 0.69 Configuring cd /home/naourr/work/instance-2/output/build/perl-net-ssh2-0.69/ && if [ -f Build.PL ] && [ MB != "EUMM" ] ; then PERL_MM_USE_DEFAULT=1 PERL5LIB= PERL_USE_UNSAFE_INC=1 /home/naourr/work/instance-2/output/host/bin/perl Build.PL --config ar="/home/naourr/work/instance-2/output/host/bin/arm-linux-ar" --config full_ar="/home/naourr/work/instance-2/output/host/bin/arm-linux-ar" --config cc="/home/naourr/work/instance-2/output/host/bin/arm-linux-gcc" --config ccflags="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " --config optimize=" " --config ld="/home/naourr/work/instance-2/output/host/bin/arm-linux-gcc" --config lddlflags="-shared " --config ldflags="" --include_dirs /home/naourr/work/instance-2/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/perl5/5.26.2/arm-linux/CORE --destdir /home/naourr/work/instance-2/output/target --installdirs vendor --install_path lib=/usr/lib/perl5/site_perl/5.26.2 --install_path arch=/usr/lib/perl5/site_perl/5.26.2/arm-linux --install_path bin=/usr/bin --install_path script=/usr/bin --install_path bindoc=/usr/share/man/man1 --install_path libdoc=/usr/share/man/man3 ; else PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps PERL5LIB= PERL_USE_UNSAFE_INC=1 /home/naourr/work/instance-2/output/host/bin/perl Makefile.PL AR="/home/naourr/work/instance-2/output/host/bin/arm-linux-ar" FULL_AR="/home/naourr/work/instance-2/output/host/bin/arm-linux-ar" CC="/home/naourr/work/instance-2/output/host/bin/arm-linux-gcc" CCFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " OPTIMIZE=" " LD="/home/naourr/work/instance-2/output/host/bin/arm-linux-gcc" LDDLFLAGS="-shared " LDFLAGS="" DESTDIR=/home/naourr/work/instance-2/output/target INSTALLDIRS=vendor INSTALLVENDORLIB=/usr/lib/perl5/site_perl/5.26.2 INSTALLVENDORARCH=/usr/lib/perl5/site_perl/5.26.2/arm-linux INSTALLVENDORBIN=/usr/bin INSTALLVENDORSCRIPT=/usr/bin INSTALLVENDORMAN1DIR=/usr/share/man/man1 INSTALLVENDORMAN3DIR=/usr/share/man/man3 ; fi Looking for libraries... The libssh2 library is required by this module. If you don't have it, you can download it from http://www.libssh2.org; you may also need OpenSSL, which can be obtained from http://www.openssl.org , or libgcrypt, which can be obtained from http://www.gnupg.org . Debian: sudo aptitude install libssh2-1-dev OpenSUSE: sudo zypper in libssh2-1 libssh2-devel You can pass your libssh2 lib and include dirs (and extra link args) on the command line. E.g.: perl Makefile.PL lib=$HOME/libssh2/lib inc=$HOME/libssh2/include \ ldargs="-lz" These can also be set through the LIBSSH2_LIB/LIBSSH2_INCLUDE/LIBSSH2_LDARGS environment variables. To build with libgcrypt instead of OpenSSL, pass 'gcrypt' as a parameter to Makefile.PL, e.g.: perl Makefile.PL gcrypt If you want to build on Windows, see the file BUILDING.WIN32 in the distribution. Unable to find a working version of library ssh2 in the following directories: /usr/local/lib /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64 /home/naourr/work/instance-2/output/host /usr /usr/local /opt /opt/local /usr/local/libssh2 /opt/libssh2 /usr/local/ssl /home/naourr /home/naourr/libssh2 make: *** [package/pkg-generic.mk:222: /home/naourr/work/instance-2/output/build/perl-net-ssh2-0.69/.stamp_configured] Error 2 make: Leaving directory '/home/naourr/work/instance-2/buildroot'