Hi, I think switching to a destiny branch can solve the problem.

*git clone git://noxrepo.org/nox*
*CD nox*
*git checkout destiny*
Then install NOX  as the steps you followed.

If the destiny branch does not solve the problem.

Try " ../configure –with-boost-filesystem=boost_filesystem
–with-boost-unit-test-framework=mt LDFLAGS=’-L/usr/include/openssl -lssl
–lcrypto" , instead of "../configure".

I solved it both using these 2 ways. But I suggest you try switching to
destiny first.

Weiyang

2012/4/4 Anthony Salim <[email protected]>

> 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])])
>

Reply via email to