[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FreeBSD /bin/sh with SHELL=.../zsh breaking autoconf ./configure?
From: |
Mike Meyer |
Subject: |
Re: FreeBSD /bin/sh with SHELL=.../zsh breaking autoconf ./configure? |
Date: |
Mon, 10 Mar 2008 20:58:52 -0400 |
On Tue, 11 Mar 2008 01:15:11 +0100 Ralf Wildenhues <address@hidden> wrote:
> Hello Mike,
> Thanks for the report.
Thank you for getting back to me.
> * Mike Meyer wrote on Sun, Mar 09, 2008 at 02:56:50AM CET:
> [...]
> > as_func_failure succeeded.
> > as_func_failure succeeded.
> > No shell found that supports shell functions.
> > Please tell address@hidden about your system,
> > including any error possibly output before this
> >
> > (which is why I'm sending you mail).
> >
> > The configure script otherwise seems to run fine, creates the
> > Makefile, and exits without any other errors. Likewise, there are no
> > errors in config.log, nor any mention of as_func or shell
> > functions. However, the Makefile is pretty horribly broken. Trying to
> > do a build starts out normally enough, but dies halfway through
> > complaining about dependency loops (native make) or recursive
> > dependencies (gnu make).
> Can you send a unidiff of the broken case and a working case (/bin/sh)
> for the config.status file and the Makefile which causes make to bail?
Attached.
> Also, which zsh version is this?
zsh 4.3.2 (amd64-portbld-freebsd6.2)
> > The last thing I think you need to know to recreate this problem is
> > that 1) there is only one other shell installed on the system, zsh,
> > and 2) SHELL points to zsh.
> >
> > If you change either of this - by, for instance, installing bash, or
> > setting SHELL to /bin/sh or nothing - you don't get those complaints
> > from ./configure, the Makefile is fine, and everything works as
> > expected.
>
> Try
> CONFIG_SHELL=/bin/sh
> export CONFIG_SHELL
> $CONFIG_SHELL ./configure [OPTIONS...]
This works, and generated the working version the diffs were taken
from.
<mike
--
Mike Meyer <address@hidden> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
csd
Description: Binary data
mfd
Description: Binary data