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.
Thanks
Luisa
On Fri, Oct 21, 2011 at 5:31 PM, Luisa Peña <luisapena1979@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
Greetings
I have installed GRASS 6.4.1 from ELGIS.argeo repository (grass.x86_64) and installed. Also I have installed grass-devel package fromt he same repository. What is not correc in this?
Or at least, can anyone point me where can I get all steps of this procedure?
Thanks
Luisa
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
On Mon, Oct 24, 2011 at 10:27 AM, Luisa Peña <luisapena1979@gmail.com> wrote:
Greetings
I have installed GRASS 6.4.1 from ELGIS.argeo repository (grass.x86_64) and
installed. Also I have installed grass-devel package fromt he same
repository. What is not correc in this?
Yes it is. The question where your module is stored. If it is outside
the GRASS source code directory then you need to tell "make" where
to find it.
# adapt path to your system:
make MODULE_TOPDIR=/usr/lib64/grass641/
On Mon, Oct 24, 2011 at 1:11 PM, Luisa Peña <luisapena1979@gmail.com> wrote:
Hi Markus
(please keep it on the list)
I have tried
... what? need to know it.
Does
/usr/lib64/grass-6.4.1/include/Make/
exist?
Markus
and I got:
Makefile:5: /usr/lib64/grass-6.4.1/include/Make/Script.make: No such file or
directory
make: *** No rule to make target
`/usr/lib64/grass-6.4.1/include/Make/Script.make'. Stop.
The thing is that there is no Include/Make in my GRASS folder. But I have
installed grass+libs+devel packages
2011/10/24 Markus Neteler <neteler@osgeo.org>
On Mon, Oct 24, 2011 at 10:27 AM, Luisa Peña <luisapena1979@gmail.com>
wrote:
> Greetings
> I have installed GRASS 6.4.1 from ELGIS.argeo repository (grass.x86_64)
> and
> installed. Also I have installed grass-devel package fromt he same
> repository. What is not correc in this?
Yes it is. The question where your module is stored. If it is outside
the GRASS source code directory then you need to tell "make" where
to find it.
# adapt path to your system:
make MODULE_TOPDIR=/usr/lib64/grass641/
and I got:
Makefile:5: /usr/lib64/grass-6.4.1/include/Make/Script.make: No such file or
directory
make: *** No rule to make target
`/usr/lib64/grass-6.4.1/include/Make/Script.make’. Stop.
The thing is that there is no Include/Make in my GRASS folder. But I have
installed grass+libs+devel packages
Greetings
I have installed GRASS 6.4.1 from ELGIS.argeo repository (grass.x86_64)
and
installed. Also I have installed grass-devel package fromt he same
repository. What is not correc in this?
Yes it is. The question where your module is stored. If it is outside
the GRASS source code directory then you need to tell “make” where
to find it.