Hi, 
    I installed leptonica then tesseract and everything went well, But when 
i try to pass a .png file it gives 
        Error in pixReadStreamPng: function not present
        Error in pixReadStream: png: no pix returned
        Error in pixRead: pix not read
        Unsupported image type

On Saturday, September 22, 2012 at 12:57:17 PM UTC+5:30, zdenop wrote:
>
> Hi,
>
> first of all: there is leptonica 1.69 and tesseract-ocr 3.02 in in Ubuntu 
> 12.4 LTS Precise Pangolin. So maybe you can rebuild packages from there. 
>
> Next:
>
>    - Did you try to run "sudo ldconfig" [1] after installing leptonica? 
>    - If it does not work, than try to set LIBLEPT_HEADERSDIR (see 
>    ./configure --help) e.g. LIBLEPT_HEADERSDIR=/usr/local/include/leptonica 
>    ./configure
>
>
> If it does not help, send config.log (from tesseract-ocr)
>
> [1] http://code.google.com/p/tesseract-ocr/wiki/ReadMe#Linux
>
> -- 
> Zdenko
> On Fri, Sep 21, 2012 at 11:08 PM, Osman Masood <oama...@gmail.com 
> <javascript:>> wrote:
>
>> Hello everyone,
>> I'm trying to install leptonica 1.69 and Tesseract v3.01 using the exact 
>> instructions found in their respective README files. Leptonica installs 
>> without a problem; however, whenever I try to run ./configure (even after 
>> running ./autogen.sh) it says: *configure: error: leptonica library 
>> missing*. 
>> These are the commands I'm using to install each, which are exactly in 
>> accordance with the README/INSTALL files:
>>
>> For leptonica 1.69:
>> ./configure
>> make
>> sudo make install
>>
>> For Tesseract 3.01:
>> ./autogen.sh
>> ./configure
>> * > configure: error: leptonica library missing*.
>>
>> I'm really confused, can one of you gurus help me out?
>> Much thanks!
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "tesseract-ocr" group.
>> To post to this group, send email to tesser...@googlegroups.com 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> tesseract-oc...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/tesseract-ocr?hl=en
>>
>
>
>  

-- 
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 tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
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/3c4398c4-9f7c-4eb6-88d1-b93da28646f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to