[GRASS-user] compiling grass 7 external modules

Hi
How to do that?

In GRASS65 I create dir in raster or vector directory, program module in I want to create, next make, sudo make install, ready

in grass 7 not.
after make install: "no rules to make install. Stop". Of course make goes well, without warnings and errors, objects are created in OBJ.xxx directory etc.

The same repeats when I do "make install" in any module directory which I change it for my purposes.

Thanks in advance for explanation
Jarek

Jarek Jasiewicz wrote:

In GRASS65 I create dir in raster or vector directory, program module
in I want to create, next make, sudo make install, ready

in grass 7 not.
after make install: "no rules to make install. Stop". Of course make
goes well, without warnings and errors, objects are created in OBJ.xxx
directory etc.

The same repeats when I do "make install" in any module directory which
I change it for my purposes.

GRASS 7 doesn't have "install" targets. These were only added to 6.x
quite recently, and haven't been sync'd to 7.0 (the build system has
changed a lot between 6.x and 7.0).

You can use e.g.:

  make ... ARCH_DISTDIR=...

to cause the output file(s) to be created somewhere other than the
dist.<arch> directory; ARCH_DISTDIR should refer to the base directory
of the GRASS installation, i.e. $GISBASE.

--
Glynn Clements <glynn@gclements.plus.com>

GRASS 7 doesn't have "install" targets. These were only added to 6.x
quite recently, and haven't been sync'd to 7.0 (the build system has
changed a lot between 6.x and 7.0).

You can use e.g.:

  make ... ARCH_DISTDIR=...

to cause the output file(s) to be created somewhere other than the
dist.<arch> directory; ARCH_DISTDIR should refer to the base directory
of the GRASS installation, i.e. $GISBASE.

Glynn!
Thanks for explanation.
Jarek

On Fri, Jul 16, 2010 at 4:08 AM, Glynn Clements
<glynn@gclements.plus.com> wrote:

Jarek Jasiewicz wrote:

In GRASS65 I create dir in raster or vector directory, program module
in I want to create, next make, sudo make install, ready

in grass 7 not.
after make install: "no rules to make install. Stop". Of course make
goes well, without warnings and errors, objects are created in OBJ.xxx
directory etc.

The same repeats when I do "make install" in any module directory which
I change it for my purposes.

GRASS 7 doesn't have "install" targets. These were only added to 6.x
quite recently, and haven't been sync'd to 7.0 (the build system has
changed a lot between 6.x and 7.0).

I have added it today.

Now g.extension works also in GRASS 7.

Markus