all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vin Shelton <acs@xemacs.org>
Cc: Vin Shelton <acs@xemacs.org>, emacs-devel@gnu.org
Subject: Re: Cannot Generate loaddefs.el on Solaris
Date: Mon, 22 Sep 2003 21:14:16 -0400	[thread overview]
Message-ID: <m38yog9uhj.fsf@zion.rcn.com> (raw)
In-Reply-To: <20030922233446.GC26980@fencepost> (Miles Bader's message of "Mon, 22 Sep 2003 19:34:46 -0400")

Miles Bader <miles@gnu.org> writes:
> On Mon, Sep 22, 2003 at 11:02:06AM -0400, Vin Shelton wrote:
>> /bin/sh on Solaris has stricter syntax wrt the 'test' command than
>> bash does.  The !  (negation) operator cannot appear before the 'test'
>> command.
>> -	  if ! test -r $(lisp)/loaddefs.el; then		\
>> +	  if test ! -r $(lisp)/loaddefs.el; then		\
>
> Note that the ! in the former case is actually a (posix) shell construct, not
> a test operator.
>
> I'm not entirely comfortable with the ! test operator either, but a bit of
> googling suggests that it's OK even on ancient systems, as long as the
> following expression is not `weird.'
>
> (I always test my scripts for portability on sunos because sun seems to have
> last updated some of their utilities in about 1985!)

Miles,

Thanks for the reply.  I may have given you the wrong impression -
namely that I was writing hypothetically.  The actual situation is
that the version in CVS does not work on the Solaris systems at work:
loaddefs.el does not get created, and therefore emacs dumping does not
work.  (IIRC, the message is something like: "!: command not found".)
When I apply the patch, loaddefs.el _does_ get created and I can
successfully dump emacs.  (BTW, I think the build started failing for
me on or about September 12.)

The systems in question are pretty much stock Solaris 5.8 and 5.5.1
systems.

I'm pretty sure that /bin/sh on these Sparc Solaris systems is not
POSIX-compliant.

  - Vin

  reply	other threads:[~2003-09-23  1:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15 12:45 Build Failure with Latest CVS sources Vin Shelton
2003-09-22 15:02 ` Cannot Generate loaddefs.el on Solaris Vin Shelton
2003-09-22 23:34   ` Miles Bader
2003-09-23  1:14     ` Vin Shelton [this message]
2003-09-23  1:31       ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m38yog9uhj.fsf@zion.rcn.com \
    --to=acs@xemacs.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.