[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hello 2.1.91 pretest

From: Paul Eggert
Subject: Re: hello 2.1.91 pretest
Date: Sun, 20 Aug 2006 23:25:20 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"Mark D. Baushke" <address@hidden> writes:

>    ../gnulib/gnulib-tool --update
> command from the hello-2.1.91 directory on a Solaris 9 box yeilds a
> syntax error:
> ../gnulib/gnulib-tool: syntax error at line 634: `}' unexpected

The Solaris /bin/sh doesn't conform to POSIX:

   $ /bin/sh -c 'if ! false; then echo good; else echo bad; fi'
   /bin/sh: !: not found

You can work around the problem with /bin/bash or /bin/ksh or
/usr/xpg4/bin/sh.  You might also file a bug report with Sun;
there's no good reason for /bin/sh to not support '!'.

I suspect it's not high priority to port gnulib-tool to hosts that
fail to conform to POSIX in major ways.  Though I suppose gnulib-tool
could check for this particular problem and exit right away if it
detects it.

Your other points about gnulib-tool reflect some problems I've had
with it as well, not that I have solutions.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]