št 3. 1. 2019 o 15:38 <khanash...@vitalify.jp> napísal(a):

> During configure, error occurs.
>
> checking for LEPTONICA... no
>
> configure: error: Leptonica 1.74 or higher is required. Try to install
> libleptonica-dev package.
>
> But, I have installed leptonica-1.77.0.
>

What does it mean?

>
>
> ・Environment
>
>    - Tesseract Version: master 4.0.0 (2019-01-03)
>    - Commit Number: 3377ed2
>    - Platform: Amazon Linux AMI release 2018.03
>
> ・Issue command
>
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
> export LIBLEPT_HEADERSDIR=/usr/local/include/leptonica
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
> ./configure --with-extra-libraries=/usr/local/lib
>
>
> /usr/local is standard lib path, so IMO there is not need to add it to
configure (but maybe this is not true on each distribution ;-) ).

Anyway leptonica presence is detected by pkg-config
<https://github.com/tesseract-ocr/tesseract/blob/master/configure.ac#L423>.Check
config.log why it failed to find leptonica. Do you have more leptonica
installations (e.g /usr and /usr/local)?


> Please enlighten me on the specifics.
>
> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tesseract-ocr+unsubscr...@googlegroups.com.
> To post to this group, send email to tesseract-ocr@googlegroups.com.
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/e573388c-5475-4cc4-8853-198258305243%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/e573388c-5475-4cc4-8853-198258305243%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xtc%3D7gqKHM_bXRC_oH-_nM-o3Ej%2B_MArrShZwQpW9MYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to