bug-make
[Top][All Lists]
Advanced

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

Re: Cannot run shell command


From: Paul D. Smith
Subject: Re: Cannot run shell command
Date: Fri, 20 Jun 2003 13:00:24 -0400

%% "FND-AD Qin Feng (NGN)" <address@hidden> writes:

  fqf> Following is my makefile:
 
  fqf> SHELL:=/usr/bin/sh
  fqf> PWD:=$(shell pwd)
 
  fqf> all:
  fqf>         @echo dir: $(PWD)
 
  fqf>     but the result is :
  fqf> dir:
 
  fqf>     it seems no shell command executed, my gmake version is v3.80 and
  fqf> platform is : OSF1 ds10.sbell.com.cn V4.0 1229 alpha

Not sure what's going on; it works for me (on Linux and Solaris--I don't
have an OSF1 system).  Are you sure you're running GNU make?  Run the
exact same command line that fails, but add a --version and make sure
it's GNU make.

You might try an older version of GNU make; there have been some fixes
to signal handling in the source since 3.80 was released, although those
typically only impact a make that's running with -j.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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