[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: syntax error...
From: |
Paul Eggert |
Subject: |
Re: syntax error... |
Date: |
Wed, 01 Sep 2004 22:50:47 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Vivek H <address@hidden> writes:
> I have already installed autoconf-2.10 successfully. when I am trying to
> install autoconf-2.50 by using sh ./configure I got list of error message on
> my terminal as below
>
> :command not found
> ./configure: line 16: syntax error near unexpected token 'elif'
> ./configure:line16:'elif test -n "${BASH_VERSION->set}" && (set -o posix)
> >/dev/null 2>&1;then
It sounds like your shell is confused, either by this line (line 15):
NULLCMD=:
or by this one (line 16):
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
What shell are you using? What operating system are you running it on?
What happens when you try to run this command with your shell?
NULLCMD=:
What happens when you try to run this command?
if false; then
echo 1
elif true; then
echo 2
fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: syntax error...,
Paul Eggert <=