Jérôme Loyet jerome at
Mon Mar 23 17:37:11 MSK 2009

2009/3/23 Igor Sysoev <is at>:
> 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

++ Jerome

More information about the nginx mailing list