Changes between Initial Version and Version 1 of Ticket #32907


Ignore:
Timestamp:
Jan 16, 2012, 10:41:07 PM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Please remember WikiFormatting.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32907

    • Property Owner changed from macports-tickets@… to emer@…
    • Property Type changed from defect to enhancement
    • Property Port tesseract added
  • Ticket #32907 – Description

    initial v1  
    33If install tesseract using:
    44
     5{{{
    56$ sudo port selfupdate
    67$ sudo port install tesseract
     8}}}
    79
    810... I get an install in /opt/local that gives me this on invocation:
    911
     12{{{
    1013Tesseract Open Source OCR Engine with LibTiff
     14}}}
    1115
    1216... and fails to handle any PNG I pass it, telling me something like this:
    1317
     18{{{
    1419name_to_image_type:Error:Unrecognized image type:fe-1.png
    1520IMAGE::read_header:Error:Can't read this image type:fe-1.png
    1621Read of file fe-1.png failed.
     22}}}
    1723
    18  When I look in the configure script, I see that the leptonica check looks like:
     24When I look in the configure script, I see that the leptonica check looks like:
    1925
     26{{{
    2027 16433  # Check location of leptonica/liblept headers.
    2128 16434  have_lept=no
     
    3037 16443    done
    3138 16444  done
     39}}}
    3240
    3341... and adding /opt/local/include to line 16435, then re-building, gets me a binary that gives me this on invocation:
    3442
     43{{{
    3544Tesseract Open Source OCR Engine with Leptonica
     45}}}
    3646
    3747... which happily processes whatever PNG I pass it.