============================================================
* Build libssh2
Download the latest libssh2 from:
http://libssh2.org/
Unpack it and go into it:
tar zxvf libssh2-1.4.2.tar.gz
cd libssh2-1.4.2
Note the directories where you built OpenSSL and zlib, I will use mine in the following example.
Build libssh2:
./buildconf
./configure --with-openssl --with-libz \
--with-libssl-prefix=/c/Users/rkitover/src/openssl-1.0.1c \
--with-libz-prefix=/c/Users/rkitover/src/zlib-1.2.7 \
--disable-examples-build
make -j3
The libssh2.a will be in src/.libs .
===========================================================
####
C:\libssh2-1.4.2>sh buildconf
which: libtoolize: unknown command
which: glibtoolize: unknown command
Neither libtoolize nor glibtoolize could be found!
##
##
C:\libssh2-1.4.2>sh buildconf
buildconf: line 15: aclocal: command not found
buildconf: line 16: autoheader: command not found
buildconf: line 21: autoconf: command not found
buildconf: line 22: automake: command not found
C:\libssh2-1.4.2>