Dear all, I'm trying to set up a document server, part of which is a Tesseract installation to convert scanned image to OCRd PDF. FreeBSD only has 3.02 and the hOCR output from that doesn't play very well with hocr2pdf from the ExactImage toolset with default settings. Seeing as 3.03 has built in PDF output I'm trying to use that in the hope that a final release isn't too far away.
My problem is compiling 3.03 rc1. I started out by building the 3.02 port of Tesseract which included building Leptonica 1.70. This was from the portsnap installed Makefile and that "make install clean"ed without any problems. I've since downloaded the 3.03 rc1 from Drive and I'm trying to compile it away from the ports tree but link it against the Leptonica 1.70 from ports. To begin with I was getting... checking for leptonica... yes checking for pixCreate in -llept... no configure: error: leptonica library missing So (based on this <http://stackoverflow.com/a/12973453> SO answer) I tried... export LIBLEPT_HEADERSDIR=/usr/local/include/leptonica/ ./configure --with-extra-libraries=/usr/local/lib ... which gets me ... checking for leptonica... yes checking for pixCreate in -llept... yes checking leptonica version >= 1.70... configure: error: in `/root/tesseract-3.03': configure: error: leptonica 1.70 or higher is required See `config.log' for more details ... but ... pkg_info | grep -i lept ... outputs ... leptonica-1.70 C library for efficient image processing and image analysis ... which leaves be a bit confused as to where I'm going wrong in the compilation. I assume there's some definition of the lib or include directories which I've not set properly, and I appreciate this is likely due to my lack of experience with FreeBSD. Does anyone know where I'm going wrong? Thanks and regards, Samuel -- 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 http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/4b106b25-e5c2-45ba-bd69-adf567ed8d05%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

