Tesseract: configure fails again

Created on 10 Jan 2017  路  8Comments  路  Source: tesseract-ocr/tesseract

git pull

5b45e5a236875b0c13bf70cddbaaafd7ac6760fe

./configure: line 4229: syntax error near unexpected token `-mavx,'
./configure: line 4229: `AX_CHECK_COMPILE_FLAG(-mavx, avx=1, avx=0)'

Most helpful comment

You should install autoconf-archive

All 8 comments

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 ? )

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clarkk picture clarkk  路  6Comments

YeisonVelez11 picture YeisonVelez11  路  5Comments

egorpugin picture egorpugin  路  6Comments

mm-manu picture mm-manu  路  4Comments

spajak picture spajak  路  4Comments