[GRASSLIST:1299] Re: Grass 5b10 make clean

Eric G . Miller egm2 at jps.net
Mon Dec 18 21:53:27 EST 2000


On Tue, Dec 19, 2000 at 11:59:08AM +1100, Gordon Keith wrote:
> I am trying to install Grass 5 beta 10 on an solaris intel box.
> 
> I was unable to install from the binaries so I downloaded the source and 
> tried to build it.
> 
> I followed the instructions and did a "./configure" and "make install". 
> The error.log contained a lot of entries so I decided to "make clean" 
> and "make all" to try to track down the error messages.
> 
> Since make install requires root access I was doing this as root.
> 
> Can you image my horror when "make clean" flashed up:
> 
> /bin/sh -c "rm -rf /usr/local/bin/   2>/dev/null ; true"
> 
> and proceeded to do the same for a few other important directories such as:
> /usr/local/lib, /usr/local/include, /usr/local/man, etc.
> 
> Can I suggest (in _*extrememly strong*_ terms) that wiping out the 
> entire development environment (gcc, make etc) is NOT what most people 
> mean by make clean.
> 
> Please make it a little safer for newbies to play with grass.

I'll see if I can't convince others that "clean" shouldn't touch
anything in the installation directories.  Apparently there must of been
a problem in ./configure where "grass5" was not added to /usr/local.
The intention is to remove /usr/local/grass5/bin, etc... -- though I
don't think clean should touch those anyway.

-- 
Eric G. Miller <egm2 at jps.net>




More information about the grass-user mailing list