Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh requires Bash? 2002 revisited
- X-seq: zsh-users 23057
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Martijn Dekker <martijn@xxxxxxxx>
- Subject: Re: Zsh requires Bash? 2002 revisited
- Date: Sun, 7 Jan 2018 08:10:42 +0000
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nYr2xQXoJRiLv3JxDRbrT2K0ZDmrXNff/r7BWPxt9yY=; b=aQsou8oOYXs/S1OS07wmHJ7wth15b9VBUoULPK1+pLF03gnLbvg9NK7UPVhElva3+v sLxSt2mG0hdZ1s8LDcs9wjOEc61JJLF8xXUluTQptX58q6iSfMznF4WKY42HXjEDYMTU JulPaGbN9wOjTRNuwffxrl60yUzPcr/zjRwsMgpT0ZfydEbInmTvziFs5wGWlfQ6Pteq ARYmY+yLApgejHJjdPU7eip9KtEiJiJinRiMaU0g+RF9KCpESj/nYF4SsYbvEdaB23pY HK0ry6gViFdxXjYa2NnTYlccCI+knCnFImlx4EIAGEtex0bzjQxKHIlp3FysMRSVVaK7 C0hA==
- In-reply-to: <4e96813d-3762-da35-f681-2546c0265982__30442.5932620235$1515274776$gmane$org@inlv.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mail-followup-to: Martijn Dekker <martijn@xxxxxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CA+rB6G+SJ+cojcoDgSAwM5PQAJhF_peVTyHbRYzrQ4ZTunNnCw@mail.gmail.com> <CAH+w=7ZFYxPN559pyystrLf2Ggn89D7gzHyhDzLAKaoJ9wiZ2Q@mail.gmail.com> <CA+rB6G+urH8g4TTNji44CS5jc5hqa+=Uuc=xxCzB1ggHW2XOgg@mail.gmail.com> <4e96813d-3762-da35-f681-2546c0265982__30442.5932620235$1515274776$gmane$org@inlv.org>
2018-01-06 22:21:36 +0100, Martijn Dekker:
> Op 06-01-18 om 21:36 schreef Jim:
> > As I said I was testing different shells, it was by chance that /bin/sh and
> > /bin/posh were
> > linked when I started the build.
>
> You're right, autoconf scripts do not depend on bash and work fine on
> any reasonably compliant POSIX shell, including recent zsh versions.
>
> However, posh is non-compliant, bug-ridden, unmaintained, generally
> broken, and should not be used. Your problem would be solved by deleting
> posh and using dash for /bin/sh instead.
[...]
FWIW, with sh as dash, if I remove bash and ksh, then the
configure fails with
./configure:13185: functions: attempt to set associative array to scalar
IOW, it seems configure tries to rerun itself as bash, ksh or
zsh whichever is available when running as dash, but not when
running as posh, possibly because it detects that it is already
a variant of ksh? I've not looked in much more details.
Given that autoconf spends a lot of effort working around bugs
in various shell implementations, I suspect the problem is
coming from zsh specific code.
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author