FancyIndex error build
Sergey A. Osokin
osa at FreeBSD.org.ru
Tue Oct 12 07:34:49 MSD 2010
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 at FreeBSD.ORG
More information about the nginx
mailing list