Trying to update from 0.7.43 to 0.7.54 (latest): 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' src/http/ngx_http_file_cache.c:128: error: 'md5' undeclared (first use in this function) x86_64-pc-linux-gnu-gcc -c -march=nocona -fomit-frame-pointer -pipe -O3 -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include -I objs -I src/http -I src/http/modules \ -o objs/src/http/modules/ngx_http_gzip_filter_module.o \ src/http/modules/ngx_http_gzip_filter_module.c make[1]: *** [objs/src/http/ngx_http_file_cache.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/www-servers/nginx-0.7.54/work/nginx-0.7.54' make: *** [build] Error 2 There was the same error some weeks ago when updating to nginx-0.7.50. Reproducible: Always Steps to Reproduce: # uname -a Linux contek 2.6.25-gentoo-r6 #1 SMP Tue Jul 8 14:31:49 MSD 2008 x86_64 Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz GenuineIntel GNU/Linux
Created attachment 190281 [details] emerge --info
Created attachment 190282 [details] configure part
Created attachment 190283 [details] make part
Comments from Igor Sysoev, nginx's developer (http://www.lexa.ru/nginx-ru/msg23817.html): Need to remove: --with-md5=/usr/include --with-md5-asm --with-sha1-asm --with-sha1=/usr/include
This is because nginx was built without the ssl flag. Newer versions of nginx fixed this.
(In reply to comment #5) > This is because nginx was built without the ssl flag. Newer versions of nginx > fixed this. > My bad. Newer versions _doesn't_ fix this – it just tries to find md5 headers but doesn't bail when nothing is to be found.
Whats progress of this bug? I can't install any nginx version newer than 0.7.43.
Created attachment 190989 [details] Fixed ebuild
Konstantin: please remove --with-md5-asm --with-md5=/usr/include \ ..so building without enabling ssl works. My system uses md5.h from crypto (kernel) if i disable ssl.
Is there a reason this isn't committed?
Same with www-servers/nginx-0.7.61 without ssl use flag. Should I file a nie bug report? i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -s -I src/core -I src/event -I src/event/modules -I src/os/unix -I / usr/include -I objs -I src/http -I src/http/modules \ -o objs/src/http/ngx_http_file_cache.o \ src/http/ngx_http_file_cache.c In file included from src/http/ngx_http_file_cache.c:10: src/core/ngx_md5.h:18:17: error: md5.h: Nie ma takiego pliku ani katalogu 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’ src/http/ngx_http_file_cache.c:128: error: ‘md5’ undeclared (first use in this function) make[1]: *** [objs/src/http/ngx_http_file_cache.o] Błąd 1 make[1]: Opuszczenie katalogu `/var/tmp/portage/www-servers/nginx-0.7.61/work/nginx-0.7.61' make: *** [build] Błąd 2
This is a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=266079
closing bug as dupe. please move your votes. thanks for the report... *** This bug has been marked as a duplicate of bug 266079 ***