Welcome! Log In Create A New Profile

Advanced

Re: FancyIndex error build

Sergey A. Osokin
October 11, 2010 11:38PM
Hi Indo,

On Mon, Oct 11, 2010 at 07:50:57PM -0700, Indo Php wrote:
> I tried to use the latest nginx 0.8.52 with fancyindex. However when I tried to
> install, it giving me error
>
> gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
> -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I
> src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I
> src/http/modules -I src/mail \
> -o
> objs/addon/nginx-fancyindex-0.1_beta5/ngx_http_fancyindex_module.o \
> ../nginx-fancyindex-0.1_beta5/ngx_http_fancyindex_module.c
> ../nginx-fancyindex-0.1_beta5/ngx_http_fancyindex_module.c: In function
> ?make_content_buf?:
> ../nginx-fancyindex-0.1_beta5/ngx_http_fancyindex_module.c:428: error:
> ?ngx_http_request_t? has no member named ?utf8?
> cc1: warnings being treated as errors
> ../nginx-fancyindex-0.1_beta5/ngx_http_fancyindex_module.c:429: error: implicit
> declaration of function ?ngx_utf_length?
> ../nginx-fancyindex-0.1_beta5/ngx_http_fancyindex_module.c:571: error: implicit
> declaration of function ?ngx_utf_cpystrn?
> ../nginx-fancyindex-0.1_beta5/ngx_http_fancyindex_module.c:571: error:
> assignment makes pointer from integer without a cast
> ../nginx-fancyindex-0.1_beta5/ngx_http_fancyindex_module.c: In function
> ?ngx_http_fancyindex_handler?:
> ../nginx-fancyindex-0.1_beta5/ngx_http_fancyindex_module.c:697: error:
> ?ngx_http_request_t? has no member named ?zero_in_uri?
> make[1]: ***
> [objs/addon/nginx-fancyindex-0.1_beta5/ngx_http_fancyindex_module.o] Error 1
> make[1]: Leaving directory `/usr/local/src/nginx-0.8.52'
> make: *** [build] Error 2
>
> The configure command is
> ./configure --prefix=/etc/nginx --without-http_upstream_ip_hash_module
> --without-http_geo_module --without-http_map_module --without-http_scgi_module
> --without-http_uwsgi_module --without-http_auth_basic_module
> --add-module=../nginx-fancyindex-0.1_beta5
>
> How can I fix it?

you should get latest module version
http://ftp.riken.go.jp/pub/FreeBSD/ports/local-distfiles/osa/ngx-fancyindex-0.2.5.tar.gz

--
Sergey A. Osokin
osa@FreeBSD.ORG


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

FancyIndex error build

Indo Php October 11, 2010 10:58PM

Re: FancyIndex error build

Sergey A. Osokin October 11, 2010 11:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready