not able to run autogen.sh building tesseract-master 4.0.0

466 views
Skip to first unread message

Yogesh Sanchihar

unread,
Jul 25, 2018, 11:08:03 AM7/25/18
to tesseract-ocr
Guys,

I am trying to build tesseract 4.0.0 from master branch

I am facing following issue



   Running aclocal
Running /usr/bin/libtoolize
libtoolize
: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `
config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'
.
libtoolize
: copying file `m4/libtool.m4'
libtoolize: copying file `
m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'

libtoolize
: copying file `m4/ltversion.m4'
libtoolize: copying file `
m4/lt~obsolete.m4'
Running autoheader
Running automake --add-missing --copy
unittest/Makefile.am:100: variable `EXTRA_apiexample_test_DEPENDENCIES'
is defined but no program or
unittest
/Makefile.am:100: library has `EXTRA_apiexample_test' as canonical name (possible typo)
Running autoconf
configure.ac:10: error: possibly undefined macro: m4_esyscmd_s
 If this token and others are legitimate, please use m4_pattern_allow.
 See the Autoconf documentation.

 Something went wrong, bailing out!




Something does not seem right with this configure.ac.

Zdenko Podobny

unread,
Jul 25, 2018, 11:13:14 AM7/25/18
to tesser...@googlegroups.com
did you tried to google for " undefined macro: m4_esyscmd_s "?
One of first answers is " Most likely you will have to upgrade your autoconf ".

Zdenko


st 25. 7. 2018 o 17:08 Yogesh Sanchihar <yogesh.yoges...@gmail.com> 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 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/9e98cf55-ce04-4c88-ac52-c55beab984ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yogesh Sanchihar

unread,
Jul 26, 2018, 6:26:08 AM7/26/18
to tesseract-ocr
I think, you are right... I upgraded to autoconf 2.69. And process moved a bit.

But still  when I am executing ./configure --enable-debug

I got an error which says

configure: error: Your compiler does not have the necessary c++11 support! Cannot proceed.

Thus, looking into it.

Zdenko Podobny

unread,
Jul 26, 2018, 6:55:04 AM7/26/18
to tesser...@googlegroups.com
Tesseract requires the recent compiler. You will need to upgrade whole system because of it...

Zdenko


št 26. 7. 2018 o 12:26 Yogesh Sanchihar <yogesh.yoges...@gmail.com> 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 post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
Reply all
Reply to author
Forward
0 new messages