I downloaded tesseract-master/ from git-hub, ran ./autogen.sh, then ran ./configure, which exited with "configure: error: leptonica library with pdf support (>= 1.71) is missing".
What to do? (I have a MacPorts working version of tesseract installed and also a working version of the jTessBoxEditor but need the training tools.) - Thanks On Tuesday, April 12, 2016 at 7:32:22 PM UTC+3, Tom Morris wrote: > > On Monday, April 11, 2016 at 5:02:39 AM UTC-4, shree wrote: >> >> Please see >> https://trac.macports.org/browser/trunk/dports/textproc/tesseract/Portfile >> >> Looks like macports does not include training tools >> > > I'm not sure the training tools should necessarily be included in the > standard package. > > It looks like Homebrew has the option to install the training tools by > using a --with-training-tools switch, so I created an enhancement request > for the same functionality in MacPorts: > https://trac.macports.org/ticket/51127 > > For the OP, you'll need to do one of the following: > > 1. > $ port uninstall tesseract > $ brew install tesseract --with-training-tools > > 2. > $ git clone [email protected]:tesseract-ocr/tesseract.git > $ cd tesseract > $ make training > $ make training-install > > > Tom > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/5cf01b04-8207-4d7f-a0a5-42a1967e8f01%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

