<div dir="ltr"><div>Hi all</div><div>I finally was able to compile a module but the following was printed in the console. </div><span lang="PT"><p>gcc -L/opt/grass643RC3/grass-6.4.3RC3/lib -Wl,--export-dynamic -Wl,-rpath-link,/opt/grass643RC3/grass-6.4.3RC3/lib    -o /opt/grass643RC3/grass-6.4.3RC3/bin/r.example OBJ.x86_64-unknown-linux-gnu/main.o  -lgrass_gis.6.4.3RC3 -lgrass_datetime.6.4.3RC3 -lz     -lm  -lz </p>
<div>make htmlcmd</div><div>
make[1]: Entering directory `/home/grass/r.example'</div><div>
make /opt/grass643RC3/grass-6.4.3RC3/docs/html/r.example.html HTMLSRC=/opt/grass643RC3/grass-6.4.3RC3/bin/r.example</div><div>
make[2]: Entering directory `/home/grass/r.example'</div><div>
if [ "/opt/grass643RC3/grass-6.4.3RC3/bin/r.example" != "" ] ; then GISRC=/opt/grass643RC3/grass-6.4.3RC3/demolocation/.grassrc64 GISBASE=/opt/grass643RC3/grass-6.4.3RC3 PATH="/opt/grass643RC3/grass-6.4.3RC3/bin:$PATH" LD_LIBRARY_PATH="/opt/grass643RC3/grass-6.4.3RC3/bin:/opt/grass643RC3/grass-6.4.3RC3/lib:" LC_ALL=C /opt/grass643RC3/grass-6.4.3RC3/bin/r.example --html-description < /dev/null | grep -v '</body>\|</html>' > r.example.tmp.html ; true ; fi</div>
<div>
/home/opt/grass643RC3/grass-6.4.3RC3//tools/mkhtml.sh r.example ; mkdir -p /opt/grass643RC3/grass-6.4.3RC3/docs/html ; /usr/bin/install -c  -m 644 r.example.tmp.html /opt/grass643RC3/grass-6.4.3RC3/docs/html/r.example.html ; for file in  *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/install -c  -m 644 $file /opt/grass643RC3/grass-6.4.3RC3/docs/html ; fi done 2> /dev/null ; true</div>
<div>
make[2]: Leaving directory `/home/grass/r.example'</div><div>
make[1]: Leaving directory `/home/grass/r.example'</div><div>
make mancmd</div><div>
make[1]: Entering directory `/home/grass/r.example'</div><div>
make /opt/grass643RC3/grass-6.4.3RC3/man/man1/r.example.1 MANSRC=/opt/grass643RC3/grass-6.4.3RC3/docs/html/r.example.html</div><div>make[2]: Entering directory `/home/grass/r.example'</div><div>
mkdir -p /opt/grass643RC3/grass-6.4.3RC3/man/man1</div><div>
GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.3RC3 sh /home/opt/grass643RC3/grass-6.4.3RC3//tools/g.html2man /opt/grass643RC3/grass-6.4.3RC3/docs/html/r.example.html /opt/grass643RC3/grass-6.4.3RC3/man/man1/r.example.1 1</div>
<div>
Converting: /opt/grass643RC3/grass-6.4.3RC3/docs/html/r.example.html to /opt/grass643RC3/grass-6.4.3RC3/man/man1/r.example.1</div><div>
make[2]: Leaving directory `/home/grass/r.example'</div><div>
make[1]: Leaving directory `/home/grass/r.example'</div><div> </div><div>Is this all ok?</div><div>Kat</div></span><div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/26 katrin eggert <span dir="ltr"><<a href="mailto:katrineggert1980@gmail.com" target="_blank">katrineggert1980@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thank you Stephen</div><div>I guess my System manager used GRASS-binary packages which it means that do not support this.</div>
<div>So I should ask to compile and install GRASS using this instructions. Are these commands updated?</div>
<div>Thanks</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/26 Stephen Sefick <span dir="ltr"><<a href="mailto:ssefick@gmail.com" target="_blank">ssefick@gmail.com</a>></span><br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
Hello,<br>
<br>
Take a look at <a href="http://grasswiki.osgeo.org/wiki/Compile_and_Install#Addons" target="_blank">http://grasswiki.osgeo.org/<u></u>wiki/Compile_and_Install#<u></u>Addons</a>.<br>
<br>
You will need the source for the addon and the source for GRASS unless an easier way now exists.<br>
good luck,<br>
<br>
Stephen<div><div><br>
<br>
On Fri 26 Apr 2013 06:38:26 AM CDT, katrin eggert wrote:<br>
</div></div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div><div>
<br>
Dear all,<br>
I would like to know where can I find instructions on how to compile a<br>
grass module (eg. r.example) in a Linux server (in this case Debian)<br>
with GRASS 6.4.3)<br>
Thank you<br>
Best regards,<br>
Kat<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/grass-user</a><br>
</blockquote>
<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>