Error: structure has no member named `gl_matchc' (was: nginx-0.7.12)

On Tue, Aug 26, 2008 at 10:20 AM, Igor S. [email protected] wrote:

Changes with nginx 0.7.12 26 Aug 2008

I cannot compile 0.7.12 on Ubuntu or CentOS.

./configure --with-http_ssl_module && make && make install

throws:

src/os/unix/ngx_files.c: In function ngx_read_glob': src/os/unix/ngx_files.c:283: error: structure has no member named gl_matchc’
make[1]: *** [objs/src/os/unix/ngx_files.o] Error 1
make[1]: Leaving directory `/usr/src/nginx-0.7.12’
make: *** [build] Error 2

Please advise.

Thanks!

Jason

On Tue, Aug 26, 2008 at 10:42:48AM -0600, Jason Becker wrote:

src/os/unix/ngx_files.c:283: error: structure has no member named gl_matchc' make[1]: *** [objs/src/os/unix/ngx_files.o] Error 1 make[1]: Leaving directory/usr/src/nginx-0.7.12’
make: *** [build] Error 2

Please advise.

The attached patch should fix the bug.