[GRASS-dev] How to compile a script in GRASS

Markus Neteler neteler at osgeo.org
Sat Oct 22 18:14:59 EDT 2011


On Fri, Oct 21, 2011 at 5:31 PM, Luisa Peña <luisapena1979 at gmail.com> wrote:
> Greetings
>
> I have GRASS script and I want to compile it in Linux.
> I have used other files (like r.example) as an example and when I try to run
> it like (e.g. r.example)
> cd r.example
> make
>
> I get:
> Makefile:5: ../../include/Make/Script.make: No such file or directory
> make: *** No rule to make target `../../include/Make/Script.make'.  Stop.
>
> Why am I missing? I have GRASS6.4.1 installed.

You need to
- either also install the grass-dev(el) package
- or configure the source code and compile at least the
  libraries

Markus


More information about the grass-dev mailing list