Hi,<br><br>I'm working to make a script for grass add_ons. <br><br>So, I'm trying to compile an individual module for understand how working.<br><br>I've seen the howto: <a href="http://grass.itc.it/grass63/source/INSTALL">http://grass.itc.it/grass63/source/INSTALL</a><br>
<br>I've tryed with a script of add_ons (r.in.onearth), I change the relative path<br><br>in the Makefile to absolute path. (MODULE_TOPDIR=/mydirectory<br><br>So it's stopped, because it don't such the file: <br>
($MODULE_TOPDIR)/include/Make/Grass.make<br>($MODULE_TOPDIR)/include/Make/Platform.make<br>and "don't have the rule to make target ($MODULE_TOPDIR)/include/Make/Grass.make"<br><br>so I've seen that the ($MODULE_TOPDIR)/include/Make/Grass.make don't exist, but<br>
exists a ($MODULE_TOPDIR)/include/Make/Grass.make.in file, but I've correctly installed<br>GRASS sorce code in my pc...<br><br>What's the problem?<br><br>Thanks in advanced<br><br>R<br><br><br><pre>COMPILING INDIVIDUAL MODULES - OWN MODULES<br>
<br>To compile (self-made) GRASS modules or to compile modified modules<br>at least the GRASS libraries have to be compiled locally. This is<br>done by launching:<br><br> make libs<br><br>Then change into the module's directory and launch the "make" <br>
command. The installation can be either done with "make install" from<br>the main source code directory or locally with <br> "INST_NOW=y make"<br><br>You may want to define an alias for this:<br> alias gmake6='INST_NOW=y make'<br>
Then simply compile/install the current module with<br> gmake6<br><br>Note: If you keep your module source code outside the standard GRASS<br>source code directory structure, you will have to change the relative<br>path(s) in the Makefile to absolute path(s).<br>
<br><br></pre><br>