nginx-0.7.50 не собирается на Gentoo (md5.h: Нет такого файла или каталога)

Igor Sysoev is at rambler-co.ru
Tue Apr 14 10:10:00 MSD 2009


On Tue, Apr 14, 2009 at 09:03:20AM +0300, Alex Vorona wrote:

> 14.04.2009 08:08, Igor Sysoev wrote:
> >On Tue, Apr 14, 2009 at 11:03:36AM +0700, Martsul, Vladimir wrote:
> >
> >>  Обновляю nginx-0.7.43 до nginx-0.7.50:
> >
> >>checking for PCRE library ... found
> >>grep: /usr/include/md5.h: ?????? ???????????? ?????????? ?????? 
> >>????????????????
> >>checking for zlib library ... found
> >
> >>Configuration summary
> >>  + using system PCRE library
> >>  + OpenSSL library is not used
> >>  + using md5 library: /usr/include
> >>  + using sha1 library: /usr/include
> >>  + using system zlib library
> >
> >А откуда взялось md5 /usr/include ? Из --with-md5=/usr/include ?
> нет. У меня запуск ./configure без параметров приводит к этому.
> >Это нужно убрать и поставить пакет openssl-dev (или как он называется
> >на Gentoo).
> >
> >
> с ssl собирается с тем же --with-md5=/usr/include
> Configuration summary
>   + using system PCRE library
>   + using system OpenSSL library
>   + md5: using OpenSSL library
>   + using sha1 library: /usr/include
>   + using system zlib library
> 
> nginx -V
> nginx version: nginx/0.7.50
> configure arguments: --prefix=/usr --conf-path=/etc/nginx/nginx.conf 
> --http-log-path=/var/log/nginx/access_log 
> --error-log-path=/var/log/nginx/error_log --pid-path=/var/run/nginx.pid 
> --http-client-body-temp-path=/var/tmp/nginx/client 
> --http-proxy-temp-path=/var/tmp/nginx/proxy 
> --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi --with-md5-asm 
> --with-md5=/usr/include --with-sha1-asm --with-sha1=/usr/include 
> --with-http_realip_module --with-debug --with-http_ssl_module 
> --with-http_stub_status_module --with-http_dav_module
> 
> Без --with-http_ssl_module имею ошибку
> ==============
> ...
> checking for PCRE library ... found
> grep: /usr/include/md5.h: Нет такого файла или каталога
> checking for zlib library ... found
> checking for int size ... 4 bytes
> ...
> Configuration summary
>   + using system PCRE library
>   + OpenSSL library is not used
>   + using md5 library: /usr/include
>   + using sha1 library: /usr/include
>   + using system zlib library
> ==============
> И, естественно, не собирается.
> 
> find /usr/include -name md5.h
> /usr/include/sasl/md5.h
> /usr/include/crypto++/md5.h
> /usr/include/libavutil/md5.h
> /usr/include/net-snmp/library/md5.h
> /usr/include/pppd/md5.h
> /usr/include/htdig/md5.h
> /usr/include/openssl/md5.h
> /usr/include/isc/md5.h
> /usr/include/libyasm/md5.h

Нужно убрать

 --with-md5=/usr/include --with-md5-asm
 --with-sha1-asm --with-sha1=/usr/include 


-- 
Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list