[Autogen-users] /bin/bash: line 6: syntax error near unexpected token `elif'
Brought to you by:
bkorb
From: Ron A. <ra...@of...> - 2003-11-06 17:07:48
|
This is a cygwin-only problem. See below. If I run autogen from `make`, bash reports syntax errors. If I run the autogen command directly, it runs fine. Any idea how I debug this? Thanks, Ron Arts $ make autogen -b uw_send -Dconfdir=/etc/upwatch.d -Dsysconfdir=/etc -Dsbindir=/usr/sbin -Dlogdir=/var/log/upwatch -Dspooldir=/var/spool/upwatch -L /usr/local/share/autogen -L ../common -T ../common/spec.tpl cmd_options.def /bin/bash: line 6: syntax error near unexpected token `elif' 'bin/bash: line 6: `elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1 Closing server: Broken pipe signal (13) received Last command issued: cd /cygdrive/d/home/raarts/upwatch/uw_send cat ../VERSION echo echo ShElL-OuTpUt-HaS-bEeN-cOmPlEtEd CLOSING SHELL SERVER - command failure: cat ../VERSION syntax error: in cmd_options.def on line 5 token in error: `;' (59) [[...<error-text>]] homerc = `echo $sysconfdir/upwatch.conf`; homerc Likely causes: a mismatched quote, a value that needs quoting, or a missing semi-colon make: *** [uw_send.spec-requires] Error 1 $ bash --version GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin) Copyright (C) 2002 Free Software Foundation, Inc. $ uname -a CYGWIN_NT-5.0 nl-terminal 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin $ autogen -b uw_send -Dconfdir=/etc/upwatch.d -Dsysconfdir=/etc -Dsbindir=/usr/sbin -Dlogdir=/var/log/upwatch -Dspooldir=/var/spool/upwatch -L /usr/local/share/autogen -L ../common -T ../common/spec.tpl cmd_options.def unalias: not found -- Netland Internet Services bedrijfsmatige internetoplossingen http://www.netland.nl Kruislaan 419 1098 VA Amsterdam info: 020-5628282 servicedesk: 020-5628280 fax: 020-5628281 Mr. Worf! Eating Christmas Cookies, on my bridge? |