Welcome! Log In Create A New Profile

Advanced

Update from 0.6.32 to 0.7.59

May 26, 2009 08:23AM
[b]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:[/b]

./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"

[b]An the error is:[/b]

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]: *** [objs/src/http/ngx_http_file_cache.o] Error 1
make[1]: Leaving directory `/usr/local/nginx/nginx-0.7.59'
make: *** [build] Error 2

[b]What i need to do to solve this problem?[/b]

OpenSSL is installed. Server is running on CentOS.



Edited 1 time(s). Last edit at 05/26/2009 08:26AM by grigory.
Subject Author Posted

Update from 0.6.32 to 0.7.59

grigory May 26, 2009 08:23AM

Re: Update from 0.6.32 to 0.7.59

Igor Sysoev May 26, 2009 08:36AM

Re: Update from 0.6.32 to 0.7.59

Glen Lumanau May 26, 2009 08:35AM

Re: Update from 0.6.32 to 0.7.59

grigory May 26, 2009 09:29AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 77
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready