[GRASS-user] compiling grass 7 external modules

Glynn Clements glynn at gclements.plus.com
Thu Jul 15 22:08:49 EDT 2010


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 at gclements.plus.com>


More information about the grass-user mailing list