Skip to content

Error configuring libssh2 - cannot find OpenSSL or Libgcrypt #728

Closed

Description

@ChrisPearce

Running "npm install" (after clearing the node_modules directory), I get the following error when my module tries to install the NodeGit dependency (based on the Master branch with latest commit 330abdb on 17 Sep 2015).

[nodegit] Configuring libssh2.
{ [Error: Command failed: /Users/user1/Workspaces/modules/myModule/node_modules/nodegit/vendor/libssh2/configure
configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
]

It appears it can't find the OpenSSL libraries, but OpenSSL is present on my system at /usr/bin/openssl

My environment is:
Node v4.1.0
OS X 10.11 (El Capitan)
NPM v2.14.3 (as bundled with Node v 4.1.0)
OpenSSL v0.9.8zg (as bundled with OS X 10.11)

Activity

  1. saper commented on Sep 19, 2015

    @saper
    Collaborator

    Can you try to get the config.log file? (Probably you need to check nodegit out of git and run npm install in the checked-out directory).

  2. ChrisPearce commented on Sep 19, 2015

    @ChrisPearce
    Author

    Thanks for the advice of looking in the config.log file.

    I've resolved the problem by installing the latest version of XCode 7 and also the latest version of the command line tools.

  3. saper commented on Sep 19, 2015

    @saper
    Collaborator

    Most probably your OpenSSL version was too old. Good that you can compile nodegit now!

  4. bmathews commented on Sep 28, 2015

    @bmathews

    @saper was right, even with XCode 7 and the latest cli tools on El Capitan, I still had to brew install openssl and link it with brew link openssl --force for it to work.

  5. SebastianSchenk commented on Oct 5, 2015

    @SebastianSchenk

    @bmathews answer worked for me!

  6. thomasjonas commented on Oct 9, 2015

    @thomasjonas

    @bmathews Thanks, that fixed my problem too!

  7. aral commented on Oct 12, 2015

    @aral
    Contributor

    In case you need a third confirmation, exact same experience (error with latest Xcode 7 command line tools installed), worked via @bmathews’s instructions (thanks!) :)

  8. samkelleher commented on Nov 3, 2015

    @samkelleher
    Contributor

    This seems to break again on linux using even newer versions.
    On OSX, I have 1.0.2d (installed via brew) and the compile works.
    On Alpine Linux, I have 1.0.2d and the compile fails with the exact same error.

  9. saper commented on Nov 3, 2015

    @saper
    Collaborator

    Is there a config.log file you can post?

  10. samkelleher commented on Nov 3, 2015

    @samkelleher
    Contributor

    Cheers @saper - I'm looking for the config.log - where is it located?

    [nodegit] Configuring libssh2.
    { [Error: Command failed: /usr/src/app/node_modules/nodegit/vendor/libssh2/configure
    configure: error: cannot find OpenSSL or Libgcrypt,
    try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
    ]
      killed: false,
      code: 1,
      signal: null,
      cmd: '/usr/src/app/node_modules/nodegit/vendor/libssh2/configure' }
    configure: error: cannot find OpenSSL or Libgcrypt,
    try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
    
  11. saper commented on Nov 3, 2015

    @saper
    Collaborator

    Cheers @saper - I'm looking for the config.log - where is it located?

    [nodegit] Configuring libssh2.
    { [Error: Command failed: /usr/src/app/node_modules/nodegit/vendor/libssh2/configure
    configure: error: cannot find OpenSSL or Libgcrypt,
    try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
    ]
      killed: false,
      code: 1,
      signal: null,
      cmd: '/usr/src/app/node_modules/nodegit/vendor/libssh2/configure' }
    configure: error: cannot find OpenSSL or Libgcrypt,
    try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
    

    Try:

    find /usr/src/app/node_modules/nodegit -name config.log

  12. samkelleher commented on Nov 4, 2015

    @samkelleher
    Contributor

    I found the log file in /usr/src/app/node_modules/nodegit/vendor/libssh2/console.log, it's quite lengthly. Despite the process exiting 0, nothing is output, i.e. the Release and debug directories are empty. This is the log file - it's quite lengthly - and notes failure to find certain files. Log file below (github wouldn't let me attached it).

    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    
    It was created by libssh2 configure -, which was
    generated by GNU Autoconf 2.69.  Invocation command line was
    
      $ /usr/src/app/node_modules/nodegit/vendor/libssh2/configure
    
    ## --------- ##
    ## Platform. ##
    ## --------- ##
    
    hostname = myapp.mydomain.com
    uname -m = x86_64
    uname -r = 4.0.9-boot2docker
    uname -s = Linux
    uname -v = #1 SMP Thu Sep 10 20:39:20 UTC 2015
    
    /usr/bin/uname -p = unknown
    /bin/uname -X     = unknown
    
    /bin/arch              = unknown
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo      = unknown
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown
    
    PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin
    PATH: /usr/src/app/node_modules/nodegit/node_modules/.bin
    PATH: /usr/src/app/node_modules/.bin
    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin
    
    
    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##
    
    configure:2324: checking whether to enable maintainer-specific portions of Makefiles
    configure:2333: result: no
    configure:2349: checking for sed
    configure:2368: found /bin/sed
    configure:2381: result: /bin/sed
    configure:2442: checking for a BSD-compatible install
    configure:2510: result: /usr/bin/install -c
    configure:2521: checking whether build environment is sane
    configure:2571: result: yes
    configure:2712: checking for a thread-safe mkdir -p
    configure:2751: result: /bin/mkdir -p
    configure:2764: checking for gawk
    configure:2794: result: no
    configure:2764: checking for mawk
    configure:2780: found /usr/bin/mawk
    configure:2791: result: mawk
    configure:2802: checking whether make sets $(MAKE)
    configure:2824: result: yes
    configure:2904: checking libssh2 version
    configure:2906: result: 1.4.3
    configure:2917: checking build system type
    configure:2931: result: x86_64-unknown-linux-gnu
    configure:2951: checking host system type
    configure:2964: result: x86_64-unknown-linux-gnu
    configure:2991: autobuild project... libssh2
    configure:2997: autobuild revision... 1.4.3
    configure:3002: autobuild hostname... myapp.mydomain.com
    configure:3013: autobuild timestamp... 20151104-105357
    configure:3054: checking for style of include used by make
    configure:3082: result: GNU
    configure:3153: checking for gcc
    configure:3169: found /usr/bin/gcc
    configure:3180: result: gcc
    configure:3409: checking for C compiler version
    configure:3418: gcc --version >&5
    gcc (Debian 4.9.2-10) 4.9.2
    Copyright (C) 2014 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    configure:3429: $? = 0
    configure:3418: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
    Target: x86_64-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
    Thread model: posix
    gcc version 4.9.2 (Debian 4.9.2-10)
    configure:3429: $? = 0
    configure:3418: gcc -V >&5
    gcc: error: unrecognized command line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3429: $? = 4
    configure:3418: gcc -qversion >&5
    gcc: error: unrecognized command line option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3429: $? = 4
    configure:3449: checking whether the C compiler works
    configure:3471: gcc    conftest.c  >&5
    configure:3475: $? = 0
    configure:3523: result: yes
    configure:3526: checking for C compiler default output file name
    configure:3528: result: a.out
    configure:3534: checking for suffix of executables
    configure:3541: gcc -o conftest    conftest.c  >&5
    configure:3545: $? = 0
    configure:3567: result:
    configure:3589: checking whether we are cross compiling
    configure:3597: gcc -o conftest    conftest.c  >&5
    configure:3601: $? = 0
    configure:3608: ./conftest
    configure:3612: $? = 0
    configure:3627: result: no
    configure:3632: checking for suffix of object files
    configure:3654: gcc -c   conftest.c >&5
    configure:3658: $? = 0
    configure:3679: result: o
    configure:3683: checking whether we are using the GNU C compiler
    configure:3702: gcc -c   conftest.c >&5
    configure:3702: $? = 0
    configure:3711: result: yes
    configure:3720: checking whether gcc accepts -g
    configure:3740: gcc -c -g  conftest.c >&5
    configure:3740: $? = 0
    configure:3781: result: yes
    configure:3798: checking for gcc option to accept ISO C89
    configure:3861: gcc  -c -g -O2  conftest.c >&5
    configure:3861: $? = 0
    configure:3874: result: none needed
    configure:3896: checking dependency style of gcc
    configure:4007: result: none
    configure:4028: checking how to run the C preprocessor
    configure:4059: gcc -E  conftest.c
    configure:4059: $? = 0
    configure:4073: gcc -E  conftest.c
    conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
     #include <ac_nonexistent.h>
                                ^
    compilation terminated.
    configure:4073: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:4098: result: gcc -E
    configure:4118: gcc -E  conftest.c
    configure:4118: $? = 0
    configure:4132: gcc -E  conftest.c
    conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
     #include <ac_nonexistent.h>
                                ^
    compilation terminated.
    configure:4132: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:4161: checking for grep that handles long lines and -e
    configure:4219: result: /bin/grep
    configure:4224: checking for egrep
    configure:4286: result: /bin/grep -E
    configure:4291: checking for ANSI C header files
    configure:4311: gcc -c -g -O2  conftest.c >&5
    configure:4311: $? = 0
    configure:4384: gcc -o conftest -g -O2   conftest.c  >&5
    configure:4384: $? = 0
    configure:4384: ./conftest
    configure:4384: $? = 0
    configure:4395: result: yes
    configure:4408: checking for sys/types.h
    configure:4408: gcc -c -g -O2  conftest.c >&5
    configure:4408: $? = 0
    configure:4408: result: yes
    configure:4408: checking for sys/stat.h
    configure:4408: gcc -c -g -O2  conftest.c >&5
    configure:4408: $? = 0
    configure:4408: result: yes
    configure:4408: checking for stdlib.h
    configure:4408: gcc -c -g -O2  conftest.c >&5
    configure:4408: $? = 0
    configure:4408: result: yes
    configure:4408: checking for string.h
    configure:4408: gcc -c -g -O2  conftest.c >&5
    configure:4408: $? = 0
    configure:4408: result: yes
    configure:4408: checking for memory.h
    configure:4408: gcc -c -g -O2  conftest.c >&5
    configure:4408: $? = 0
    configure:4408: result: yes
    configure:4408: checking for strings.h
    configure:4408: gcc -c -g -O2  conftest.c >&5
    configure:4408: $? = 0
    configure:4408: result: yes
    configure:4408: checking for inttypes.h
    configure:4408: gcc -c -g -O2  conftest.c >&5
    configure:4408: $? = 0
    configure:4408: result: yes
    configure:4408: checking for stdint.h
    configure:4408: gcc -c -g -O2  conftest.c >&5
    configure:4408: $? = 0
    configure:4408: result: yes
    configure:4408: checking for unistd.h
    configure:4408: gcc -c -g -O2  conftest.c >&5
    configure:4408: $? = 0
    configure:4408: result: yes
    configure:4420: checking for long long
    configure:4420: gcc -c -g -O2  conftest.c >&5
    configure:4420: $? = 0
    configure:4420: gcc -c -g -O2  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:57:24: error: expected expression before ')' token
     if (sizeof ((long long)))
                            ^
    configure:4420: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | int
    | main ()
    | {
    | if (sizeof ((long long)))
    |       return 0;
    |   ;
    |   return 0;
    | }
    configure:4420: result: yes
    configure:4432: checking if _REENTRANT is already defined
    configure:4454: gcc -c -g -O2  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:32:7: error: unknown type name 'force'
           force compilation error
           ^
    conftest.c:32:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
           force compilation error
                             ^
    configure:4454: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_LONGLONG 1
    | /* end confdefs.h.  */
    |
    |
    |
    | int
    | main ()
    | {
    |
    | #ifdef _REENTRANT
    |       int dummy=1;
    | #else
    |       force compilation error
    | #endif
    |
    |   ;
    |   return 0;
    | }
    |
    configure:4462: result: no
    configure:4470: checking if _REENTRANT is actually needed
    configure:4487: result: no
    configure:4492: checking if _REENTRANT is onwards defined
    configure:4509: result: no
    configure:4516: checking for library containing socket
    configure:4547: gcc -o conftest -g -O2   conftest.c  >&5
    configure:4547: $? = 0
    configure:4564: result: none required
    configure:4574: checking for library containing inet_addr
    configure:4605: gcc -o conftest -g -O2   conftest.c  >&5
    configure:4605: $? = 0
    configure:4622: result: none required
    configure:4681: checking for gcc
    configure:4708: result: gcc
    configure:4937: checking for C compiler version
    configure:4946: gcc --version >&5
    gcc (Debian 4.9.2-10) 4.9.2
    Copyright (C) 2014 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    configure:4957: $? = 0
    configure:4946: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
    Target: x86_64-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
    Thread model: posix
    gcc version 4.9.2 (Debian 4.9.2-10)
    configure:4957: $? = 0
    configure:4946: gcc -V >&5
    gcc: error: unrecognized command line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:4957: $? = 4
    configure:4946: gcc -qversion >&5
    gcc: error: unrecognized command line option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.
    configure:4957: $? = 4
    configure:4961: checking whether we are using the GNU C compiler
    configure:4989: result: yes
    configure:4998: checking whether gcc accepts -g
    configure:5059: result: yes
    configure:5076: checking for gcc option to accept ISO C89
    configure:5152: result: none needed
    configure:5174: checking dependency style of gcc
    configure:5285: result: none
    configure:5301: checking whether ln -s works
    configure:5305: result: yes
    configure:5312: checking whether make sets $(MAKE)
    configure:5334: result: yes
    configure:5347: checking for sshd
    configure:5380: result: no
    configure:5745: checking how to print strings
    configure:5772: result: printf
    configure:5793: checking for a sed that does not truncate output
    configure:5857: result: /bin/sed
    configure:5875: checking for fgrep
    configure:5937: result: /bin/grep -F
    configure:5972: checking for ld used by gcc
    configure:6039: result: /usr/bin/ld
    configure:6046: checking if the linker (/usr/bin/ld) is GNU ld
    configure:6061: result: yes
    configure:6073: checking for BSD- or MS-compatible name lister (nm)
    configure:6122: result: /usr/bin/nm -B
    configure:6252: checking the name lister (/usr/bin/nm -B) interface
    configure:6259: gcc -c -g -O2  conftest.c >&5
    configure:6262: /usr/bin/nm -B "conftest.o"
    configure:6265: output
    0000000000000000 B some_variable
    configure:6272: result: BSD nm
    configure:6276: checking the maximum length of command line arguments
    configure:6406: result: 1572864
    configure:6423: checking whether the shell understands some XSI constructs
    configure:6433: result: yes
    configure:6437: checking whether the shell understands "+="
    configure:6443: result: yes
    configure:6478: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
    configure:6518: result: func_convert_file_noop
    configure:6525: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
    configure:6545: result: func_convert_file_noop
    configure:6552: checking for /usr/bin/ld option to reload object files
    configure:6559: result: -r
    configure:6633: checking for objdump
    configure:6660: result: objdump
    configure:6689: checking how to recognize dependent libraries
    configure:6887: result: pass_all
    configure:6972: checking for dlltool
    configure:6999: result: dlltool
    configure:7029: checking how to associate runtime and link libraries
    configure:7056: result: printf %s\n
    configure:7116: checking for ar
    configure:7132: found /usr/bin/ar
    configure:7143: result: ar
    configure:7180: checking for archiver @FILE support
    configure:7197: gcc -c -g -O2  conftest.c >&5
    configure:7197: $? = 0
    configure:7200: ar cru libconftest.a @conftest.lst >&5
    configure:7203: $? = 0
    configure:7208: ar cru libconftest.a @conftest.lst >&5
    ar: conftest.o: No such file or directory
    configure:7211: $? = 1
    configure:7223: result: @
    configure:7281: checking for strip
    configure:7297: found /usr/bin/strip
    configure:7308: result: strip
    configure:7380: checking for ranlib
    configure:7396: found /usr/bin/ranlib
    configure:7407: result: ranlib
    configure:7509: checking command to parse /usr/bin/nm -B output from gcc object
    configure:7629: gcc -c -g -O2  conftest.c >&5
    configure:7632: $? = 0
    configure:7636: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
    configure:7639: $? = 0
    configure:7705: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
    configure:7708: $? = 0
    configure:7746: result: ok
    configure:7783: checking for sysroot
    configure:7813: result: no
    configure:7890: gcc -c -g -O2  conftest.c >&5
    configure:7893: $? = 0
    configure:8069: checking for mt
    configure:8099: result: no
    configure:8119: checking if : is a manifest tool
    configure:8125: : '-?'
    configure:8133: result: no
    configure:8772: checking for dlfcn.h
    configure:8772: gcc -c -g -O2  conftest.c >&5
    configure:8772: $? = 0
    configure:8772: result: yes
    configure:8976: checking for objdir
    configure:8991: result: .libs
    configure:9262: checking if gcc supports -fno-rtti -fno-exceptions
    configure:9280: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
    cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
    configure:9284: $? = 0
    configure:9297: result: no
    configure:9624: checking for gcc option to produce PIC
    configure:9631: result: -fPIC -DPIC
    configure:9639: checking if gcc PIC flag -fPIC -DPIC works
    configure:9657: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
    configure:9661: $? = 0
    configure:9674: result: yes
    configure:9703: checking if gcc static flag -static works
    configure:9731: result: yes
    configure:9746: checking if gcc supports -c -o file.o
    configure:9767: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
    configure:9771: $? = 0
    configure:9793: result: yes
    configure:9801: checking if gcc supports -c -o file.o
    configure:9848: result: yes
    configure:9881: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
    configure:11038: result: yes
    configure:11075: checking whether -lc should be explicitly linked in
    configure:11083: gcc -c -g -O2  conftest.c >&5
    configure:11086: $? = 0
    configure:11101: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
    configure:11104: $? = 0
    configure:11118: result: no
    configure:11278: checking dynamic linker characteristics
    configure:11778: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
    configure:11778: $? = 0
    configure:12012: result: GNU/Linux ld.so
    configure:12119: checking how to hardcode library paths into programs
    configure:12144: result: immediate
    configure:12684: checking whether stripping libraries is possible
    configure:12689: result: yes
    configure:12724: checking if libtool supports shared libraries
    configure:12726: result: yes
    configure:12729: checking whether to build shared libraries
    configure:12750: result: yes
    configure:12753: checking whether to build static libraries
    configure:12757: result: yes
    configure:12794: checking whether byte ordering is bigendian
    configure:12809: gcc -c -g -O2  conftest.c >&5
    conftest.c:25:9: error: unknown type name 'not'
             not a universal capable compiler
             ^
    conftest.c:25:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
             not a universal capable compiler
                   ^
    conftest.c:25:15: error: unknown type name 'universal'
    configure:12809: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_LONGLONG 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR ".libs/"
    | /* end confdefs.h.  */
    | #ifndef __APPLE_CC__
    |          not a universal capable compiler
    |        #endif
    |        typedef int dummy;
    |
    configure:12854: gcc -c -g -O2  conftest.c >&5
    configure:12854: $? = 0
    configure:12872: gcc -c -g -O2  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:31:4: error: unknown type name 'not'
        not big endian
        ^
    conftest.c:31:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
        not big endian
                ^
    configure:12872: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_LONGLONG 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR ".libs/"
    | /* end confdefs.h.  */
    | #include <sys/types.h>
    |       #include <sys/param.h>
    |
    | int
    | main ()
    | {
    | #if BYTE_ORDER != BIG_ENDIAN
    |        not big endian
    |       #endif
    |
    |   ;
    |   return 0;
    | }
    configure:13000: result: no
    configure:13026: checking for special C compiler options needed for large files
    configure:13071: result: no
    configure:13077: checking for _FILE_OFFSET_BITS value needed for large files
    configure:13102: gcc -c -g -O2  conftest.c >&5
    configure:13102: $? = 0
    configure:13134: result: no
    configure:13288: checking for ld used by GCC
    configure:13352: result: /usr/bin/ld -m elf_x86_64
    configure:13359: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
    configure:13372: result: yes
    configure:13379: checking for shared library run path origin
    configure:13392: result: done
    configure:13897: checking for libssl
    configure:13916: gcc -o conftest -g -O2   conftest.c  -lssl -lcrypto >&5
    configure:13916: $? = 0
    configure:13926: result: yes
    configure:13933: checking how to link with libssl
    configure:13935: result: -lssl -lcrypto
    configure:14507: checking for EVP_aes_128_ctr
    configure:14507: gcc -o conftest -g -O2   -lssl -lcrypto conftest.c  >&5
    configure:14507: $? = 0
    configure:14507: result: yes
    configure:14988: checking for libz
    configure:15007: gcc -o conftest -g -O2   conftest.c  -lz >&5
    configure:15007: $? = 0
    configure:15017: result: yes
    configure:15024: checking how to link with libz
    configure:15026: result: -lz
    configure:15084: checking whether to enable pedantic and debug compiler options
    configure:15217: result: no
    configure:15223: checking whether to enable hidden symbols in the library
    configure:15264: result: no
    configure:15271: checking whether to build example applications
    configure:15287: result: yes
    configure:15303: checking errno.h usability
    configure:15303: gcc -c -g -O2  conftest.c >&5
    configure:15303: $? = 0
    configure:15303: result: yes
    configure:15303: checking errno.h presence
    configure:15303: gcc -E  conftest.c
    configure:15303: $? = 0
    configure:15303: result: yes
    configure:15303: checking for errno.h
    configure:15303: result: yes
    configure:15303: checking fcntl.h usability
    configure:15303: gcc -c -g -O2  conftest.c >&5
    configure:15303: $? = 0
    configure:15303: result: yes
    configure:15303: checking fcntl.h presence
    configure:15303: gcc -E  conftest.c
    configure:15303: $? = 0
    configure:15303: result: yes
    configure:15303: checking for fcntl.h
    configure:15303: result: yes
    configure:15303: checking stdio.h usability
    configure:15303: gcc -c -g -O2  conftest.c >&5
    configure:15303: $? = 0
    configure:15303: result: yes
    configure:15303: checking stdio.h presence
    configure:15303: gcc -E  conftest.c
    configure:15303: $? = 0
    configure:15303: result: yes
    configure:15303: checking for stdio.h
    configure:15303: result: yes
    configure:15303: checking for stdlib.h
    configure:15303: result: yes
    configure:15303: checking for unistd.h
    configure:15303: result: yes
    configure:15303: checking sys/uio.h usability
    configure:15303: gcc -c -g -O2  conftest.c >&5
    configure:15303: $? = 0
    configure:15303: result: yes
    configure:15303: checking sys/uio.h presence
    configure:15303: gcc -E  conftest.c
    configure:15303: $? = 0
    configure:15303: result: yes
    configure:15303: checking for sys/uio.h
    configure:15303: result: yes
    configure:15316: checking sys/select.h usability
    configure:15316: gcc -c -g -O2  conftest.c >&5
    configure:15316: $? = 0
    configure:15316: result: yes
    configure:15316: checking sys/select.h presence
    configure:15316: gcc -E  conftest.c
    configure:15316: $? = 0
    configure:15316: result: yes
    configure:15316: checking for sys/select.h
    configure:15316: result: yes
    configure:15316: checking sys/socket.h usability
    configure:15316: gcc -c -g -O2  conftest.c >&5
    configure:15316: $? = 0
    configure:15316: result: yes
    configure:15316: checking sys/socket.h presence
    configure:15316: gcc -E  conftest.c
    configure:15316: $? = 0
    configure:15316: result: yes
    configure:15316: checking for sys/socket.h
    configure:15316: result: yes
    configure:15316: checking sys/ioctl.h usability
    configure:15316: gcc -c -g -O2  conftest.c >&5
    configure:15316: $? = 0
    configure:15316: result: yes
    configure:15316: checking sys/ioctl.h presence
    configure:15316: gcc -E  conftest.c
    configure:15316: $? = 0
    configure:15316: result: yes
    configure:15316: checking for sys/ioctl.h
    configure:15316: result: yes
    configure:15316: checking sys/time.h usability
    configure:15316: gcc -c -g -O2  conftest.c >&5
    configure:15316: $? = 0
    configure:15316: result: yes
    configure:15316: checking sys/time.h presence
    configure:15316: gcc -E  conftest.c
    configure:15316: $? = 0
    configure:15316: result: yes
    configure:15316: checking for sys/time.h
    configure:15316: result: yes
    configure:15329: checking arpa/inet.h usability
    configure:15329: gcc -c -g -O2  conftest.c >&5
    configure:15329: $? = 0
    configure:15329: result: yes
    configure:15329: checking arpa/inet.h presence
    configure:15329: gcc -E  conftest.c
    configure:15329: $? = 0
    configure:15329: result: yes
    configure:15329: checking for arpa/inet.h
    configure:15329: result: yes
    configure:15329: checking netinet/in.h usability
    configure:15329: gcc -c -g -O2  conftest.c >&5
    configure:15329: $? = 0
    configure:15329: result: yes
    configure:15329: checking netinet/in.h presence
    configure:15329: gcc -E  conftest.c
    configure:15329: $? = 0
    configure:15329: result: yes
    configure:15329: checking for netinet/in.h
    configure:15329: result: yes
    configure:15341: checking sys/un.h usability
    configure:15341: gcc -c -g -O2  conftest.c >&5
    configure:15341: $? = 0
    configure:15341: result: yes
    configure:15341: checking sys/un.h presence
    configure:15341: gcc -E  conftest.c
    configure:15341: $? = 0
    configure:15341: result: yes
    configure:15341: checking for sys/un.h
    configure:15341: result: yes
    configure:15370: checking windows.h usability
    configure:15370: gcc -c -g -O2  conftest.c >&5
    conftest.c:75:21: fatal error: windows.h: No such file or directory
     #include <windows.h>
                         ^
    compilation terminated.
    configure:15370: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_LONGLONG 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR ".libs/"
    | #define HAVE_LIBSSL 1
    | #define HAVE_EVP_AES_128_CTR 1
    | #define HAVE_LIBZ 1
    | #define LIBSSH2_HAVE_ZLIB 1
    | #define LIBSSH2_DH_GEX_NEW 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDIO_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_NETINET_IN_H 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <windows.h>
    configure:15370: result: no
    configure:15370: checking windows.h presence
    configure:15370: gcc -E  conftest.c
    conftest.c:42:21: fatal error: windows.h: No such file or directory
     #include <windows.h>
                         ^
    compilation terminated.
    configure:15370: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_LONGLONG 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR ".libs/"
    | #define HAVE_LIBSSL 1
    | #define HAVE_EVP_AES_128_CTR 1
    | #define HAVE_LIBZ 1
    | #define LIBSSH2_HAVE_ZLIB 1
    | #define LIBSSH2_DH_GEX_NEW 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDIO_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_NETINET_IN_H 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | #include <windows.h>
    configure:15370: result: no
    configure:15370: checking for windows.h
    configure:15370: result: no
    configure:15370: checking winsock2.h usability
    configure:15370: gcc -c -g -O2  conftest.c >&5
    conftest.c:75:22: fatal error: winsock2.h: No such file or directory
     #include <winsock2.h>
                          ^
    compilation terminated.
    configure:15370: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_LONGLONG 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR ".libs/"
    | #define HAVE_LIBSSL 1
    | #define HAVE_EVP_AES_128_CTR 1
    | #define HAVE_LIBZ 1
    | #define LIBSSH2_HAVE_ZLIB 1
    | #define LIBSSH2_DH_GEX_NEW 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDIO_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_NETINET_IN_H 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <winsock2.h>
    configure:15370: result: no
    configure:15370: checking winsock2.h presence
    configure:15370: gcc -E  conftest.c
    conftest.c:42:22: fatal error: winsock2.h: No such file or directory
     #include <winsock2.h>
                          ^
    compilation terminated.
    configure:15370: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_LONGLONG 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR ".libs/"
    | #define HAVE_LIBSSL 1
    | #define HAVE_EVP_AES_128_CTR 1
    | #define HAVE_LIBZ 1
    | #define LIBSSH2_HAVE_ZLIB 1
    | #define LIBSSH2_DH_GEX_NEW 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDIO_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_NETINET_IN_H 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | #include <winsock2.h>
    configure:15370: result: no
    configure:15370: checking for winsock2.h
    configure:15370: result: no
    configure:15370: checking ws2tcpip.h usability
    configure:15370: gcc -c -g -O2  conftest.c >&5
    conftest.c:75:22: fatal error: ws2tcpip.h: No such file or directory
     #include <ws2tcpip.h>
                          ^
    compilation terminated.
    configure:15370: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_LONGLONG 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR ".libs/"
    | #define HAVE_LIBSSL 1
    | #define HAVE_EVP_AES_128_CTR 1
    | #define HAVE_LIBZ 1
    | #define LIBSSH2_HAVE_ZLIB 1
    | #define LIBSSH2_DH_GEX_NEW 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDIO_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_NETINET_IN_H 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <ws2tcpip.h>
    configure:15370: result: no
    configure:15370: checking ws2tcpip.h presence
    configure:15370: gcc -E  conftest.c
    conftest.c:42:22: fatal error: ws2tcpip.h: No such file or directory
     #include <ws2tcpip.h>
                          ^
    compilation terminated.
    configure:15370: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_LONGLONG 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR ".libs/"
    | #define HAVE_LIBSSL 1
    | #define HAVE_EVP_AES_128_CTR 1
    | #define HAVE_LIBZ 1
    | #define LIBSSH2_HAVE_ZLIB 1
    | #define LIBSSH2_DH_GEX_NEW 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDIO_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_NETINET_IN_H 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | #include <ws2tcpip.h>
    configure:15370: result: no
    configure:15370: checking for ws2tcpip.h
    configure:15370: result: no
    configure:15391: checking for poll
    configure:15391: gcc -o conftest -g -O2   conftest.c  >&5
    configure:15391: $? = 0
    configure:15391: result: yes
    configure:15406: checking for gettimeofday
    configure:15406: gcc -o conftest -g -O2   conftest.c  >&5
    configure:15406: $? = 0
    configure:15406: result: yes
    configure:15406: checking for select
    configure:15406: gcc -o conftest -g -O2   conftest.c  >&5
    configure:15406: $? = 0
    configure:15406: result: yes
    configure:15406: checking for strtoll
    configure:15406: gcc -o conftest -g -O2   conftest.c  >&5
    configure:15406: $? = 0
    configure:15406: result: yes
    configure:15460: checking for size_t
    configure:15460: gcc -c -g -O2  conftest.c >&5
    configure:15460: $? = 0
    configure:15460: gcc -c -g -O2  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:82:21: error: expected expression before ')' token
     if (sizeof ((size_t)))
                         ^
    configure:15460: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "libssh2"
    | #define PACKAGE_TARNAME "libssh2"
    | #define PACKAGE_VERSION "-"
    | #define PACKAGE_STRING "libssh2 -"
    | #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    | #define PACKAGE_URL ""
    | #define PACKAGE "libssh2"
    | #define VERSION "-"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_LONGLONG 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR ".libs/"
    | #define HAVE_LIBSSL 1
    | #define HAVE_EVP_AES_128_CTR 1
    | #define HAVE_LIBZ 1
    | #define LIBSSH2_HAVE_ZLIB 1
    | #define LIBSSH2_DH_GEX_NEW 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDIO_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_NETINET_IN_H 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_POLL 1
    | #define HAVE_GETTIMEOFDAY 1
    | #define HAVE_SELECT 1
    | #define HAVE_STRTOLL 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | int
    | main ()
    | {
    | if (sizeof ((size_t)))
    |       return 0;
    |   ;
    |   return 0;
    | }
    configure:15460: result: yes
    configure:15473: checking for working alloca.h
    configure:15490: gcc -o conftest -g -O2   conftest.c  >&5
    configure:15490: $? = 0
    configure:15498: result: yes
    configure:15506: checking for alloca
    configure:15543: gcc -o conftest -g -O2   conftest.c  >&5
    configure:15543: $? = 0
    configure:15551: result: yes
    configure:15659: checking for an ANSI C-conforming const
    configure:15725: gcc -c -g -O2  conftest.c >&5
    configure:15725: $? = 0
    configure:15732: result: yes
    configure:15740: checking for inline
    configure:15756: gcc -c -g -O2  conftest.c >&5
    configure:15756: $? = 0
    configure:15764: result: inline
    configure:15784: checking non-blocking sockets style
    configure:15822: gcc -c -g -O2  conftest.c >&5
    configure:15822: $? = 0
    configure:15983: result: O_NONBLOCK
    configure:16149: creating ./config.status
    
    ## ---------------------- ##
    ## Running config.status. ##
    ## ---------------------- ##
    
    This file was extended by libssh2 config.status -, which was
    generated by GNU Autoconf 2.69.  Invocation command line was
    
      CONFIG_FILES    =
      CONFIG_HEADERS  =
      CONFIG_LINKS    =
      CONFIG_COMMANDS =
      $ ./config.status
    
    on myapp.mydomain.com
    
    config.status:1137: creating Makefile
    config.status:1137: creating src/Makefile
    config.status:1137: creating tests/Makefile
    config.status:1137: creating example/Makefile
    config.status:1137: creating docs/Makefile
    config.status:1137: creating libssh2.pc
    config.status:1137: creating src/libssh2_config.h
    config.status:1318: src/libssh2_config.h is unchanged
    config.status:1137: creating example/libssh2_config.h
    config.status:1318: example/libssh2_config.h is unchanged
    config.status:1366: executing depfiles commands
    config.status:1366: executing libtool commands
    configure:18400: summary of build options:
    
      version:          1.4.3
      Host type:        x86_64-unknown-linux-gnu
      Install prefix:   /usr/local
      Compiler:         gcc
      Compiler flags:   -g -O2
      Library types:    Shared=yes, Static=yes
      Crypto library:   openssl: yes (AES-CTR: yes) libgcrypt: no
      Debug build:      no
      Build examples:   yes
      Path to sshd:      (only for self-tests)
      libz compression: yes
    
    
    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##
    
    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_c_bigendian=no
    ac_cv_c_compiler_gnu=yes
    ac_cv_c_const=yes
    ac_cv_c_inline=inline
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_func_EVP_aes_128_ctr=yes
    ac_cv_func_alloca_works=yes
    ac_cv_func_gettimeofday=yes
    ac_cv_func_poll=yes
    ac_cv_func_select=yes
    ac_cv_func_strtoll=yes
    ac_cv_header_arpa_inet_h=yes
    ac_cv_header_dlfcn_h=yes
    ac_cv_header_errno_h=yes
    ac_cv_header_fcntl_h=yes
    ac_cv_header_inttypes_h=yes
    ac_cv_header_memory_h=yes
    ac_cv_header_netinet_in_h=yes
    ac_cv_header_stdc=yes
    ac_cv_header_stdint_h=yes
    ac_cv_header_stdio_h=yes
    ac_cv_header_stdlib_h=yes
    ac_cv_header_string_h=yes
    ac_cv_header_strings_h=yes
    ac_cv_header_sys_ioctl_h=yes
    ac_cv_header_sys_select_h=yes
    ac_cv_header_sys_socket_h=yes
    ac_cv_header_sys_stat_h=yes
    ac_cv_header_sys_time_h=yes
    ac_cv_header_sys_types_h=yes
    ac_cv_header_sys_uio_h=yes
    ac_cv_header_sys_un_h=yes
    ac_cv_header_unistd_h=yes
    ac_cv_header_windows_h=no
    ac_cv_header_winsock2_h=no
    ac_cv_header_ws2tcpip_h=no
    ac_cv_host=x86_64-unknown-linux-gnu
    ac_cv_libssl=yes
    ac_cv_libz=yes
    ac_cv_objext=o
    ac_cv_path_EGREP='/bin/grep -E'
    ac_cv_path_FGREP='/bin/grep -F'
    ac_cv_path_GREP=/bin/grep
    ac_cv_path_SED=/bin/sed
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=mawk
    ac_cv_prog_CPP='gcc -E'
    ac_cv_prog_ac_ct_AR=ar
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_ac_ct_DLLTOOL=dlltool
    ac_cv_prog_ac_ct_OBJDUMP=objdump
    ac_cv_prog_ac_ct_RANLIB=ranlib
    ac_cv_prog_ac_ct_STRIP=strip
    ac_cv_prog_cc_c89=
    ac_cv_prog_cc_g=yes
    ac_cv_prog_make_make_set=yes
    ac_cv_search_inet_addr='none required'
    ac_cv_search_socket='none required'
    ac_cv_sys_file_offset_bits=no
    ac_cv_sys_largefile_CC=no
    ac_cv_type_long_long=yes
    ac_cv_type_size_t=yes
    ac_cv_working_alloca_h=yes
    acl_cv_hardcode_direct=no
    acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    acl_cv_hardcode_libdir_separator=
    acl_cv_hardcode_minus_L=no
    acl_cv_libext=a
    acl_cv_libname_spec='lib$name'
    acl_cv_library_names_spec='$libname$shrext'
    acl_cv_path_LD='/usr/bin/ld -m elf_x86_64'
    acl_cv_prog_gnu_ld=yes
    acl_cv_rpath=done
    acl_cv_shlibext=so
    acl_cv_wl=-Wl,
    am_cv_CC_dependencies_compiler_type=none
    lt_cv_ar_at_file=@
    lt_cv_archive_cmds_need_lc=no
    lt_cv_deplibs_check_method=pass_all
    lt_cv_file_magic_cmd='$MAGIC_CMD'
    lt_cv_file_magic_test_file=
    lt_cv_ld_reload_flag=-r
    lt_cv_nm_interface='BSD nm'
    lt_cv_objdir=.libs
    lt_cv_path_LD=/usr/bin/ld
    lt_cv_path_NM='/usr/bin/nm -B'
    lt_cv_path_mainfest_tool=no
    lt_cv_prog_compiler_c_o=yes
    lt_cv_prog_compiler_pic='-fPIC -DPIC'
    lt_cv_prog_compiler_pic_works=yes
    lt_cv_prog_compiler_rtti_exceptions=no
    lt_cv_prog_compiler_static_works=yes
    lt_cv_prog_gnu_ld=yes
    lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
    lt_cv_shlibpath_overrides_runpath=no
    lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[   ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
    lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
    lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
    lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
    lt_cv_sys_max_cmd_len=1572864
    lt_cv_to_host_file_cmd=func_convert_file_noop
    lt_cv_to_tool_file_cmd=func_convert_file_noop
    
    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##
    
    ACLOCAL='${SHELL} /usr/src/app/node_modules/nodegit/vendor/libssh2/missing --run aclocal-1.11'
    ALLOCA=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='$${TAR-tar}'
    AR='ar'
    AS='as'
    AUTOCONF='${SHELL} /usr/src/app/node_modules/nodegit/vendor/libssh2/missing --run autoconf'
    AUTOHEADER='${SHELL} /usr/src/app/node_modules/nodegit/vendor/libssh2/missing --run autoheader'
    AUTOMAKE='${SHELL} /usr/src/app/node_modules/nodegit/vendor/libssh2/missing --run automake-1.11'
    AWK='mawk'
    BUILD_EXAMPLES_FALSE='#'
    BUILD_EXAMPLES_TRUE=''
    CC='gcc'
    CCDEPMODE='depmode=none'
    CFLAGS='-g -O2'
    CPP='gcc -E'
    CPPFLAGS=''
    CYGPATH_W='echo'
    DEFS='-DHAVE_CONFIG_H'
    DEPDIR='.deps'
    DLLTOOL='dlltool'
    DSYMUTIL=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP='/bin/grep -E'
    EXEEXT=''
    FGREP='/bin/grep -F'
    GREP='/bin/grep'
    HAVE_LIBGCRYPT=''
    HAVE_LIBSSL='yes'
    HAVE_LIBZ='yes'
    HAVE_SYS_UN_H_FALSE='#'
    HAVE_SYS_UN_H_TRUE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    LD='/usr/bin/ld -m elf_x86_64'
    LDFLAGS=''
    LIBGCRYPT=''
    LIBGCRYPT_FALSE=''
    LIBGCRYPT_PREFIX=''
    LIBGCRYPT_TRUE='#'
    LIBOBJS=''
    LIBS=''
    LIBSREQUIRED='libssl,libcrypto'
    LIBSSH2VER='1.4.3'
    LIBSSL='-lssl -lcrypto'
    LIBSSL_PREFIX=''
    LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    LIBZ='-lz'
    LIBZ_PREFIX=''
    LIPO=''
    LN_S='ln -s'
    LTLIBGCRYPT=''
    LTLIBOBJS=''
    LTLIBSSL='-lssl -lcrypto'
    LTLIBZ='-lz'
    MAINT='#'
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE='#'
    MAKEINFO='${SHELL} /usr/src/app/node_modules/nodegit/vendor/libssh2/missing --run makeinfo'
    MANIFEST_TOOL=':'
    MKDIR_P='/bin/mkdir -p'
    NM='/usr/bin/nm -B'
    NMEDIT=''
    OBJDUMP='objdump'
    OBJEXT='o'
    OTOOL64=''
    OTOOL=''
    PACKAGE='libssh2'
    PACKAGE_BUGREPORT='libssh2-devel@cool.haxx.se'
    PACKAGE_NAME='libssh2'
    PACKAGE_STRING='libssh2 -'
    PACKAGE_TARNAME='libssh2'
    PACKAGE_URL=''
    PACKAGE_VERSION='-'
    PATH_SEPARATOR=':'
    RANLIB='ranlib'
    SED='/bin/sed'
    SET_MAKE=''
    SHELL='/bin/bash'
    SSHD=''
    SSHD_FALSE=''
    SSHD_TRUE='#'
    STRIP='strip'
    VERSION='-'
    ac_ct_AR='ar'
    ac_ct_CC='gcc'
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE='#'
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE='#'
    am__include='include'
    am__isrc=''
    am__leading_dot='.'
    am__nodep='_no'
    am__quote=''
    am__tar='$${TAR-tar} chof - "$$tardir"'
    am__untar='$${TAR-tar} xf -'
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias=''
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='${prefix}'
    host='x86_64-unknown-linux-gnu'
    host_alias=''
    host_cpu='x86_64'
    host_os='linux-gnu'
    host_vendor='unknown'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /usr/src/app/node_modules/nodegit/vendor/libssh2/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr/local'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''
    
    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##
    
    /* confdefs.h */
    #define PACKAGE_NAME "libssh2"
    #define PACKAGE_TARNAME "libssh2"
    #define PACKAGE_VERSION "-"
    #define PACKAGE_STRING "libssh2 -"
    #define PACKAGE_BUGREPORT "libssh2-devel@cool.haxx.se"
    #define PACKAGE_URL ""
    #define PACKAGE "libssh2"
    #define VERSION "-"
    #define STDC_HEADERS 1
    #define HAVE_SYS_TYPES_H 1
    #define HAVE_SYS_STAT_H 1
    #define HAVE_STDLIB_H 1
    #define HAVE_STRING_H 1
    #define HAVE_MEMORY_H 1
    #define HAVE_STRINGS_H 1
    #define HAVE_INTTYPES_H 1
    #define HAVE_STDINT_H 1
    #define HAVE_UNISTD_H 1
    #define HAVE_LONGLONG 1
    #define HAVE_DLFCN_H 1
    #define LT_OBJDIR ".libs/"
    #define HAVE_LIBSSL 1
    #define HAVE_EVP_AES_128_CTR 1
    #define HAVE_LIBZ 1
    #define LIBSSH2_HAVE_ZLIB 1
    #define LIBSSH2_DH_GEX_NEW 1
    #define HAVE_ERRNO_H 1
    #define HAVE_FCNTL_H 1
    #define HAVE_STDIO_H 1
    #define HAVE_STDLIB_H 1
    #define HAVE_UNISTD_H 1
    #define HAVE_SYS_UIO_H 1
    #define HAVE_SYS_SELECT_H 1
    #define HAVE_SYS_SOCKET_H 1
    #define HAVE_SYS_IOCTL_H 1
    #define HAVE_SYS_TIME_H 1
    #define HAVE_ARPA_INET_H 1
    #define HAVE_NETINET_IN_H 1
    #define HAVE_SYS_UN_H 1
    #define HAVE_POLL 1
    #define HAVE_GETTIMEOFDAY 1
    #define HAVE_SELECT 1
    #define HAVE_STRTOLL 1
    #define HAVE_ALLOCA_H 1
    #define HAVE_ALLOCA 1
    #define HAVE_O_NONBLOCK 1
    
    configure: exit 0
    
  13. bric3 commented on Dec 10, 2015

    @bric3

    EDITED
    I would do what @bmathews suggest in his comment : brew link openssl --force
    I wouldn't do what @bmathews suggest in his comment : brew link openssl --force

    The brew guys had a reason to not link openssl by default, it's because it may break your OS, as it relies on this version.

  14. maxkorp commented on Dec 11, 2015

    @maxkorp
    Collaborator

    Yup, apple stopped bundling openssl headers (they use a new tls lib) on el capitan

  15. bric3 commented on Dec 12, 2015

    @bric3

    @maxkorp I edited my answer, sorry typo ;)
    Anyway thanks for the explanation. @johnhaley81's answer in #753 about upgrading to version 0.6.0 solves the issue without that brew trick.

  16. n8behavior commented on Sep 14, 2016

    @n8behavior

    Ubuntu 16.04 needs sudo apt install libssl-dev then good to go.

  17. namel commented on May 22, 2017

    @namel

    The usual fix didn't work for me. I am on Ubuntu 16.04, I ran sudo apt install libssl-dev which installed version 1.0.2g-1ubuntu4.6.

    But when I try to install nodegit it fails. I fixed this by adding gcc:

    sudo apt install -y gcc

  18. joncamfield commented on Jul 24, 2017

    @joncamfield

    I have this problem on Ubuntu 17.04, libssl, libssl-dev and gcc are all already installed. Any other potential dependencies that might be blocking nodegit's libssh2 installation?

  19. gihook commented on Apr 9, 2018

    @gihook

    I had the same problem on Fedora. Fixed it by installing openssl-devel. My bet is that it will work on CentOS as well.

  20. alias137 commented on Nov 22, 2019

    @alias137

    I can confirm (on CentOS 8) that after I've installed openssl-devel worked.
    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions