<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">I am trying to install GDAL 3.3.3 on Red Hat Enterprise Linux release 8.5.<o:p></o:p></p>
<p class="MsoNormal">I hit the error below during make:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">make -C jpeg2000 install-obj<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">make[2]: Entering directory '/u01/software/gdal-3.3.3/frmts/jpeg2000'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">/bin/sh /u01/software/gdal-3.3.3/libtool --mode=compile --silent --tag=CXX g++ -I/u01/software/gdal-3.3.3/port -I/u01/software/gdal-3.3.3/gcore -I/u01/software/gdal-3.3.3/alg -I/u01/software/gdal-3.3.3/ogr
-I/u01/software/gdal-3.3.3/ogr/ogrsf_frmts -I/u01/software/gdal-3.3.3/gnm -I/u01/software/gdal-3.3.3/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security
-Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wextra-semi -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wzero-as-null-pointer-constant
-Wsuggest-override -Wimplicit-fallthrough -DGNM_ENABLED -I/u01/software/gdal-3.3.3/port -DGDAL_COMPILATION -c -o ../o/jpeg2000dataset.lo jpeg2000dataset.cpp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">jpeg2000dataset.cpp:40:10: fatal error: jasper/jasper.h: No such file or directory<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">#include <jasper/jasper.h><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> ^~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">compilation terminated.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">make[2]: *** [../../GDALmake.opt:648: ../o/jpeg2000dataset.lo] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">make[2]: Leaving directory '/u01/software/gdal-3.3.3/frmts/jpeg2000'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">make[1]: *** [GNUmakefile:15: jpeg2000-install-obj] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">make[1]: Leaving directory '/u01/software/gdal-3.3.3/frmts'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">make: *** [GNUmakefile:114: frmts-target] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also, I tried installing GDAL version 3.3.2 and get the same issue. Please suggest.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Ritu Vatsalya <br>
</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Sr Database Admin<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.0pt;color:#212121"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Teranet Inc.<br>
</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">123 Front Street West, Suite 700<br>
Toronto, ON M5J 2M2<br>
416.254.0687<b><br>
</b></span><span style="color:black"><a href="http://www.teranet.ca/" target="_blank"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:blue">www.teranet.ca</span></a></span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#212121"><img border="0" width="131" height="50" style="width:1.3666in;height:.525in" id="_x0000_i1026" src="cid:image001.jpg@01D8490A.DD07B4C0" alt="togaf9-certified"></span><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black"><img border="0" width="326" height="31" style="width:3.4in;height:.325in" id="Picture_x0020_1" src="cid:image002.png@01D8490A.DD07B4C0"></span></b><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>