Building Latest Tesseract From Source on Mac Sierra

291 views
Skip to first unread message

James Lee

unread,
Dec 26, 2016, 11:55:19 AM12/26/16
to tesseract-ocr
Hello,
I'm trying to build Tesseract on Mac with macport running Sierra.

I got the source from

git clone https://github.com/tesseract-ocr/tesseract.git

However, I get the following error after ./configure

checking host system type... x86_64-apple-darwin16.1.0

./configure: line 4237: syntax error near unexpected token `-mavx,'

./configure: line 4237: `AX_CHECK_COMPILE_FLAG(-mavx, avx=1, avx=0)'

Could someone help please?
Thank you!

Zdenko Podobný

unread,
Dec 26, 2016, 12:06:09 PM12/26/16
to tesser...@googlegroups.com
You need to install autoconf-archive  for testing  mavx and msse4.1

Zdenko

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@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/cd98481e-2b3f-4bba-84b4-13c2ac53c11f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages