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

execute configure failed!!! #3621

Closed
HatherP opened this issue Nov 2, 2021 · 2 comments
Closed

execute configure failed!!! #3621

HatherP opened this issue Nov 2, 2021 · 2 comments

Comments

@HatherP
Copy link

HatherP commented Nov 2, 2021

Environment

  • Tesseract Version: tesseract-4.1.0
  • Commit Number:
  • Platform: Linux localhost.localdomain 2.6.32-573.el6.x86_64 defect issue #1 SMP Wed Jul 1 18:23:37 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

Current Behavior:./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
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... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
./configure: line 3911: AX_SPLIT_VERSION: command not found
./configure: line 3912: s/^[^0-9]//: No such file or directory
./configure: line 3914: s/^([0-9][0-9]
).*/\1/: No such file or directory
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
./configure: line 4128: syntax error near unexpected token -Werror=unused-command-line-argument,' ./configure: line 4128: AX_CHECK_COMPILE_FLAG(-Werror=unused-command-line-argument, WERROR=-Werror=unused-command-line-argument)'

when i execute configure,output this log,how can i continue to install

@zdenop
Copy link
Contributor

zdenop commented Nov 2, 2021

Please respect guidelines for posting issues: use tesseract user forum for asking questions/support.
Please fix the reported problems before you made any post to forum.

@zdenop zdenop closed this as completed Nov 2, 2021
@amitdo
Copy link
Collaborator

amitdo commented Nov 2, 2021

You are using a 11 years old distro.

Use 4.1.1 or 5.0.0 rc1 on RHEL 7 / 8 (or another distro).

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

3 participants