[gdal-dev] Errors during make - GDAL/Linux
Ritu Vatsalya
ritu.vatsalya at teranet.ca
Tue Apr 5 13:33:23 PDT 2022
Hello,
I am trying to install GDAL 3.3.3 on Red Hat Enterprise Linux release 8.5.
I hit the error below during make:
make -C jpeg2000 install-obj
make[2]: Entering directory '/u01/software/gdal-3.3.3/frmts/jpeg2000'
/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
jpeg2000dataset.cpp:40:10: fatal error: jasper/jasper.h: No such file or directory
#include <jasper/jasper.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [../../GDALmake.opt:648: ../o/jpeg2000dataset.lo] Error 1
make[2]: Leaving directory '/u01/software/gdal-3.3.3/frmts/jpeg2000'
make[1]: *** [GNUmakefile:15: jpeg2000-install-obj] Error 2
make[1]: Leaving directory '/u01/software/gdal-3.3.3/frmts'
make: *** [GNUmakefile:114: frmts-target] Error 2
Also, I tried installing GDAL version 3.3.2 and get the same issue. Please suggest.
Thanks,
Ritu Vatsalya
Sr Database Admin
Teranet Inc.
123 Front Street West, Suite 700
Toronto, ON M5J 2M2
416.254.0687
www.teranet.ca<http://www.teranet.ca/>
[togaf9-certified]
[cid:image002.png at 01D8490A.DD07B4C0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220405/79e683f5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2300 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220405/79e683f5/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 11290 bytes
Desc: image002.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220405/79e683f5/attachment-0001.png>
More information about the gdal-dev
mailing list