
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
Papagaiando o XFCE com temas e recursos
WhatsApp com Chamadas no Linux via Waydroid
XFCE - quase um Gnome ou Plasma mas muito mais leve
LXQT - funcional para máquinas pererecas e usuários menos exigentes
Como cortar as partes de um vídeo com passagens de áudio em branco
Tiling automático no KDE Plasma
SNMP Scan no OCS Inventory só funciona com HTTPS corretamente configurado
musicas open source, onde baixo? (1)
Links importantes de usuários do vol (4)
GOG confirma suporte oficial ao sistema Linux: "o trabalho começo... (2)
Para os fãs de DOOM, um vídeo do Romero (com dublagem em pt-br disponí... (2)









