ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Невозможно скомпилироват ь nginx 1.0.4 на OSX lion


  • To: nginx-ru@xxxxxxxxx
  • Subject: Невозможно скомпилироват ь nginx 1.0.4 на OSX lion
  • From: Valery Viktorovsky <viktorovsky@xxxxxxxxx>
  • Date: Tue, 5 Jul 2011 20:54:19 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=Jjw9xXiLrqmaj2cODZUhqQL3GBvX7LOz0/kczTAjyns=; b=Ec6ycQCJTiQsnt2dfV3YV+uNcrfJxU1TxWsRC33Is5kPa7/777mQ/zN2vvfcf+nbQe ETPA0Pkj6F0L3RuswU20M8fLUyBNKXniNZvwRyEs3ROYqy1NihmF8sRKR1DpfVxrPJjk 6aXhP59Ftzmo5ckIaHAkqAd7dCHBUy/IHgy5I=

Привет,

обновил OSX до Lion, пытаюсь скомпилить nginx v1.0.4, но безуспешно.

получаю:
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter 
-Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I 
src/event -I src/event/modules -I src/os/unix -I objs                 -o objs/src/core/ngx_crypt.o                 src/core/ngx_crypt.c
cc1: warnings being treated as errors
src/core/ngx_crypt.c: In function ?ngx_crypt_apr1?:
src/core/ngx_crypt.c:76: warning: ?MD5_Init? is deprecated (declared at 
/usr/include/openssl/md5.h:113)
src/core/ngx_crypt.c:77: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:78: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:79: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:81: warning: ?MD5_Init? is deprecated (declared at 
/usr/include/openssl/md5.h:113)
src/core/ngx_crypt.c:82: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:83: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:84: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:85: warning: ?MD5_Final? is deprecated (declared at 
/usr/include/openssl/md5.h:115)
src/core/ngx_crypt.c:88: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:95: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:98: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:102: warning: ?MD5_Final? is deprecated (declared at 
/usr/include/openssl/md5.h:115)
src/core/ngx_crypt.c:105: warning: ?MD5_Init? is deprecated (declared at 
/usr/include/openssl/md5.h:113)
src/core/ngx_crypt.c:108: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:111: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:115: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:119: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:123: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:126: warning: ?MD5_Update? is deprecated (declared at 
/usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:129: warning: ?MD5_Final? is deprecated (declared at 
/usr/include/openssl/md5.h:115)
src/core/ngx_crypt.c: In function ?ngx_crypt_ssha?:
src/core/ngx_crypt.c:215: warning: ?SHA1_Init? is deprecated (declared at 
/usr/include/openssl/sha.h:121)
src/core/ngx_crypt.c:216: warning: ?SHA1_Update? is deprecated (declared at 
/usr/include/openssl/sha.h:122)
src/core/ngx_crypt.c:217: warning: ?SHA1_Update? is deprecated (declared at 
/usr/include/openssl/sha.h:122)
src/core/ngx_crypt.c:218: warning: ?SHA1_Final? is deprecated (declared at 
/usr/include/openssl/sha.h:123)
make[1]: *** [objs/src/core/ngx_crypt.o] Error 1
make: *** [build] Error 2

при попытке компилить с опцией --without-http_auth_basic_module
получаю ошибку 
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter 
-Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I 
src/event -I src/event/modules -I src/os/unix -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
cc1: warnings being treated as errors
src/http/ngx_http_file_cache.c: In function ?ngx_http_file_cache_create_key?:
src/http/ngx_http_file_cache.c:214: warning: ?MD5_Init? is deprecated (declared 
at /usr/include/openssl/md5.h:113)
src/http/ngx_http_file_cache.c:224: warning: ?MD5_Update? is deprecated 
(declared at /usr/include/openssl/md5.h:114)
src/http/ngx_http_file_cache.c:231: warning: ?MD5_Final? is deprecated 
(declared at /usr/include/openssl/md5.h:115)
make[1]: *** [objs/src/http/ngx_http_file_cache.o] Error 1
make: *** [build] Error 2

система OSX Lion 10.7 с Xcode 4.1 developer preview 7
uname -a
Darwin book 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; 
root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64

openssl version
OpenSSL 0.9.8r 8 Feb 2011

И еще заметил, в OS X не существует файла crypt.h,  все функции из него 
содержаться в unistd.h, поэтому может быть стоит удалить проверку в configure, 
чтобы лишний раз не светилось
checking for crypt.h ... not found

С уважением,
Валерий
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.