[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shell function support (Was: Internal Error in automake)
From: |
Akim Demaille |
Subject: |
Re: Shell function support (Was: Internal Error in automake) |
Date: |
Wed, 24 Mar 2004 11:28:26 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
>>> "Alexandre" == Alexandre Duret-Lutz <address@hidden> writes:
> Hi Akim!
> On Mon, Mar 22, 2004 at 01:22:25PM +0100, Akim Demaille wrote:
>>
>> I'm afraid I don't have much time to spend on tracking this issue
>> down, but I'm experiencing an error with both CVS Automake and
>> Automake 1.8 as in Debian:
>>
>> ~/lectures/compilation-lecture % /usr/bin/automake-1.8 --verbose
>> automake-1.8: reading autoconf
>> --trace=AM_ENABLE_MULTILIB:\$f:\$l::\$n::\${::}%
>> --trace=AC_INIT:\$f:\$l::\$n::\${::}%
>> --trace=AC_CONFIG_FILES:\$f:\$l::\$n::\${::}%
>> --trace=AC_SUBST:\$f:\$l::\$n::\${::}%
>> --trace=AC_CANONICAL_HOST:\$f:\$l::\$n::\${::}%
>> --trace=AM_GNU_GETTEXT:\$f:\$l::\$n::\${::}%
>> --trace=AC_LIBSOURCE:\$f:\$l::\$n::\${::}%
>> --trace=AM_INIT_AUTOMAKE:\$f:\$l::\$n::\${::}%
>> --trace=AM_AUTOMAKE_VERSION:\$f:\$l::\$n::\${::}%
>> --trace=AC_CONFIG_AUX_DIR:\$f:\$l::\$n::\${::}%
>> --trace=sinclude:\$f:\$l::\$n::\${::}%
>> --trace=AM_PROG_CC_C_O:\$f:\$l::\$n::\${::}%
>> --trace=AC_CONFIG_LINKS:\$f:\$l::\$n::\${::}%
>> --trace=m4_sinclude:\$f:\$l::\$n::\${::}%
>> --trace=AC_CANONICAL_SYSTEM:\$f:\$l::\$n::\${::}%
>> --trace=AM_CONDITIONAL:\$f:\$l::\$n::\${::}%
>> --trace=AC_CONFIG_HEADERS:\$f:\$l::\$n::\${::}%
>> --trace=AM_MAINTAINER_MODE:\$f:\$l::\$n::\${::}%
>> --trace=m4_include:\$f:\$l::\$n::\${::}%
> [...]
>> What could help to track this down?
> configure.ac and the output of the above `autoconf --trace...' command.
Gee, I think I can see what's wrong:
~/lectures/compilation-lecture-that-has-automake-fail % autoconf --trace AC_INIT
func_success failed.
func_success failed.
Found no shell that has working shell functions.
Please tell address@hidden about your system.
configure.ac:21:AC_INIT:Compilation Lecture:0.1:address@hidden
~/lectures/compilation-lecture-that-has-automake-fail % autoconf --trace
AC_INIT > /dev/null
~/lectures/compilation-lecture-that-has-automake-fail % nostromo 11:25
So apparently there is some code in Autoconf that checks for function
support that reports it on STDOUT! I don't have spare time to spend
on Autoconf, but it would be great if this could be fixed. Maybe it
is, but I still have not changed my env to use the new CVS procedure
at Savannah :(
~/lectures/compilation-lecture-that-has-automake-fail % sh -x =autoconf
+ test -n ''
+ test -n set
+ set -o posix
+ DUALCASE=1
+ export DUALCASE
+ as_cr_letters=abcdefghijklmnopqrstuvwxyz
+ as_cr_LETTERS=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+ as_cr_Letters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
+ as_cr_digits=0123456789
+ as_cr_alnum=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
+ test '' '!=' set
+ echo '#! /bin/sh'
+ echo 'exit 0'
+ chmod +x conf1894.sh
+ PATH_SEPARATOR=:
+ rm -f conf1894.sh
+ as_unset=unset
+ as_myself=/usr/local/bin/autoconf
+ test x/usr/local/bin/autoconf = x
+ test '!' -f /usr/local/bin/autoconf
+ /usr/bin/zsh
func_success failed.
+ as_save_IFS=
+ IFS=:
+ IFS=
+ test -z /bin
+ /bin/sh
+ unset BASH_ENV
+ unset ENV
+ CONFIG_SHELL=/bin/sh
+ export CONFIG_SHELL
+ exec /bin/sh /usr/local/bin/autoconf
func_success failed.
Found no shell that has working shell functions.
Please tell address@hidden about your system.
~/lectures/compilation-lecture-that-has-automake-fail % nostromo 11:27
- Internal Error, Akim Demaille, 2004/03/22
- Re: Internal Error, Alexandre Duret-Lutz, 2004/03/22
- Re: Shell function support (Was: Internal Error in automake),
Akim Demaille <=