Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zsh requires Bash? 2002 revisited



On Sat, Jan 6, 2018 at 12:36 PM, Jim <linux.tech.guy@xxxxxxxxx> wrote:
>
> Last lines of make:

Given that you're not seeing shell syntax errors or the like, my guess
is that posh is mishandling the -e command line option (errexit) and
causing some branches of make to fail prematurely.  Or, posh has rm as
a built-in and that's mishandling the -f option.  Try building with
"make -k"?

If it's the "rm" problem, there are two places in Makefile.in
./Src/Makefile.in:    rm -f stamp-modobjs.tmp
./Src/Makefile.in:    rm -f stamp-modobjs stamp-modobjs.tmp
where you can try "[ -f stamp-modobjs.tmp ] && rm ..." (you'll have to
split the latter of the above into two separate "rm" calls).

If that still fails it might help to see a diff of config.log from
bash vs. posh, but it seems much more likely that it's make that's
giving up here.



Messages sorted by: Reverse Date, Date, Thread, Author