When centos uses source code compilation to install tesseract, three dependent packages are missing, but these three dependent packages have been installed and the versions fully meet the requirements.the details:
configure: WARNING: icu 52.1 or higher is required, but was not found.
configure: WARNING: Training tools WILL NOT be built.
configure: WARNING: Try to install libicu-dev package.
checking for pango... no
configure: WARNING: pango 1.38.0 or higher is required, but was not found.
configure: WARNING: Training tools WILL NOT be built.
configure: WARNING: Try to install libpango1.0-dev package.
checking for cairo... no
configure: WARNING: Training tools WILL NOT be built because of missing cairo library.
configure: WARNING: Try to install libcairo-dev?? package.
I tried: both tesseract5.3.0 and tesseract4.1.0 have this warning
the version of three dependent packages in my current centos environment:
# rpm -q libicu pango cairo
libicu-60.3-2.1.al8.x86_64
pango-1.48.7-3.0.1.al8.x86_64
cairo-1.17.4-7.al8.x86_64
thanks for your replies