Question 1:
Configure:error:Your OpenSSL headers does not match Your
Library. Check Config.log for details.
If You are sure your installation are consistent, you can disable the check
By running "./configure–without-openssl-header-check".
Also the contrib/findssl.sh for help identifying header/library mismatches.
The solution is to specify the OpenSSL path for your local environment:
./configure–with-ssl-dir=/usr/local/cellar/openssl/1.0.2g
Question 2:
Cannot find input file: ' config.h.in '
This problem is handled in this way:
VI configure.ac
Set Ff=unix
Then autoreconf
then re:
./configure–with-ssl-dir=/usr/local/cellar/openssl/1.0.2g
can configure success.
After the final configure success is like this:
OpenSSH has been configured with the following options:user: binaries System binaries:/usr/local/sbin Configuration files:/usr/local/etc askpass Program :/usr/local/libexec/ssh-askpass Manual Pages:/usr/local/share/man/manx P ID file:/var/run privilege separation chroot path:/var/empty sshd Default User path:/USR/BIN:/BIN:/USR/SB
In:/sbin:/usr/local/bin manpage Format:doc PAM support:no OSF SIA support:no kerberosv support:no SELinux support:no SMARTCA Rd Support:s/key support:no MD5 password Support:no libedit Ort:no Solaris Process contract Support:no Solaris project Support:no Solaris Privilege Support: No IP address in$DISPLAY hack:no Translate v4 in V6 hack:no BSD Auth support:no Random Numbe
R Source:openssl Internal only privsep sandbox Style:darwin host:x86_64-apple-darwin13.4.0 COMPILER:GCC Compiler Flags:-g-o2-qunused-arguments-wunknown-warning-option-wall-wpointer-arith-wuni Nitialized-wsign-compare-wformat-security-wsizeof-pointer-memaccess-wno-pointer-sign-wno-unused-result- Fno-strict-aliasing-d_fortify_source=2-ftrapv-fno-builtin-memset-fstack-protector-all-fpie Preprocessor Flags:-I. /usr/local/cellar/openssl/1.0.2g/include Linker Flags:-l/usr/local/cellar/openssl/1.0.2g/lib-fstack-protector-al L-pie libraries:-lcrypto-lz-lresolv +for sshd:-lsandbox