nginx-0.7.44
Igor Sysoev
is at rambler-co.ru
Mon Mar 23 18:15:08 MSK 2009
On Mon, Mar 23, 2009 at 04:06:32PM +0100, J?r?me Loyet wrote:
> 2009/3/23 Igor Sysoev <is at rambler-co.ru>:
> > On Mon, Mar 23, 2009 at 03:55:54PM +0100, J?r?me Loyet wrote:
> >
> >> 2009/3/23 Igor Sysoev <is at rambler-co.ru>:
> >> > On Mon, Mar 23, 2009 at 03:41:51PM +0100, J?r?me Loyet wrote:
> >> >
> >> >> > I'm not using openssl and I don't have any md5.h file in my include
> >> >> > path. /usr/include/md5.h is valid on BSD but not on Linux. I have to
> >> >> > add the openssl library somehow in configure. I think there is a
> >> >> > missing check in the configure script.
> >> >> >
> >> >> > The build is working correctly if I'm using
> >> >> > --openssl-dir=/usr/local/openssl-0.9.6.
> >> >>
> >> >> Sorry I miss something: The build is working correctly if I'm using
> >> >> --openssl-dir=/usr/local/openssl-0.9.6 AND --with-http_ssl_module
> >> >> (only openssl-dir show that it founds the library but it doesn't use
> >> >> it when compiling (no -I /usr/local/openssl-0.9.6/include))
> >> >
> >> > nginx's configure has no --openssl-dir= option.
> >>
> >> I meant --with-openssl= option. Sorry
> >
> > The --with-openssl= option should point to OpenSSL sources, but not
> > to inlcudes and binary libraries.
>
> OK thx for the answer.
As your OpenSSL is set in non-standard place (I have just tested building
on Debian with standard /usr/include/openssl/md5.h), you should use
something like this:
--with-cc-opt=-I/usr/local/openssl-0.9.6/include
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list