-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix training build addition to 7c684be (Add missing linker flags for …
…Leptonica)
- Loading branch information
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The training build still fails to compile for me.
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you run
./autogen.sh && ./configure
? If yes, tha please post error log...f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, and it compiles and runs.
failed.txt
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ubuntu 16.04.
commit 5b23f71
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do the training tools compile in your system?
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. With autotools and gcc on openSUSE 42.1.
According failed.txt: linker is missing leptonica for creating unicharset_extractor. But leptonica is defined for it , so
./autogen.sh && ./configure
should set it up...f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reinstalled Leptonica 1.73 and Tesseract 5b23f71. Same result.
With 13e46ae the training tools were compiled successfully.
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
failed.txt
does not include the output from configure, and by addingV=0
you suppressed the interesting output from make. Could you please create a new file with both parts added?f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1configure-log.txt
1make-log.txt
1make-training-log.txt
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. The log files seem to be fine, but the Leptonica installation looks strange:
The linker is called with the correct option
-llept
which translates to/usr/local/lib/liblept.so
. Is there no.a
file in your Leptonica installation?f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is strange: Why
shapeclustering
is compiled, butunicharset_extractor
?f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does PR #595 change the build result? Chances are low, but one never knows.
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it works now :-)
Thanks!
f8dffec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1training-log.txt