[gdal-dev] grass lib not found : gdal-grass plug-in (grass-7.0)

Massimo Di Stefano massimodisasha at yahoo.it
Wed Oct 14 15:37:04 EDT 2009


Thanks Markus,

i tried to apply the patch, but it fails on the actually gdal-trunk  
(revision :  Revision: 17810  )

i'm tring to see how to apply the patch manually .. but it is 6000  
lines :'(

this the log tring to apply the patch :


geofem at 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 at geofem:/usr/local/src/gdal$

Have you any ideas?
idea .. (but i guess it is totally wrong)
can i download gdal-grass plug-in from the gdal-revision you applied  
the patch
and use it on the actual gdal trunk?

thanks for any suggestion!

Massimo.

il giorno 14/ott/09, alle ore 19:09, Markus Neteler ha scritto:

> On Wed, Oct 14, 2009 at 12:02 PM, Massimo Di Stefano
> <massimodisasha at yahoo.it> wrote:
>> Hi All.
>>
>> I'm tring to build the gdal-grass plug-in (i'm using gdal from svn)
>> on a debian sid machine,
>>
>> i had this problem :
>>
>>
>> geofem at geofem:/usr/local/src/gdal/frmts/grass/gdal-grass-1.7.0$ ./ 
>> configure
>> --with-gdal=/usr/local/bin/gdal-config
>> --with-grass=/usr/local/grass-7.0.svn/
> ...
>> configure: error: --with-grass=/usr/local/grass-7.0.svn requested,  
>> but
>> libraries not found!  Perhaps you need to set LD_LIBRARY_PATH to  
>> include
>> /usr/local/grass-7.0.svn/lib?
>> geofem at geofem:/usr/local/src/gdal/frmts/grass/gdal-grass-1.7.0$
>>
>> i have  :
>>
>> cat /etc/ld.so.conf.d/grass.conf
>> /usr/local/grass-7.0.svn/lib
>>
>>
>> have you any clue on how to fix the gdal-grass build ?
>
> Yes, see the patch in
> http://trac.osgeo.org/gdal/ticket/2953
>
> Markus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20091014/b2842a52/attachment.html


More information about the gdal-dev mailing list