git pull
5b45e5a236875b0c13bf70cddbaaafd7ac6760fe
./configure: line 4229: syntax error near unexpected token `-mavx,'
./configure: line 4229: `AX_CHECK_COMPILE_FLAG(-mavx, avx=1, avx=0)'
You should install autoconf-archive
Thanks, autoconf-archiveappears to be a new prerequisite. I also had to update Leptonica to the new version (using the git repo version).
Remaining question:
Is there a quick way to check the Leptonica version as it is reported to Tesseract ?
For the record: my system reports now
$ tesseract --version
tesseract 4.00.00alpha-245-g5b45e5a
leptonica-1.74.1
libjpeg 6b (libjpeg-turbo 1.3.1) : libpng 1.2.50 : libtiff 4.0.3 : zlib 1.2.8
Found AVX
Found SSE
(solved, but a question to @amitdo pending: Is there a quick way to check the Leptonica version as it is reported to Tesseract ? )
pkg-config --modversion lept
Programmatically:
https://github.com/tesseract-ocr/tesseract/blob/534a23701577/api/tesseractmain.cpp#L53
@amitdo thanks for perfect info!
autoconf-archive is not supported on redhat (and therefore on AWS AMI), see this issue. Is there a chance to get tesseract without that dependeny again?
You should install autoconf-archive
How do i install autoconf-archive in Msys2+minGW ? ..would any one explain that in clear detail ?
@BudiKusasi did you try this approach? (you probably did, because you also commented in this branch). In the end this worked for me
Most helpful comment
You should install
autoconf-archive