Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.7.44

All files from this thread

File Name File Size   Posted by Date  
patch.fastcgi.cache 8.7 KB open | download Igor Sysoev 03/23/2009 Read message
March 23, 2009 11:55AM
<20090323133312.GC73698@rambler-co.ru> <3bea96c40903230737h63f6e019tde21744a2dd36c2@mail.gmail.com> <3bea96c40903230741l28c617c1hc03db40d6de770a0@mail.gmail.com> <20090323144714.GH73698@rambler-co.ru> <3bea96c40903230755h1f0b6176pcdf01c5e13db3dd1@mail.gmail.com> <20090323145919.GK73698@rambler-co.ru> <3bea96c40903230806k216dbb2aw5c1ea57b16538931@mail.gmail.com> <20090323151508.GM73698@rambler-co.ru> <3bea96c40903230827o1d3922f7j4d961efececa2fba@mail.gmail.com>

On Mon, Mar 23, 2009 at 04:27:53PM +0100, J?r?me Loyet wrote:

> 2009/3/23 Igor Sysoev <is@rambler-co.ru>:
> > On Mon, Mar 23, 2009 at 04:06:32PM +0100, J?r?me Loyet wrote:
> >
> >> 2009/3/23 Igor Sysoev <is@rambler-co.ru>:
> >> > On Mon, Mar 23, 2009 at 03:55:54PM +0100, J?r?me Loyet wrote:
> >> >
> >> >> 2009/3/23 Igor Sysoev <is@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
>
> it's not working because of the #ifdef in md5.h:
>
> #if (NGX_HAVE_OPENSSL_MD5_H)
> #include <openssl/md5.h>
> #else
> #include <md5.h>
> #endif
>
> Has NGX_HAVE_OPENSSL_MD5_H is not defined, it looks for md5.h instead
> of openssl/md5.h. And if I use
> --with-cc-opt=-I/usr/local/openssl-0.9.6/include/openssl it won't work
> because the function name are from OpenSSL lib and not from BSD kernel
> (MD5_Init vs MD5Init).
>
> I have to make configure to set NGX_HAVE_OPENSSL_MD5_H ... do you have
> any clue ? I'm still searching

- --with-cc-opt=-I/usr/local/openssl-0.9.6/include/openssl
+ --with-cc-opt=-I/usr/local/openssl-0.9.6/include


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

nginx-0.7.44

Igor Sysoev March 23, 2009 10:00AM

Re: nginx-0.7.44

lhmwzy March 23, 2009 10:09AM

Re: nginx-0.7.44

Jérôme Loyet March 23, 2009 10:59AM

Re: nginx-0.7.44

Jérôme Loyet March 23, 2009 11:12AM

Re: nginx-0.7.44

Igor Sysoev March 23, 2009 11:20AM

Re: nginx-0.7.44

Jérôme Loyet March 23, 2009 11:22AM

Re: nginx-0.7.44

Igor Sysoev March 23, 2009 11:37AM

Re: nginx-0.7.44

Jérôme Loyet March 23, 2009 11:46AM

Re: nginx-0.7.44

Igor Sysoev March 23, 2009 11:55AM

Re: nginx-0.7.44

Jérôme Loyet March 23, 2009 12:24PM

Re: nginx-0.7.44

Igor Sysoev March 23, 2009 12:31PM

Re: nginx-0.7.44

Jérôme Loyet March 23, 2009 02:15PM

Re: nginx-0.7.44

Igor Sysoev March 23, 2009 04:30PM

Re: nginx-0.7.44

Jérôme Loyet March 24, 2009 04:18AM

Re: nginx-0.7.44

Igor Sysoev March 23, 2009 11:13AM

Re: nginx-0.7.44

Kevin Worthington March 23, 2009 11:00AM

Re: nginx-0.7.44

Delta Yeh March 23, 2009 11:02AM

Re: nginx-0.7.44

Igor Sysoev March 23, 2009 11:20AM

RE: nginx-0.7.44

Floren Munteanu March 23, 2009 12:25PM

Re: nginx-0.7.44

Igor Sysoev March 23, 2009 12:30PM

Re: nginx-0.7.44

Anton Yuzhaninov March 23, 2009 12:36PM

Re: nginx-0.7.44

Floren Munteanu March 23, 2009 01:14PM

Re: nginx-0.7.44 Attachments

Igor Sysoev March 23, 2009 01:22PM

Re: nginx-0.7.44

Jérôme Loyet March 24, 2009 12:29PM

Re: nginx-0.7.44

Jérôme Loyet March 24, 2009 12:47PM

Re: nginx-0.7.44

Igor Sysoev March 24, 2009 01:03PM

Re: nginx-0.7.44

Jérôme Loyet March 23, 2009 11:08AM

Re: nginx-0.7.44

Jérôme Loyet March 24, 2009 12:07PM

Re: nginx-0.7.44

Igor Sysoev March 24, 2009 12:12PM

Re: nginx-0.7.44

Igor Sysoev March 25, 2009 01:16PM

Re: nginx-0.7.44

Johan Bergström March 25, 2009 01:36PM

Re: nginx-0.7.44

Igor Sysoev March 26, 2009 02:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 282
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready