Unable to successfully process 'make leptonica tesseract'

36 views
Skip to first unread message

Sawan Kumar

unread,
Aug 12, 2020, 5:44:14 AM8/12/20
to tesseract-ocr

Hello All,

I cloned 'https://github.com/tesseract-ocr/tesstrain.git' at one of directory in desktop. I installed all dependencies as mentioned in https://stackoverflow.com/questions/57952135/makefile213-recipe-for-target-tesseract-built-failed-make-tesseract-buil.

I tried doing 'make leptonica tesseract' on command line within 'tesstrain' directory. I have been getting this error 'make: ** [Makefile : 325: tesseract.built] Error 2' for long. I believe i am able to install leptonica. But the code stops for 'Tesseract Training Tools' post line number 325 in Makefile script.

Please find screenshot in the attachment.

Ubuntu configuration is as follows:

Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

Please help.

Thanks and regards,

Sawan

Screenshot from 2020-08-12 14-34-53.png

Zdenko Podobny

unread,
Aug 12, 2020, 12:55:31 PM8/12/20
to tesser...@googlegroups.com
Do not post screenshot of textual output. Provide full logs of whole process.

Zdenko


st 12. 8. 2020 o 11:44 Sawan Kumar <sawan...@cognext.ai> napísal(a):
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/fd4c79ad-0db0-46bf-bbf5-b31e4a6f025dn%40googlegroups.com.

Sawan Kumar

unread,
Aug 12, 2020, 5:04:10 PM8/12/20
to tesser...@googlegroups.com
Hello All,

Hi,
I cloned 'https://github.com/tesseract-ocr/tesstrain.git' at one of directory in desktop. I am using Ubuntu 20.04. I removed previously installed tesseract-ocr. I installed following libraries:
g++ , autoconf, automake, libtool, pkg-config, libpng-dev, libjpeg8-dev, libtiff5-dev, zlib1g-dev, libicu-dev, libpango1.0-dev, libcairo2-dev, libleptonica-dev, ca-certificates
from https://tesseract-ocr.github.io/tessdoc/Compiling and https://tesseract-ocr.github.io/tessdoc/Compiling-%E2%80%93-GitInstallation urls.

I tried doing 'make leptonica tesseract' on command line within 'tesstrain' directory. I have been getting this error
make: ** [Makefile : 325: tesseract.built] Error 2 for long.

Please help.

Regards,
Sawan


You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/9-OH6gZ7PY4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yKq%3DsKpa-B3Ve3UUXFi03JXwTdQ3qx5GS191KB6v9gaA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages