nginx-0.7.44

Jérôme Loyet jerome at loyet.net
Mon Mar 23 17:41:51 MSK 2009


Le 23 mars 2009 15:37, Jérôme Loyet <jerome at loyet.net> a écrit :
> 2009/3/23 Igor Sysoev <is at rambler-co.ru>:
>> Changes with nginx 0.7.44                                        23 Mar 2009
>>
>>    *) Feature: the ngx_http_proxy_module preliminary cache support.
>>
>>    *) Feature: the --with-pcre option in the configure.
>>
>>    *) Feature: the "try_files" directive is now allowed on the server
>>       block level.
>>
>>    *) Bugfix: the "try_files" directive handled incorrectly a query string
>>       in a fallback parameter.
>>
>>    *) Bugfix: the "try_files" directive might test incorrectly directories.
>>
>>    *) Bugfix: if there is the single server for given address:port pair,
>>       then captures in regular expressions in a "server_name" directive
>>       did not work.
>>
>>
> Hi Igor,
>
> I have problems compiling this last version:
>
> In file included from src/http/ngx_http_file_cache.c:10:
> src/core/ngx_md5.h:18:17: md5.h: No such file or directory
> In file included from src/http/ngx_http_file_cache.c:10:
> src/core/ngx_md5.h:22: error: syntax error before "ngx_md5_t"
> src/core/ngx_md5.h:22: warning: type defaults to `int' in declaration
> of `ngx_md5_t'
> src/core/ngx_md5.h:22: warning: data definition has no type or storage class
> src/http/ngx_http_file_cache.c: In function `ngx_http_file_cache_create_key':
> src/http/ngx_http_file_cache.c:94: error: syntax error before "md5"
> src/http/ngx_http_file_cache.c:102: warning: implicit declaration of
> function `MD5Init'
> src/http/ngx_http_file_cache.c:102: error: `md5' undeclared (first use
> in this function)
> src/http/ngx_http_file_cache.c:102: error: (Each undeclared identifier
> is reported only once
> src/http/ngx_http_file_cache.c:102: error: for each function it appears in.)
> src/http/ngx_http_file_cache.c:112: warning: implicit declaration of
> function `MD5Update'
> src/http/ngx_http_file_cache.c:119: warning: implicit declaration of
> function `MD5Final'
> make[1]: *** [objs/src/http/ngx_http_file_cache.o] Error 1
> make[1]: Leaving directory `/misc/distrib/BUILD/nginx-0.7.44'
> make: *** [build] Error 2
>
> 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))

>
> ++ Jerome
>





More information about the nginx mailing list