🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ken Hurst Mon, 31 Aug 1992 22:52
GNUmake bug?
#701
Author: Ken Hurst
Date: Mon, 31 Aug 1992 22:52
87 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads