[GRASS-user] Grass.make and Platform.make

I was hoping to try out the latest r.terracost (v 1.1 at the time of this email) on our Debian installation of GRASS 6.3, and I'm getting hung up on (following a "make"):

/var/tmp/grass/grass-6.3.0RC4/include/Make/Multi.make:4: /var/tmp/grass/grass-6.3.0RC4/include/Make/Platform.make: No such file or directory
/var/tmp/grass/grass-6.3.0RC4/include/Make/Multi.make:5: /var/tmp/grass/grass-6.3.0RC4/include/Make/Grass.make: No such file or directory
make: *** No rule to make target `/var/tmp/grass/grass-6.3.0RC4/include/Make/Grass.make'. Stop.

When I look in this directory, I see there's a Grass.make.in and a Platform.make.in, but nothing with just Platform.make and Grass.make. Any ideas how I get these two files?

--j

--

Jonathan A. Greenberg, PhD
Postdoctoral Scholar
Center for Spatial Technologies and Remote Sensing (CSTARS)
University of California, Davis
One Shields Avenue
The Barn, Room 250N
Davis, CA 95616
Cell: 415-794-5043
AIM: jgrn307, MSN: jgrn307@hotmail.com, Gchat: jgrn307

On Thu, Feb 12, 2009 at 9:01 PM, Jonathan Greenberg
<greenberg@ucdavis.edu> wrote:

I was hoping to try out the latest r.terracost (v 1.1 at the time of this
email) on our Debian installation of GRASS 6.3, and I'm getting hung up on
(following a "make"):

/var/tmp/grass/grass-6.3.0RC4/include/Make/Multi.make:4:
/var/tmp/grass/grass-6.3.0RC4/include/Make/Platform.make: No such file or
directory
/var/tmp/grass/grass-6.3.0RC4/include/Make/Multi.make:5:
/var/tmp/grass/grass-6.3.0RC4/include/Make/Grass.make: No such file or
directory
make: *** No rule to make target
`/var/tmp/grass/grass-6.3.0RC4/include/Make/Grass.make'. Stop.

When I look in this directory, I see there's a Grass.make.in and a
Platform.make.in, but nothing with just Platform.make and Grass.make. Any
ideas how I get these two files?

Yes: you need to "configure" the source code which generates those files
from the .in files.

Please take a look at "INSTALL" in the main source code directory what
to do. In a nutshell:

./configure
make
make install

but typically you need to give a couple of parameters to configure (depending
on the operating system).

Markus