Problems with 0.9.1 on not so recent Linux kernels.

António P. P. Almeida appa at perusio.net
Wed Dec 1 21:38:17 MSK 2010


On 1 Dez 2010 17h58 WET, mdounin at mdounin.ru wrote:

Hello Maxim,
> Ah, it looks like Igor committed Simon's patch even without fixing 
> availability test, and it basically checks only if one have recent 
> enough glibc.  So if you have recent glibc but an old kernel - it 
> won't work at all.
>
> Just in case: workaround to recompile with explicitly disabled 
> accept4() support, e.g. with something like:
>
> ./configure --with-cc-opt="-DNGX_HAVE_ACCEPT4=0"

Yes I just rebuilt the package with:


export CONFIGURE_OPTS='--with-cc-opt="-DNGX_HAVE_ACCEPT4=0"'

and the customary:

dpkg-buildpackage -r -T build

and

dpkg-buildpackage -r -T binary


It works perfectly now.

Thanks,
--- appa




More information about the nginx mailing list