Sorry everyone for disturbing, but i found the solution. autoconf-archive was missing and that's the reason the configure was improper. I installed autoconf-archive and the make command worked successfully.
On Sunday, March 4, 2018 at 2:33:07 PM UTC+5:30, Dusayanta Prasad wrote: > > I am getting below errors while building tesseract from source. The > problem is with the ./configure and make . Please help > pi@raspberrypi:~/tesseract-ocr $ ./autogen.sh > 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_DIRS, '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 > configure.ac:312: installing 'config/compile' > configure.ac:69: installing 'config/missing' > api/Makefile.am: installing 'config/depcomp' > Running autoconf > > All done. > To build the software now, do something like: > > $ ./configure [--enable-debug] [...other options] > pi@raspberrypi:~/tesseract-ocr $ ls > aclocal.m4 autogen.sh classify configure.ac dict > INSTALL.GIT.md Makefile.in tesseract.pc.cmake training > android autom4te.cache cmake contrib doc > java NEWS tesseract.pc.in unittest > api ccmain CMakeLists.txt CONTRIBUTING.md > docker-compose.yml LICENSE opencl testdata viewer > appveyor.yml ccstruct config COPYING Dockerfile > lstm README.md testing vs2010 > arch ccutil config.log cppan.yml googletest > m4 snap tests wordrec > AUTHORS ChangeLog configure cutil INSTALL > Makefile.am tessdata textord > > pi@raspberrypi:~/tesseract-ocr $ autoreconf -i > pi@raspberrypi:~/tesseract-ocr $ ./configure > checking for g++... g++ > checking whether the C++ compiler works... yes > checking for C++ compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > Using git revision: 4.00.00dev-734-g068d43d3 > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking for style of include used by make... GNU > checking whether make supports nested variables... yes > checking dependency style of g++... gcc3 > checking whether to enable maintainer-specific portions of Makefiles... no > checking build system type... armv7l-unknown-linux-gnueabihf > checking host system type... armv7l-unknown-linux-gnueabihf > ./configure: line 4255: syntax error near unexpected token `-mavx,' > ./configure: line 4255: `AX_CHECK_COMPILE_FLAG(-mavx, avx=true, avx=false)' > pi@raspberrypi:~/tesseract-ocr $ make > make: *** No targets specified and no makefile found. Stop. > > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/211e24d4-6bdd-486a-960c-4603c8473305%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

