<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Markus,<div><br></div><div>i tried to apply the patch, but it fails on the actually gdal-trunk (revision : Revision: 17810 )</div><div><br></div><div>i'm tring to see how to apply the patch manually .. but it is 6000 lines :'(</div><div><br></div><div>this the log tring to apply the patch :</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: Times; "><pre style="word-wrap: break-word; white-space: pre-wrap; ">geofem@geofem:/usr/local/src/gdal$ patch -p0 < /home/geofem/Downloads/gdal_grass7_plugin.diff
patching file frmts/grass/pkg/configure.in
Hunk #2 succeeded at 152 (offset 9 lines).
patching file frmts/grass/pkg/configure
Hunk #62 FAILED at 3395.
Hunk #65 FAILED at 3446.
Hunk #67 FAILED at 3534.
Hunk #68 succeeded at 3630 (offset 78 lines).
Hunk #69 succeeded at 3694 (offset 78 lines).
Hunk #70 succeeded at 3712 (offset 78 lines).
Hunk #71 succeeded at 3793 (offset 78 lines).
Hunk #72 succeeded at 3854 (offset 78 lines).
Hunk #73 succeeded at 3978 (offset 78 lines).
Hunk #74 succeeded at 4008 (offset 78 lines).
Hunk #75 succeeded at 4023 (offset 78 lines).
Hunk #76 succeeded at 4136 (offset 78 lines).
patch: **** malformed patch at line 5577: @@ -3895,7 +4587,9 @@
geofem@geofem:/usr/local/src/gdal$ </pre></span></div><div><br></div><div>Have you any ideas?</div><div>idea .. (but i guess it is totally wrong)</div><div>can i download gdal-grass plug-in from the gdal-revision you applied the patch</div><div>and use it on the actual gdal trunk?</div><div><br></div><div>thanks for any suggestion!</div><div><br></div><div>Massimo.</div><div><div><div><br></div><div>il giorno 14/ott/09, alle ore 19:09, Markus Neteler ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Wed, Oct 14, 2009 at 12:02 PM, Massimo Di Stefano<br><<a href="mailto:massimodisasha@yahoo.it">massimodisasha@yahoo.it</a>> wrote:<br><blockquote type="cite">Hi All.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm tring to build the gdal-grass plug-in (i'm using gdal from svn)<br></blockquote><blockquote type="cite">on a debian sid machine,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">i had this problem :<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">geofem@geofem:/usr/local/src/gdal/frmts/grass/gdal-grass-1.7.0$ ./configure<br></blockquote><blockquote type="cite">--with-gdal=/usr/local/bin/gdal-config<br></blockquote><blockquote type="cite">--with-grass=/usr/local/grass-7.0.svn/<br></blockquote>...<br><blockquote type="cite">configure: error: --with-grass=/usr/local/grass-7.0.svn requested, but<br></blockquote><blockquote type="cite">libraries not found! Perhaps you need to set LD_LIBRARY_PATH to include<br></blockquote><blockquote type="cite">/usr/local/grass-7.0.svn/lib?<br></blockquote><blockquote type="cite">geofem@geofem:/usr/local/src/gdal/frmts/grass/gdal-grass-1.7.0$<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">i have :<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">cat /etc/ld.so.conf.d/grass.conf<br></blockquote><blockquote type="cite">/usr/local/grass-7.0.svn/lib<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">have you any clue on how to fix the gdal-grass build ?<br></blockquote><br>Yes, see the patch in<br><a href="http://trac.osgeo.org/gdal/ticket/2953">http://trac.osgeo.org/gdal/ticket/2953</a><br><br>Markus<br></div></blockquote></div><br></div></body></html>