
Enviado em 04/03/2016 - 15:00h
Pessoal, estou tendo uma dor de cabeça com esse solaris aqui. Estou tentando construir a nginx pelo código fonte da seguinte maneira:
$CC="cc" ./configure --prefix=../server --with-http_ssl_module --with-cc-opt="-I /opt/local/include" --with-pcre=/usr/include/pcre/
...........................v.............................................
...............................................................tudo vai bem...........................
......................................................
Configuration summary
+ using PCRE library: /usr/include/pcre/
+ md5 library is not used
+ using system OpenSSL library
+ using system zlib library
nginx path prefix: ../server
nginx binary file: ../server/sbin/nginx
nginx configuration file: ../server/conf/nginx.conf
nginx pid file: ../server/logs/nginx.pid
nginx error log file: ../server/logs/error.log
nginx http access log file: ../server/logs/access.log
$ make
make -f objs/Makefile
gcc -c -I /opt/local/include -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/pcre/ -I objs -o objs/src/core/nginx.o src/core/nginx.c
src/core/nginx.c: In function ‘ngx_core_module_init_conf’:
src/core/nginx.c:433:23: error: pointer targets in assignment differ in signedness [-Werror=pointer-sign]
ccf->pid.data = NGX_PID_PATH;
^
src/core/nginx.c: In function ‘ngx_set_user’:
src/core/nginx.c:455:58: error: unused parameter ‘cmd’ [-Werror=unused-parameter]
static char *ngx_set_user(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
^
cc1: all warnings being treated as errors
*** Error code 1
make: Fatal error: Command failed for target `objs/src/core/nginx.o'
Current working directory /export/home/panaceasgarden/nginx-0.1.0
*** Error code 1
make: Fatal error: Command failed for target `build`
$ uname -a
SunOS solaris 5.11 11.2 i86pc i386 i86pc
$ isainfo
amd64 i386
$ cat /etc/release
Oracle Solaris 11.2 X86
Copyright (c) 1983, 2014, Oracle and/or its affiliates. All rights reserved.
Assembled 23 June 2014
librePods: liberte seus AirPods em 2026
Bluefin - A nova geração de ambientes de trabalho Linux
Como atualizar sua versão estável do Debian
Instalando e definindo as novas fontes Adwaita no GNOME
Configurar aviso da temperatura da CPU no Conky
Pós-instalação do elementary OS 8.1
Quer auto-organizar janelas (tiling) no seu Linux? Veja como no Plasma 6 e no Gnome
Copiando caminho atual do terminal direto para o clipboard do teclado
archlinux resolução abaixou após atualização [RESOLVIDO] (19)
Após todos esses anos... youtube! (0)
Conky não mostra temperaturas da CPU no notebook (14)
Registro do 'last&qu... errado [RESOLVIDO] (9)
O WiFi não reconhece minha rede depois que o processo de suspensão é r... (2)









