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
Instalar e Configurar o Slackware Linux em 2025
Como configurar os repositórios do apt no Debian 12 em 2025
Passkeys: A Evolução da Autenticação Digital
Instalação de distro Linux em computadores, netbooks, etc, em rede com o Clonezilla
Como colorir os logs do terminal com ccze
Instalação Microsoft Edge no Linux Mint 22
Como configurar posicionamento e movimento de janelas no Lubuntu (Openbox) com atalhos de teclado
Máquinas Virtuais com IP estático acessando Internet no Virtualbox
Criar entrada no GRUB para uma ISO Linux (2)
Meus HDs não aparecem mais no boot da placa mãe (20)
Problema em instalar o PySide6 no Ubuntu 24.04 [RESOLVIDO] (3)