>>> perl-net-ssh2 0.69 Downloading PATH="/home/peko/autobuild/instance-0/output/host/bin:/home/peko/autobuild/instance-0/output/host/sbin:/home/peko/host/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" BR2_DL_DIR=/home/peko/autobuild/instance-0/dl BUILD_DIR=/home/peko/autobuild/instance-0/output/build O=/home/peko/autobuild/instance-0/output flock /home/peko/autobuild/instance-0/dl/perl-net-ssh2/ support/download/dl-wrapper -c '0.69' -d '/home/peko/autobuild/instance-0/dl/perl-net-ssh2' -D '/home/peko/autobuild/instance-0/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/peko/autobuild/instance-0/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-20 19:14:12-- 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/peko/autobuild/instance-0/output/build/.Net-SSH2-0.69.tar.gz.onpbhx/output' 0K .......... .......... .......... .......... .......... 36% 16.0M 0s 50K .......... .......... .......... .......... .......... 72% 16.5M 0s 100K .......... .......... .......... ....... 100% 16.4M=0.008s 2018-07-20 19:14:12 (16.3 MB/s) - `/home/peko/autobuild/instance-0/output/build/.Net-SSH2-0.69.tar.gz.onpbhx/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/peko/autobuild/instance-0/dl/perl-net-ssh2/Net-SSH2-0.69.tar.gz | /home/peko/autobuild/instance-0/output/host/bin/tar --strip-components=1 -C /home/peko/autobuild/instance-0/output/build/perl-net-ssh2-0.69 -xf - >>> perl-net-ssh2 0.69 Patching >>> perl-net-ssh2 0.69 Configuring cd /home/peko/autobuild/instance-0/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/peko/autobuild/instance-0/output/host/bin/perl Build.PL --config ar="/home/peko/autobuild/instance-0/output/host/bin/x86_64-ctng_locales-linux-gnu-ar" --config full_ar="/home/peko/autobuild/instance-0/output/host/bin/x86_64-ctng_locales-linux-gnu-ar" --config cc="/home/peko/autobuild/instance-0/output/host/bin/x86_64-ctng_locales-linux-gnu-gcc" --config ccflags="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " --config optimize=" " --config ld="/home/peko/autobuild/instance-0/output/host/bin/x86_64-ctng_locales-linux-gnu-gcc" --config lddlflags="-shared " --config ldflags="" --include_dirs /home/peko/autobuild/instance-0/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/perl5/5.26.2/x86_64-linux/CORE --destdir /home/peko/autobuild/instance-0/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/x86_64-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/peko/autobuild/instance-0/output/host/bin/perl Makefile.PL AR="/home/peko/autobuild/instance-0/output/host/bin/x86_64-ctng_locales-linux-gnu-ar" FULL_AR="/home/peko/autobuild/instance-0/output/host/bin/x86_64-ctng_locales-linux-gnu-ar" CC="/home/peko/autobuild/instance-0/output/host/bin/x86_64-ctng_locales-linux-gnu-gcc" CCFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " OPTIMIZE=" " LD="/home/peko/autobuild/instance-0/output/host/bin/x86_64-ctng_locales-linux-gnu-gcc" LDDLFLAGS="-shared " LDFLAGS="" DESTDIR=/home/peko/autobuild/instance-0/output/target INSTALLDIRS=vendor INSTALLVENDORLIB=/usr/lib/perl5/site_perl/5.26.2 INSTALLVENDORARCH=/usr/lib/perl5/site_perl/5.26.2/x86_64-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/gcc/x86_64-linux-gnu/4.7/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /home/peko/autobuild/instance-0/output/host /usr /usr/local /opt /opt/local /usr/local/libssh2 /opt/libssh2 /usr/local/ssl /home/peko /home/peko/libssh2 make: *** [/home/peko/autobuild/instance-0/output/build/perl-net-ssh2-0.69/.stamp_configured] Error 2 make: Leaving directory `/home/peko/autobuild/instance-0/buildroot'