[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with shell commands on Digital UNIX V4.0F.
From: |
Ted Stern |
Subject: |
Re: Problem with shell commands on Digital UNIX V4.0F. |
Date: |
Wed, 18 Dec 2002 12:56:26 -0800 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (sparc-sun-solaris2.8) |
On Wed, 18 Dec 2002, Matt Hodges wrote:
>>>>>> Ted Stern writes:
>
> > > I'm having problems building a program on Digital UNIX V4.0F, and
> > > it seems to boil down to the following observed behaviour on this
> > > platform. The results from issuing `make' with this makefile:
>
> > What happens if you specify
>
> > SHELL := /bin/ksh
>
> OK, here's a chart:
>
> +---------------+---------------+---------------+---------------+
> |Make version |/bin/sh |/bin/bash |/bin/ksh |
> +---------------+---------------+---------------+---------------+
> |3.78.1 |FUBAR = fubar |FUBAR = fubar |FUBAR = fubar |
> +---------------+---------------+---------------+---------------+
> |3.79.1 |FUBAR = fubar |FUBAR = fubar |FUBAR = fubar |
> +---------------+---------------+---------------+---------------+
> |3.80 |FUBAR = fubar |FUBAR = |FUBAR = fubar |
> +---------------+---------------+---------------+---------------+
> |3.81a1 |FUBAR = fubar |FUBAR = |FUBAR = fubar |
> +---------------+---------------+---------------+---------------+
>
> This was with bash version 2.03, but there was no difference with the
> latest release, 2.05b.
>
> Thanks.
>
Interesting. For the bash test, try
SHELL := /bin/bash --noprofile --norc
If that doesn't work, try adding --posix.
You might also want to try running the makefile from within a non-bash
interactive shell, e.g. /bin/ksh.
If that isolates the problem, I would recommend that in general you use a
bourne-derived shell that isn't the same as your default interactive shell.
CAVEAT: I'm just another user, not a maintainer.
Ted
--
Ted Stern Engineering Applications
Cray Inc. office: 206-701-2182
411 First Avenue South, Suite 600 cell: 206-383-1049
Seattle, WA 98104-2860 FAX: 206-701-2500
Debuggers' motto: Frango ut patefaciam -- I break in order to reveal