[gdal-dev] gdal-2.2.1 build failure

Feld, Michael (IMS) FeldM at imsweb.com
Mon Aug 28 09:08:27 PDT 2017

Hi, I am trying to build gdal-2.2.1 on CentOS 6.9 and I am getting the below build failure message. I did not experience this with gdal-2.2.0 in the past. I have jasper-devel-1.900.1-21.el6_9.x86_64 installed. Does anyone have any tips or suggestions? Thanks

/usr/include/jasper/jas_math.h: In function 'bool jas_safe_size_mul(size_t, size_t, size_t*)':
/usr/include/jasper/jas_math.h:143:15: error: 'SIZE_MAX' was not declared in this scope
/usr/include/jasper/jas_math.h: In function 'bool jas_safe_size_add(size_t, size_t, size_t*)':
/usr/include/jasper/jas_math.h:170:10: error: 'SIZE_MAX' was not declared in this scope
make[2]: *** [../o/jpeg2000dataset.lo] Error 1
make[2]: Leaving directory `/usr/local/src/gdal-2.2.1/frmts/jpeg2000'
make[1]: *** [jpeg2000-install-obj] Error 2
make[1]: Leaving directory `/usr/local/src/gdal-2.2.1/frmts'
make: *** [frmts-target] Error 2


Information in this e-mail may be confidential. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an employee or agent of the addressee(s), please note that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender of the error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170828/8dc9195b/attachment.html>

More information about the gdal-dev mailing list