Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when compiling Tesseract 3.01 on RHEL5 #458

Closed
iamcool345 opened this issue Oct 30, 2016 · 3 comments
Closed

Error when compiling Tesseract 3.01 on RHEL5 #458

iamcool345 opened this issue Oct 30, 2016 · 3 comments

Comments

@iamcool345
Copy link

Hi,
I have a compile error as the result of running 'make' for Tesseract 3.01:
[root@localhost tesseract-3.01]# make
make all-recursive
make[1]: Entering directory /root/tesseract-3.01' Making all in ccutil make[2]: Entering directory/root/tesseract-3.01/ccutil'
make[3]: Entering directory /root/tesseract-3.01/ccutil' if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -MT ambigs.lo -MD -MP -MF ".deps/ambigs.Tpo" -c -o ambigs.lo ambigs.cpp; \ then mv -f ".deps/ambigs.Tpo" ".deps/ambigs.Plo"; else rm -f ".deps/ambigs.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -MT ambigs.lo -MD -MP -MF .deps/ambigs.Tpo -c ambigs.cpp -fPIC -DPIC -o .libs/ambigs.o 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/root/tesseract-3.01/ccutil'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /root/tesseract-3.01/ccutil' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/root/tesseract-3.01'
make: *** [all] Error 2

OS: Linux localhost.localdomain 2.6.18-194.el5xen #1 SMP Tue Mar 16 22:01:26 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Leptonica 1.67 installed.
Thanks for help.

@Brian51
Copy link

Brian51 commented Oct 30, 2016

Hi iamcool345, Try updating to a more recent version of Leptonica and/or the more recent version of Tesseract as well.

B.

@amitdo
Copy link
Collaborator

amitdo commented Oct 30, 2016

Guide for reporting issues

Please use the forum.

@zdenop
Copy link
Contributor

zdenop commented Oct 30, 2016

This is old error that was already fixed.

@zdenop zdenop closed this as completed Oct 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants