[gdal-dev] build error from svn

Frank Warmerdam warmerdam at pobox.com
Sat Jul 16 15:12:24 EDT 2011


Folks,

I should have mentioned more widely, I have written up a ticket on
this issue at:

  http://trac.osgeo.org/gdal/ticket/4162

I presume the problem occurs with an external libgeotiff but haven't yet tried
to reproduce the problem.

Best regards,

On Sat, Jul 16, 2011 at 7:06 AM, Even Rouault
<even.rouault at mines-paris.org> wrote:
> Selon David Burken <dburken at comcast.net>:
>
> Dave,
>
> I presume you build GDAL against external libgeotiff, and not internal
> libgeotiff. In any case, it is weird because cpl_serv.h should be installed when
> installing libgeotiff (I've just verified it with libgeotiff from svn). So I
> presume the include paths in the GDAL compilation line might miss a directory ?
> Can you give more elements ?
>
>
>> Hi Frank, all,
>>
>> Just fyi, getting build error from svn.  Looks like cpl_serv.h is gone
>> now.  See below for minor patch.
>>
>> Take care,
>> Dave
>>
>> $ svn update
>> At revision 22725.
>>
>> gt_wkt_srs.cpp:33:22: fatal error: cpl_serv.h: No such file or directory
>> compilation terminated.
>> make[1]: *** [../o/gt_wkt_srs.lo] Error 1
>> make[1]: Leaving directory `/home/work/osgeo/gdal/frmts/gtiff'
>> make: *** [gtiff-install-obj] Error 2
>>
>> Compilation exited abnormally with code 2 at Fri Jul 15 15:06:55
>>
>> Patch:
>>
>> svn diff frmts/gtiff/gt_wkt_srs.cpp
>> Index: frmts/gtiff/gt_wkt_srs.cpp
>> ===================================================================
>> --- frmts/gtiff/gt_wkt_srs.cpp    (revision 22725)
>> +++ frmts/gtiff/gt_wkt_srs.cpp    (working copy)
>> @@ -30,7 +30,9 @@
>>    * DEALINGS IN THE SOFTWARE.
>>
>> ****************************************************************************/
>>
>> -#include "cpl_serv.h"
>> +// #include "cpl_serv.h"
>> + #include "cpl_csv.h"
>> +
>>   #include "geo_tiffp.h"
>>   #define CPL_ERROR_H_INCLUDED
>>
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer


More information about the gdal-dev mailing list