[gdal-dev] gdal-2.2.1 build failure

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[gdal-dev] gdal-2.2.1 build failure

Feld, Michael (IMS)

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.

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: gdal-2.2.1 build failure

Even Rouault-2

On lundi 28 août 2017 16:08:27 CEST Feld, Michael (IMS) wrote:

> 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

 

Michael,

 

this has been fixed in the 2.2 branch (post 2.2.1) per

https://trac.osgeo.org/gdal/ticket/6951

 

(I believe the issue would also be reproduced with GDAL 2.2.0, if you compiled it against the newer jasper-devel package)

 

Even

 

>

>

>

> ________________________________

>

> 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.

 

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev