Guys,
I am receiving error from this when i try to configure nox. Based on the
blogspot i found Source: http://noxinstallation.blogspot.com/, it is said
that i should do this steps. But how do i apply patch? thanks.
configure: error: openssl/md5.h not found. NOX requires OpenSSL
>>> patch the following file (i.e. /opt/nox/config/ax_ssl.m4), then re-run
'boot.sh':
diff --git a/config/ax_ssl.m4 b/config/ax_ssl.m4
index c47c482..a076ce0 100644 (file)
--- a/config/ax_ssl.m4
+++ b/config/ax_ssl.m4
@@ -4,8 +4,11 @@ AC_CHECK_HEADER([openssl/md5.h],
AC_ERROR([openssl/md5.h not found. NOX requires OpenSSL])
)
AC_CHECK_LIB(ssl, MD5_Init,
- [SSL_LIBS="-lssl"; AC_SUBST(SSL_LIBS) break],
- [AC_ERROR([openssl/md5.h not found. NOX requires OpenSSL])])
+ [SSL_LIBS="-lssl"; AC_SUBST(SSL_LIBS) break],[
+ AC_CHECK_LIB(crypto, MD5_Init,
+ [SSL_LIBS="-lssl -lcrypto"; AC_SUBST(SSL_LIBS) break],
+ [AC_ERROR([MD5_Init() is not linkable. NOX requires
OpenSSL])])])
+
AC_CHECK_PROG(OPENSSL_PROG, openssl,
[yes],
[AC_ERROR([openssl program not found. NOX requires OpenSSL])])