# FancyIndex error build

**URL:** <https://www.ruby-forum.com/t/fancyindex-error-build/196346>\
**Category:** NGINX\
**Created:** [October 12, 2010, 4:52am UTC](https://www.ruby-forum.com/t/fancyindex-error-build/196346 "2010-10-12T04:52:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Indo\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@Indo\_P](https://www.ruby-forum.com/u/Indo_P)\
**Post date:** [October 12, 2010, 4:52am UTC](https://www.ruby-forum.com/t/fancyindex-error-build/196346/1 "2010-10-12T04:52:27Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Indo\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@Indo\_P](https://www.ruby-forum.com/u/Indo_P)\
**Post date:** [October 12, 2010, 5:36am UTC](https://www.ruby-forum.com/t/fancyindex-error-build/196346/2 "2010-10-12T05:36:18Z")

</div>

Hi Indo,

On Mon, Oct 11, 2010 at 07:50:57PM -0700, Indo P. wrote:

> ../nginx-fancyindex-0.1\_beta5/ngx\_http\_fancyindex\_module.c: In function  
> ../nginx-fancyindex-0.1\_beta5/ngx\_http\_fancyindex\_module.c: In function  
> –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](http://ftp.riken.go.jp/pub/FreeBSD/ports/local-distfiles/osa/ngx-fancyindex-0.2.5.tar.gz)

–  
Sergey A. Osokin  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
