You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When centos uses source code compilation to install tesseract, three dependent packages are missing. However, these three dependent packages have been installed and the versions fully meet the requirements. This prevents me from installing the training tool.
the details of three wainings:
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.
These three dependency packages are in my current centos environment:
Unfortunately, I tried it, both Tesseract4.1.0 and Tesseract5.3.0 have this problem.
Are there any environment variables that need to be configured for these three packages?
I tried, icu 52.1 was installed using source code compilation, and PKG_CONIFG_PATH was set in /etc/profile. The first dependency package warning could be resolved, but the remaining two dependency package warnings left me at a loss.
Looking forward to and thanking you for your answers.
The text was updated successfully, but these errors were encountered:
When centos uses source code compilation to install tesseract, three dependent packages are missing. However, these three dependent packages have been installed and the versions fully meet the requirements. This prevents me from installing the training tool.
the details of three wainings:
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.
These three dependency packages are 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
[root@iZbp1175f1gdn2130azzoi
Unfortunately, I tried it, both Tesseract4.1.0 and Tesseract5.3.0 have this problem.
Are there any environment variables that need to be configured for these three packages?
I tried, icu 52.1 was installed using source code compilation, and PKG_CONIFG_PATH was set in /etc/profile. The first dependency package warning could be resolved, but the remaining two dependency package warnings left me at a loss.
Looking forward to and thanking you for your answers.
The text was updated successfully, but these errors were encountered: