[GRASS-user] How to compile r.example

Markus Neteler neteler at osgeo.org
Mon Feb 6 05:53:07 EST 2012


On Mon, Feb 6, 2012 at 10:25 AM, Luisa Peña <luisapena1979 at gmail.com> wrote:
> Hi Markus
> Already done that. I have compiled and installed from source code. So my
> problem is to add and compile functions such as r.example.
> What do I have to do?
> Thanks
> Luisa

Now I see that you apparently copied it into your HOME directory.

Hence, compile it with

make MODULE_TOPDIR=/path/to/grass64

to tell the compiler where the main compiled GRASS code is.

Markus



> 2012/2/3 Markus Neteler <neteler at osgeo.org>
>>
>> On Fri, Feb 3, 2012 at 4:36 PM, Luisa Peña <luisapena1979 at gmail.com>
>> wrote:
>> > Greetings
>> > I'm running GRASS6.4.2 in a Linux machine and when I try to compile
>> > r.example I get this:
>> >
>> > lp at earth1:~/r.example$ make
>> > Makefile:10: ../../../include/Make/Module.make: No such file or
>> > directory
>> > make: *** No rule to make target `../../../include/Make/Module.make'.
>> > Stop.
>>
>> You need to run "configure" first in the main source code directory.
>>
>> See for details for example
>>
>> http://grass.osgeo.org/wiki/Compile_and_Install#Generic_Compilation_and_installation_procedure
>>
>> Markus
>
>


More information about the grass-user mailing list