[GRASS5] [bug #3033] (grass) Makefile has trouble with

Markus Neteler neteler at itc.it
Wed Mar 2 03:21:36 EST 2005


On Mon, Feb 28, 2005 at 12:03:29PM +0000, Glynn Clements wrote:
> 
> Request Tracker wrote:
> 
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=3033
> 
> > Subject: Makefile has trouble with 
> > Platform: Solaris2.X/Sparc
> > grass obtained from: Trento Italy site
> > grass binary for platform: Compiled from Sources
> > GRASS Version: 6.00beta1,2
> 
> > Grass6 doesn't compile on my solaris 8 system. There are a few
> > survivable errors, but the biggest problem is that the makefiles call
> > "install" which doesn't behave as it seems the makefile expects it to
> > (or indeed as the man page expects it to). In various places in the
> > makefile, you get commands like this:
> > 
> > $(INSTALL) -m [123] [somefilename] [somedirname]/
> > 
> > This is *supposed* to do the following:
> > execute a "find" command on [somedirname]/[somefilename]
> > If file exists, issue a warning and overwrite
> > If file doesn't exist, just install.
> > What it actually does is:
> > If file exists, just install
> > If file does not exist, puke your guts out and die.
> 
> Then "install" is broken.
> 
> The AC_PROG_INSTALL macro used by the configure script should set the
> INSTALL variable to the path to the supplied install-sh script if it
> fails to detect a usable install program.
> 
> However, include/Make/Platform.make.in unconditionally defines:
> 
> 	INSTALL             = install
> 
> It should be:
> 
> 	INSTALL             = @INSTALL@
> 
> so that the install-sh script will be used when appropriate.

Fixed in CVS.

Markus
 




More information about the grass-dev mailing list