Closed GoogleCodeExporter closed 9 years ago
why you did not run:
./runautoconf
./configure
as suggested in http://code.google.com/p/tesseract-ocr/wiki/ReadMe#Linux or
http://code.google.com/p/tesseract-ocr/wiki/TesseractSvnInstallation
Original comment by zde...@gmail.com
on 12 Jul 2011 at 1:20
From the beginning I was running:./runautoconf and ./configure
but for first (./runautoconf) one I receive :
Running libtoolize
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
Running aclocal
configure.ac:10: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/general.m4:1559: AC_CONFIG_MACRO_DIR is expanded from...
configure.ac:10: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
and for the second one I receive :
Configuration is done.
You can now build tesseract by running:
When I'm trying to run "make" I receive the error from the top of this issue.
Original comment by simion.zafiu
on 12 Jul 2011 at 1:58
try to run (after ./runautoconf and before ./configure):
autoreconf -i
Original comment by zde...@gmail.com
on 12 Jul 2011 at 5:04
Doesn't work with autoreconf -i.
Another's idea ... ?
Original comment by simion.zafiu
on 13 Jul 2011 at 11:28
What linux you are using? What version of automake, autoconf, libtool?
Original comment by zde...@gmail.com
on 13 Jul 2011 at 4:43
try this patch. put it to tesseract-ocr directory and aply:
gzip -cd autotools.fix.gz | patch -p0
then run:
./runautoconf
./configure
make
Original comment by zde...@gmail.com
on 13 Jul 2011 at 8:09
Attachments:
Fix !
Thank you !
Original comment by simion.zafiu
on 18 Jul 2011 at 1:30
fixed in r594
Original comment by zde...@gmail.com
on 27 Jul 2011 at 8:40
Original issue reported on code.google.com by
simion.zafiu
on 12 Jul 2011 at 11:12