Update from 0.6.32 to 0.7.59
grigory
nginx-forum at nginx.us
Tue May 26 16:23:51 MSD 2009
Hi, I have installed nginx-0.6.32 and it works fine.
I've been trying to install the new nginx (0.7.59) today but received some errors:
./configure --with-pcre=/usr/local/nginx/nginx-0.6.32/pcre-7.9 --with-zlib=/usr/local/nginx/nginx-0.6.32/zlib-1.2.3
Configuration summary
+ using PCRE library: /usr/local/nginx/nginx-0.6.32/pcre-7.9
+ OpenSSL library is not used
+ md5 library is not found
+ sha1 library is not used
+ using zlib library: /usr/local/nginx/nginx-0.6.32/zlib-1.2.3
nginx path prefix: "/usr/local/nginx"
nginx binary file: "/usr/local/nginx/sbin/nginx"
nginx configuration prefix: "/usr/local/nginx/conf"
nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
nginx pid file: "/usr/local/nginx/logs/nginx.pid"
nginx error log file: "/usr/local/nginx/logs/error.log"
nginx http access log file: "/usr/local/nginx/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
An the error is:
In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:18:17: error: 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: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ngx_md5_t’
src/http/ngx_http_file_cache.c: In function ‘ngx_http_file_cache_create_key’:
src/http/ngx_http_file_cache.c:120: error: ‘ngx_md5_t’ undeclared (first use in this function)
src/http/ngx_http_file_cache.c:120: error: (Each undeclared identifier is reported only once
src/http/ngx_http_file_cache.c:120: error: for each function it appears in.)
src/http/ngx_http_file_cache.c:120: error: expected ‘;’ before ‘md5’
cc1: warnings being treated as errors
src/http/ngx_http_file_cache.c:128: warning: implicit declaration of function ‘MD5Init’
src/http/ngx_http_file_cache.c:128: error: ‘md5’ undeclared (first use in this function)
src/http/ngx_http_file_cache.c:138: warning: implicit declaration of function ‘MD5Update’
src/http/ngx_http_file_cache.c:145: warning: implicit declaration of function ‘MD5Final’
make[1]: *** Error 1
make[1]: Leaving directory `/usr/local/nginx/nginx-0.7.59'
make: *** Error 2
What i need to do to solve this problem?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2388,2388#msg-2388
More information about the nginx
mailing list