Hi. I'm trying to compile tesseract SVN on Scientific Linux. I first tried 5.5 and then 6.0, and get the same results.
First, I try plain ./configure, no errors, followed by make: make make all-recursive make[1]: Entering directory `/home/mike/workspace/tesseract' Making all in ccstruct make[2]: Entering directory `/home/mike/workspace/tesseract/ccstruct' make[3]: Entering directory `/home/mike/workspace/tesseract/ccstruct' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. - I.. -I../ccutil -I../cutil -I../image -I../viewer -I/usr/local/ include/leptonica -g -O2 -MT blobbox.lo -MD -MP -MF .deps/blobbox.Tpo -c -o blobbox.lo blobbox.cpp mv -f .deps/blobbox.Tpo .deps/blobbox.Plo mv: cannot stat `.deps/blobbox.Tpo': No such file or directory make[3]: *** [blobbox.lo] Error 1 make[3]: Leaving directory `/home/mike/workspace/tesseract/ccstruct' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/mike/workspace/tesseract/ccstruct' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mike/workspace/tesseract' make: *** [all] Error 2 With a fresh copy of tesseract, I try ./runautoconf and get: ./runautoconf Running libtoolize Running aclocal configure.ac:10: error: m4_defn: undefined macro: _m4_divert_diversion configure.ac:10: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: autom4te failed with exit status: 1 Running autoheader aclocal.m4:16: warning: this file was generated for autoconf 2.65. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. configure.ac:10: error: m4_defn: undefined macro: _m4_divert_diversion configure.ac:10: the top level autom4te: /usr/bin/m4 failed with exit status: 1 autoheader: '/usr/bin/autom4te' failed with exit status: 1 Running autoconf aclocal.m4:16: warning: this file was generated for autoconf 2.65. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. configure.ac:10: error: m4_defn: undefined macro: _m4_divert_diversion configure.ac:10: the top level autom4te: /usr/bin/m4 failed with exit status: 1 Running automake --add-missing --copy aclocal.m4:16: warning: this file was generated for autoconf 2.65. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. configure.ac:10: error: m4_defn: undefined macro: _m4_divert_diversion configure.ac:10: the top level autom4te: /usr/bin/m4 failed with exit status: 1 automake: autoconf failed with exit status: 1 All done. To build the software now, do something like: $ ./configure [--with-debug] [...other options] $ make if I try autoreconf, I get: configure.ac:10: error: m4_defn: undefined macro: _m4_divert_diversion configure.ac:10: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 Anyone with ideas? Thanks, nmi -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en

