tesseract-ocr / tesstrain

Train Tesseract LSTM with make
Apache License 2.0
625 stars 180 forks source link

make leptonica tesseract ends with error #150

Closed sam-kurdi closed 4 years ago

sam-kurdi commented 4 years ago

i tried to perform below command make leptonica tesseract

at the end this error shows up

Makefile:307: recipe for target 'tesseract.built' failed make: *** [tesseract.built] Error 2

kba commented 4 years ago

Can you post the actual error message? What OS? Did you install the dependencies etc?

kba commented 4 years ago

I built Tesseract from source, following this: link

Then why build it again?

Impossible to debug without the error output.

Makefile:307: recipe for target 'tesseract.built' failed
make: *** [tesseract.built] Error 2

just means that the make process aborted because a process ended with non-zero status. Can you post the compiler output before that?

sam-kurdi commented 4 years ago

OS Linux Ubuntu 18.0 on VirtualBox. I build from git, I followed https://github.com/tesseract-ocr/tesstrain for installation

after entering this command make leptonica tesseract end of the installation is following message

Makefile:307: recipe for target 'tesseract.built' failed make: *** [tesseract.built] Error 2

sam-kurdi commented 4 years ago

I built Tesseract from source, following this: link Make leptonica tesseract did not work for me as well.

dont build it twice