Skip to content

Warnings while building Tesseract related to man pages generation #4454

Description

@stefanCCS

Current Behavior

I have tried to compile Tesseract Release 5.5.1.
While doing make I could see these errors belows.

1st: I assume this is not important for running tesseract afterwards, as it looks like "only" to be relevant for documentation - correct?
2nd: Maybe something I can do to avoid this?
(if needed, I can provide more more details ...)

...
  CXXLD    libtesseract_sse.la
  CXXLD    libtesseract.la
  CXXLD    tesseract
asciidoc -b docbook -d manpage -o - doc/combine_lang_model.1.asc | \
xsltproc --nonet -o doc/combine_lang_model.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl -
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
-:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
                                                                               ^
Note: Writing combine_lang_model.1
asciidoc -b docbook -d manpage -o - doc/combine_tessdata.1.asc | \
xsltproc --nonet -o doc/combine_tessdata.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl -
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
-:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
                                                                               ^
Note: Writing combine_tessdata.1
asciidoc -b docbook -d manpage -o - doc/dawg2wordlist.1.asc | \
...

Expected Behavior

No response

Suggested Fix

No response

tesseract -v

No response

Operating System

Ubuntu 24.04 Noble

Other Operating System

No response

uname -a

No response

Compiler

No response

CPU

No response

Virtualization / Containers

ESXi-8

Other Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions