Forum: NGINX 0.8.0 + fancyindex = error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
91a74b8380b494c4910b90c18d0558ef?d=identicon&s=25 Grzegorz Sienko (Guest)
on 2009-06-02 19:34
(Received via mailing list)
Hello.

I have problem during make with nginx 0.8.0 and fancyindex module.

Error that I get:

               -o
objs/addon/nginx_fancyindex/ngx_http_fancyindex_module.o \
               /usr/src/nginx_fancyindex/ngx_http_fancyindex_module.c
/usr/src/nginx_fancyindex/ngx_http_fancyindex_module.c: In function
`make_content_buf,:
/usr/src/nginx_fancyindex/ngx_http_fancyindex_module.c:428: error:
`ngx_http_request_t, has no member named `utf8,
make[1]: *** [objs/addon/nginx_fancyindex/ngx_http_fancyindex_module.o]
Error 1
make[1]: Leaving diectory `/usr/src/nginx-0.8.0'
make: *** [build] Error 2

btw. fancyindex module site in wiki is not up to date, links are dead.
I got fancyindex from this site:
http://github.com/damm/nginx-fancyindex/tree/master

I'm not so skillfull to correct this ^^. And maybe small question. Is
it possible to add to nginx fancyindex functionality without compiling
with extra module?

Best Regards
 Grzegorz
SieƱko
C4d26bbad2f3cb4b3cd51f3d23d2dde9?d=identicon&s=25 Adrian Perez de Castro (Guest)
on 2009-06-02 20:22
(Received via mailing list)
On Tue, 2 Jun 2009 19:25:15 +0200, Grzegorz wrote:

> I have problem during make with nginx 0.8.0 and fancyindex module.
>
> [...]

I have still not updated the module to work with 0.8.0 -- in fact I
even had not time to take a look at the new version; but I will ;-)

> Error that I get [...]
> `ngx_http_request_t, has no member named `utf8,

Looks like a changed structure member name, should be easy to fix. I
will try to look at it ASAP (now I am at work, sorry)

> btw. fancyindex module site in wiki is not up to date, links are dead.
> I got fancyindex from this site:
> http://github.com/damm/nginx-fancyindex/tree/master

I have updated the URLs, they should be okay now.

> I'm not so skillfull to correct this ^^. And maybe small question. Is
> it possible to add to nginx fancyindex functionality without compiling
> with extra module?

As far as I know, there are no plans to include fancyindex in the
core... but maybe I am wrong and Igor has something to said regarding
that ;-)

I have been happy adding the module when building, as I use mostly
Gentoo and I have some custom ebuilds in an overlay so the package gets
the module included when installing it.

Regards,
C4d26bbad2f3cb4b3cd51f3d23d2dde9?d=identicon&s=25 Adrian Perez de Castro (Guest)
on 2009-06-06 14:44
(Received via mailing list)
On Tue, 2 Jun 2009 19:25:15 +0200, Grzegorz wrote:

> make[1]: *** [objs/addon/nginx_fancyindex/ngx_http_fancyindex_module.o] Error 1
> make[1]: Leaving diectory `/usr/src/nginx-0.8.0'
> make: *** [build] Error 2

Please try with the attached patch.llllllllllll

> I'm not so skillfull to correct this ^^. And maybe small question. Is
> it possible to add to nginx fancyindex functionality without compiling
> with extra module?

As far as I know, building  Nginx with the module is the only way to
have such support :-/
91a74b8380b494c4910b90c18d0558ef?d=identicon&s=25 Grzegorz Sienko (Guest)
on 2009-06-06 15:23
(Received via mailing list)
2009/6/6 Adrian Perez de Castro <the.lightman@gmail.com>:
>> /usr/src/nginx_fancyindex/ngx_http_fancyindex_module.c:428: error:
>> `ngx_http_request_t, has no member named `utf8,
>> make[1]: *** [objs/addon/nginx_fancyindex/ngx_http_fancyindex_module.o] Error 1
>> make[1]: Leaving diectory `/usr/src/nginx-0.8.0'
>> make: *** [build] Error 2
>
> Please try with the attached patch.llllllllllll


Ok, with this patch it goes without any problems :) (I'm using Ubuntu
8.04 LTS)

Thank you very much for it ;]
2974d09ac2541e892966b762aad84943?d=identicon&s=25 George (Guest)
on 2009-11-12 18:39
(Received via mailing list)
Hi i'm getting same error with 0.8.4 and fancyindex v0.2 does this patch
work and how do I patch thanks :)

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,2571,22258#msg-22258
C4d26bbad2f3cb4b3cd51f3d23d2dde9?d=identicon&s=25 Adrian Perez de Castro (Guest)
on 2009-11-14 23:03
(Received via mailing list)
On Wed, 11 Nov 2009 19:27:53 -0500, George wrote:

> Hi i'm getting same error with 0.8.4 and fancyindex v0.2 does this patch
> work and how do I patch thanks :)

Please use Fancyindex 0.2.1 [1] when building Nginx 0.8.x -- it is just
the same code as 0.2 with the patches needed for it to build fine with
the
latest releases :)

Please let me know if you still have problems building this new version.

Cheers,


[1]
http://connectical.com/attachments/download/21/ngx...
2974d09ac2541e892966b762aad84943?d=identicon&s=25 George (Guest)
on 2009-11-16 18:29
(Received via mailing list)
Thanks Adrian i used the patch for 0.2 but will try 0.2.1 next time :)

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,2571,23054#msg-23054
This topic is locked and can not be replied to.