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
Customizar a Instalação do Linux Debian com Preseed
Atualizando o Passado: Linux no Lenovo G460 em 2025
aaPanel - Um Painel de Hospedagem Gratuito e Poderoso
Um modo leve de ouvir/ver áudio/vídeo da internet em máquinas pererecas
Resolver algumas mensagens de erro do SSH
Instalar módulo de segurança do Banco do Brasil Warsaw do tipo .run
Sem espaço na partição home (4)
Aprendendo mais sobre Linux com livro (6)
Procrastinação e autossabotagem são problemas muito comuns na sociedad... (6)