[postgis-users] PostGIS 2.2.0 build error on Linux.

Bandaru Muralikrishna bandaru.muralikrishna at enterprisedb.com
Mon Oct 12 23:17:09 PDT 2015


Hi,

I am trying build PostGIS 2.2.0 source code on linux platform . I am
getting below build error:
-----
In file included from bytebuffer.c:40:
bytebuffer.h:1: error: stray ‘\357’ in program
bytebuffer.h:1: error: stray ‘\273’ in program
bytebuffer.h:1: error: stray ‘\277’ in program
In file included from bytebuffer.h:44,
                 from bytebuffer.c:40:
varint.h:1: error: stray ‘\357’ in program
varint.h:1: error: stray ‘\273’ in program
varint.h:1: error: stray ‘\277’ in program
make[1]: make[1]: Leaving directory
`/mnt/hgfs/pginstaller.pune/PostGIS/source/postgis.linux/liblwgeom'
*** [bytebuffer.lo] Error 1
make: *** [all] Error 1

---------

I found that the file types for the files mentioned below are UTF-8
Unicode. When I converted these files to ASCII type the build issue
get resolved. Should this change go in git?

bytebuffer.h
effectivearea.h
varint.h
lwin_twkb.c

Thanks & Regards,
Murali Krishna.


More information about the postgis-users mailing list