A question about missing dependency warnings when compiling and installing tesseract on centos using source code

24 views
Skip to first unread message

Xinyuan Yu

unread,
May 7, 2024, 10:42:52 AM5/7/24
to tesseract-ocr

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
Reply all
Reply to author
Forward
0 new messages