Changes between Initial Version and Version 1 of Ticket #32907
- Timestamp:
- Jan 16, 2012, 10:41:07 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32907
- Property Owner changed from macports-tickets@… to emer@…
-
Property
Type
changed from
defect
toenhancement
- Property Port tesseract added
-
Ticket #32907 – Description
initial v1 3 3 If install tesseract using: 4 4 5 {{{ 5 6 $ sudo port selfupdate 6 7 $ sudo port install tesseract 8 }}} 7 9 8 10 ... I get an install in /opt/local that gives me this on invocation: 9 11 12 {{{ 10 13 Tesseract Open Source OCR Engine with LibTiff 14 }}} 11 15 12 16 ... and fails to handle any PNG I pass it, telling me something like this: 13 17 18 {{{ 14 19 name_to_image_type:Error:Unrecognized image type:fe-1.png 15 20 IMAGE::read_header:Error:Can't read this image type:fe-1.png 16 21 Read of file fe-1.png failed. 22 }}} 17 23 18 24 When I look in the configure script, I see that the leptonica check looks like: 19 25 26 {{{ 20 27 16433 # Check location of leptonica/liblept headers. 21 28 16434 have_lept=no … … 30 37 16443 done 31 38 16444 done 39 }}} 32 40 33 41 ... and adding /opt/local/include to line 16435, then re-building, gets me a binary that gives me this on invocation: 34 42 43 {{{ 35 44 Tesseract Open Source OCR Engine with Leptonica 45 }}} 36 46 37 47 ... which happily processes whatever PNG I pass it.