Nginx configure error when use zsh

Hello.

nginx configure error when I use zsh.

This is my environment:

operating system: Linux(3.3.7-1-ARCH)

zsh: 4.3.17 (i686-pc-linux-gnu)

Nginx: 1.3.1

This is configure message:

checking for OS

  • Linux 3.3.7-1-ARCH i686
    checking for C compiler … found
  • using GNU C compiler
  • gcc version: 4.7.0 20120505 (prerelease) (GCC)


    checking for Linux specific features
    auto/os/linux:154: parse error near version=$((uname -r…’

    auto/modules:396: read-only variable: modules

Thanks!

On 08.06.2012, at 11:29, Simon L. wrote:

Hello.

nginx configure error when I use zsh.

Please show me result of
ls -l which sh

Hello!

On Fri, Jun 8, 2012 at 7:55 PM, Maxim D. [email protected] wrote:

operating system: Linux(3.3.7-1-ARCH)
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Yes, i use zsh instead of /bin/sh, and thanks for your reply.

Hello!

On Fri, Jun 08, 2012 at 03:29:21PM +0800, Simon L. wrote:

Hello.

nginx configure error when I use zsh.

This is my environment:

operating system: Linux(3.3.7-1-ARCH)

zsh: 4.3.17 (i686-pc-linux-gnu)

You mean using zsh instead of POSIX-compliant shell for /bin/sh?
Looks like bad idea. Zsh docs at most promise it will “try to
emulate sh”, nothing more.

Maxim D.