Article View: gnu.utils.bug
Article #701GNUmake bug?
From: Ken Hurst
Date: Mon, 31 Aug 1992 22:52
Date: Mon, 31 Aug 1992 22:52
87 lines
2335 bytes
2335 bytes
First: I am running:
garlock{hurst}50: make -v -f /dev/null
GNU Make version 3.60, by Richard Stallman and Roland McGrath.
Copyright (C) 1988-1991 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
make: No targets. Stop.
The bug?
When a rule is to execute a csh script on a Sun SPARC, I get:
garlock{hurst}63: make test_csh
script.csh
csh: Permission denied
make: *** [test_csh] Error 1
This works fine on an hp730 running GNUmake made from the
same source. It also works fine when using the native Sun
make. Here is a demo. garlock is a sun4, cobra is an hp730
garlock{hurst}65: make test_csh
script.csh
csh: Permission denied
make: *** [test_csh] Error 1
garlock{hurst}66: make test_sh
script.sh
sh script here!
garlock{hurst}67: /bin/make test_csh
script.csh
this is a csh script
garlock{hurst}68:
cobra{hurst}53: make test_csh
script.csh
this is a csh script
cobra{hurst}54: make -v -f /dev/null
GNU Make version 3.60, by Richard Stallman and Roland McGrath.
Copyright (C) 1988-1991 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
make: No targets. Stop.
cobra{hurst}55:
Here is the Makefile:
-----
test_csh:
script.csh
test_sh:
script.sh
-----
here is sript.csh
------
#! /bin/csh -f
echo this is a csh script
------
here is script.sh
-----
echo sh script here!
-----
|/ | Ken Hurst
| \ | hurst@garlock.jpl.nasa.gov MS 238-600
|----| voice: (818) 354-6637 office Jet Propulsion Laboratory
| | | (805) 270-9707 home 4800 Oak Grove Dr.
|\_/ | FAX: (818) 393-4965 Pasadena, California 91109
Technical Details
Message-ID:
<9208312252.AA28397@garlock.Jpl.Nasa.Gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!garlock.jpl.nasa.gov!hurstShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!garlock.jpl.nasa.gov!hurst From: hurst@garlock.jpl.nasa.gov (Ken Hurst) Subject: GNUmake bug? Message-ID: <9208312252.AA28397@garlock.Jpl.Nasa.Gov> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 31 Aug 1992 22:52:52 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 88