http://paramountideas.com/tesseract-ocr-30-and-leptonica-installation-centos-55-and-opensuse-113
http://code.google.com/p/tesseract-ocr/wiki/ReadMe
sudo yum install libjpeg-devel libpng-devel libtiff-devel zlib-devel
(some of these were already installed
sudo yum install gcc gcc-c++ make (these were already installed for us)
download leptonica
./configure
make
sudo make install
download tesseract-x.xx.tar.gz (unpack)
download tesseract-x.xx.<lang>.tar.gz (unpack files into tessdata)
download <lang>.traineddata.gz (unzip into tessdata)
./autogen.sh
mkdir -p m4
./configure
And here's where we have another problem. When running make, I get
the following:
In file included from params.h:26,
from tprintf.h:23,
from ambigs.h:25,
from ambigs.cpp:24:
strngs.h:1: error: stray '\357' in program
strngs.h:1: error: stray '\273' in program
strngs.h:1: error: stray '\277' in program
In file included from unicharset.h:24,
from ambigs.h:27,
from ambigs.cpp:24:
strngs.h:1: error: stray '\357' in program
strngs.h:1: error: stray '\273' in program
strngs.h:1: error: stray '\277' in program
make[3]: *** [ambigs.lo] Error 1
make[3]: Leaving directory `/xxx/tesseract-3.01/ccutil'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/xxx/tesseract-3.01/ccutil'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/xxx/tesseract-3.01'
make: *** [all] Error 2
Any idea on this?
> --
> You received this message because you are subscribed to the Google Groups
> "islandora" group.
> To post to this group, send email to isla...@googlegroups.com.
> To unsubscribe from this group, send email to
> islandora+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/islandora?hl=en.
--
phil
-nruest
Running aclocal
Running libtoolize
Putting files in AC_CONFIG_AUX_DIR, `config'.
Running autoheader
Running automake --add-missing --copy
Running autoconf
All done.
To build the software now, do something like:
$ ./configure [--with-debug] [...other options]
$ make
--
phil