Hi there<div><br></div><div>I have tried to compile r.seg, a Segmentation developed by Trento University. I Know this is not part of GRASS6.4 and not even an addon but can you help me on this? (where I got the module <a href="http://www.ing.unitn.it/~grass/">http://www.ing.unitn.it/~grass/</a>)</div>
<div><br></div><div>This is the command:sudo make -C r.seg MODULE_TOPDIR=/usr/local/grass-6.4.0svn</div><div>The output:</div><div><div>make: Entering directory `/home/knrr/Desktop/GRASS_dvp/r.seg&#39;</div><div>aseglib</div>
<div>make[1]: Entering directory `/home/knrr/Desktop/GRASS_dvp/r.seg/aseglib&#39;</div><div>make[1]: Leaving directory `/home/knrr/Desktop/GRASS_dvp/r.seg/aseglib&#39;</div><div>src</div><div>make[1]: Entering directory `/home/knrr/Desktop/GRASS_dvp/r.seg/src&#39;</div>
<div>gcc -L/usr/local/grass-6.4.0svn/lib -Wl,--export-dynamic -Wl,-rpath-link,/usr/local/grass-6.4.0svn/lib    -o /usr/local/grass-6.4.0svn/bin/r.seg OBJ.i686-pc-linux-gnu/main.o  -laseg -lgrass_gis -lgrass_datetime -lz     -lm  -lz </div>
<div>make htmlcmd</div><div>make[2]: Entering directory `/home/knrr/Desktop/GRASS_dvp/r.seg/src&#39;</div><div>make /usr/local/grass-6.4.0svn/docs/html/r.seg.html HTMLSRC=/usr/local/grass-6.4.0svn/bin/r.seg</div><div>make[3]: Entering directory `/home/knrr/Desktop/GRASS_dvp/r.seg/src&#39;</div>
<div>if [ &quot;/usr/local/grass-6.4.0svn/bin/r.seg&quot; != &quot;&quot; ] ; then GISRC=/usr/local/grass-6.4.0svn/demolocation/grassrc64 GISBASE=/usr/local/grass-6.4.0svn PATH=&quot;/usr/local/grass-6.4.0svn/bin:$PATH&quot; LD_LIBRARY_PATH=&quot;/usr/local/grass-6.4.0svn/bin:/usr/local/grass-6.4.0svn/lib:&quot; LC_ALL=C /usr/local/grass-6.4.0svn/bin/r.seg --html-description &lt; /dev/null | grep -v &#39;&lt;/body&gt;\|&lt;/html&gt;&#39; &gt; r.seg.tmp.html ; true ; fi</div>
<div>/usr/local/grass-6.4.0svn/tools/mkhtml.sh r.seg ; mkdir -p /usr/local/grass-6.4.0svn/docs/html ; /usr/bin/install -c  -m 644 r.seg.tmp.html /usr/local/grass-6.4.0svn/docs/html/r.seg.html ; for file in  *.png *.jpg ; do head -n 1 $file | grep &#39;^#!&#39; &gt; /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/install -c  -m 644 $file /usr/local/grass-6.4.0svn/docs/html ; fi done 2&gt; /dev/null ; true</div>
<div>make[3]: Leaving directory `/home/knrr/Desktop/GRASS_dvp/r.seg/src&#39;</div><div>make[2]: Leaving directory `/home/knrr/Desktop/GRASS_dvp/r.seg/src&#39;</div><div>make mancmd</div><div>make[2]: Entering directory `/home/knrr/Desktop/GRASS_dvp/r.seg/src&#39;</div>
<div>make /usr/local/grass-6.4.0svn/man/man1/r.seg.1 MANSRC=/usr/local/grass-6.4.0svn/docs/html/r.seg.html</div><div>make[3]: Entering directory `/home/knrr/Desktop/GRASS_dvp/r.seg/src&#39;</div><div>mkdir -p /usr/local/grass-6.4.0svn/man/man1</div>
<div>GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.0svn sh /usr/local/grass-6.4.0svn/tools/g.html2man/g.html2man /usr/local/grass-6.4.0svn/docs/html/r.seg.html /usr/local/grass-6.4.0svn/man/man1/r.seg.1 1</div><div>sh: Can&#39;t open /usr/local/grass-6.4.0svn/tools/g.html2man/g.html2man</div>
<div>make[3]: *** [/usr/local/grass-6.4.0svn/man/man1/r.seg.1] Error 2</div><div>make[3]: Leaving directory `/home/knrr/Desktop/GRASS_dvp/r.seg/src&#39;</div><div>make[2]: *** [mancmd] Error 2</div><div>make[2]: Leaving directory `/home/knrr/Desktop/GRASS_dvp/r.seg/src&#39;</div>
<div>make[1]: *** [cmd] Error 2</div><div>make[1]: Leaving directory `/home/knrr/Desktop/GRASS_dvp/r.seg/src&#39;</div><div>make: Leaving directory `/home/knrr/Desktop/GRASS_dvp/r.seg&#39;</div></div><div><br></div><div>Does it seems to all ok?</div>
<div>At my GRASS binary folder I don&#39;t have an executable (application/x-executable) but a KSeg document (application/x-kseg) that can be runned from GRASS. Is this normal/expected? </div><div><br></div><div>Thanks</div>
<div>Katrin</div>