Re: Проблема с компиляцией в Solaris 11 sparc

Валентин Бартенев vbart at nginx.com
Fri Feb 14 14:50:44 UTC 2014


On Friday 14 February 2014 09:33:40 sebor wrote:
> Всем привет.
> Не получается скомпилить nginx на solaris 11 с исходниками openssl.
> Система следующая: uname -a
> SunOS web-srv 5.11 11.1 sun4v sparc sun4v
> Делаю так:
> ./configure --prefix=/opt/nginx --group=webservd --user=webservd
> --with-cc-opt='-I ../pcre-8.34' --with-cpu-opt=sparc64
> --with-pcre=../pcre-8.34 --with-zlib=../zlib-1.2.8 --with-http_sub_module
> --with-http_gzip_static_module --with-http_ssl_module
> --with-http_gzip_static_module --with-http_stub_status_module
> --with-openssl=../openssl-1.0.1f --with-http_dav_module
> --with-http_flv_module --with-cc=/opt/solarisstudio12.3/bin/cc
> --with-cc-opt=-m64 --with-ld-opt=-m64
> Сыплется много предупреждений:
> cc: Warning: -xarch=v8plus is deprecated, use -m32 -xarch=sparc instead
[..]

Не надо использовать -m64: http://trac.nginx.org/nginx/ticket/500

--
Валентин Бартенев


Подробная информация о списке рассылки nginx-ru