1. if you are using debian tool you should try to use debian focused
   forum or raise issue at debian ;-) (it looks like do not have problem with
   tesseract, you have problem to build package from source)
   2. As far as see meesage is clear:
   dpkg-checkbuilddeps: Unmet build dependencies: libleptonica-dev (>=
   1.70~)
   dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied;
   aborting.
   3. Follow project instruction[1]


[1] https://code.google.com/p/tesseract-ocr/wiki/Compiling#Compilation

Zdenko


On Fri, Aug 15, 2014 at 9:25 AM, Dovhani Foneworx <[email protected]>
wrote:

> and also when I run
>
> debuild -us -uc
> and
> sudo dpkg -i *.deb
>
> I get:
>
>
> foneworx@herainternal:/var/www/DM/tess/tesseract-3.03$ debuild -us -uc
>  dpkg-buildpackage -rfakeroot -D -us -uc
> dpkg-buildpackage: set CFLAGS to default value: -g -O2
> dpkg-buildpackage: set CPPFLAGS to default value:
> dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
> dpkg-buildpackage: set FFLAGS to default value: -g -O2
> dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
> dpkg-buildpackage: source package tesseract
> dpkg-buildpackage: source version 3.03.03-1
> dpkg-buildpackage: source changed by Jeff Breidenbach <[email protected]>
> dpkg-buildpackage: host architecture amd64
> dpkg-checkbuilddeps: Unmet build dependencies: libleptonica-dev (>= 1.70~)
> dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied;
> aborting.
> dpkg-buildpackage: warning: (Use -d flag to override.)
> debuild: fatal error at line 1340:
> dpkg-buildpackage -rfakeroot -D -us -uc failed
> foneworx@herainternal:/var/www/DM/tess/tesseract-3.03$ cd ..
> foneworx@herainternal:/var/www/DM/tess$ sudo dpkg -i *.deb
> [sudo] password for foneworx:
> dpkg: error processing *.deb (--install):
>  cannot access archive: No such file or directory
> Errors were encountered while processing:
>  *.deb
> foneworx@herainternal:/var/www/DM/tess$
>
>
> On Tue, Aug 12, 2014 at 5:25 PM, Nick White <[email protected]>
> wrote:
>
>> Zdenko's right. To help you out more, you seem to have skipped over
>> this part of the instructions in the Compiling wiki page:
>>
>> sudo apt-get install libicu-dev      # (if you plan to make the training
>> tools)
>>
>> Nick
>>
>> On Mon, Aug 11, 2014 at 07:10:47PM +0200, zdenko podobny wrote:
>> > It looks like you ignored configure warnings...
>> >
>> >
>> > Zdenko
>> >
>> >
>> > On Mon, Aug 11, 2014 at 3:17 PM, Dovhani Foneworx <[email protected]>
>> wrote:
>> >
>> >     Hi, when I do "make training" the following error showing that is a
>> bug in
>> >     the code comes up.
>> >
>> >
>> >     normstrngs.cpp:27:49: error: unicode/unorm2.h: No such file or
>> directory
>> >     In file included from normstrngs.cpp:23:
>> >     icuerrorcode.h: In member function ‘virtual void
>> >     tesseract::IcuErrorCode::handleFailure() const’:
>> >     icuerrorcode.h:55: error: ‘errorName’ was not declared in this
>> scope
>> >     normstrngs.cpp: In function ‘void
>> tesseract::NormalizeChar32(char32,
>> >     GenericVector<int>*)’:
>> >     normstrngs.cpp:133: error: expected initializer before ‘*’ token
>> >     normstrngs.cpp:135: error: ‘class tesseract::IcuErrorCode’ has
>> no
>> >     member named ‘assertSuccess’
>> >     normstrngs.cpp:139: error: ‘nfkc’ was not declared in this scope
>> >     normstrngs.cpp:140: error: ‘class tesseract::IcuErrorCode’ has
>> no
>> >     member named ‘assertSuccess’
>> >     normstrngs.cpp: In function ‘bool
>> tesseract::IsWhitespace(char32)’:
>> >     normstrngs.cpp:179: error: ‘u_isUWhiteSpace_4_2’ was not
>> declared in
>> >     this scope
>> >     normstrngs.cpp: In function ‘bool
>> tesseract::IsUTF8Whitespace(const
>> >     char*)’:
>> >     normstrngs.cpp:183: warning: comparison between signed and unsigned
>> integer
>> >     expressions
>> >     normstrngs.cpp: In function ‘bool
>> tesseract::IsInterchangeValid(char32)
>> >     ’:
>> >     normstrngs.cpp:228: error: ‘u_isISOControl_4_2’ was not
>> declared in
>> >     this scope
>> >     normstrngs.cpp: In function ‘bool
>> tesseract::IsInterchangeValid7BitAscii
>> >     (char32)’:
>> >     normstrngs.cpp:235: error: ‘u_isISOControl_4_2’ was not
>> declared in
>> >     this scope
>> >     normstrngs.cpp: In function ‘char32
>> tesseract::FullwidthToHalfwidth
>> >     (char32)’:
>> >     normstrngs.cpp:252: error: ‘class tesseract::IcuErrorCode’ has
>> no
>> >     member named ‘assertSuccess’
>> >     make: *** [normstrngs.lo] Error 1
>> >     foneworx@myubuntu
>> :/var/www/DM/tess/tesseract-ocr-read-only/training$
>> >
>> >
>> >
>> >
>> >     On Friday, August 1, 2014 2:47:50 PM UTC+2, shree wrote:
>> >
>> >         for training tools on ubuntu 14.04
>> >
>> >
>> >                 Jeff Breidenbach
>> >                 Jul 31 (21 hours ago)
>> >
>> >
>> >
>> >
>> >                 Re: [tesseract-dev] Re: Training tools linking failure,
>> >                 icu_48::*
>> >
>> >
>> >                 Here's a way to compile Tesseract on Ubuntu, while still
>> >                 using the packaging system. It will get you the training
>> >                 tools.
>> >
>> >
>> >
>> >
>> >                 sudo apt-get build-dep tesseract-ocr
>> >                 sudo apt-get install devscripts
>> >                 dget
>> http://http.debian.net/debian/pool/main/t/tesseract/
>> >                 tesseract_3.03.03-1.dsc
>> >                 tar xvzf tesseract_3.03.03.orig.tar.gz
>> >                 cd tesseract-3.03
>> >                 zcat ../tesseract_3.03.03-1.diff.gz | patch -p1
>> >                 debuild -us -uc
>> >                 cd ..
>> >                 sudo dpkg -i *.deb
>> >
>> >
>> >
>> >         Shree Devi Kumar
>> >         ____________________________________________________________
>> >         भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
>> >
>> >
>> >         On Fri, Aug 1, 2014 at 5:47 PM, Peter Hamberg <
>> [email protected]>
>> >         wrote:
>> >
>> >             I knew it had to be something obvious. I didn't realise
>> that the
>> >             version of the source code available from the download page
>> wasnt
>> >             the latest version. Thanks for the clarification. Switching
>> to the
>> >             newer version worked.
>> >
>> >             On Friday, August 1, 2014 1:00:33 PM UTC+2, zdenop wrote:
>> >
>> >
>> >                 On Fri, Aug 1, 2014 at 11:06 AM, Peter Hamberg <
>> >                 [email protected]> wrote:
>> >
>> >                     Hi,
>> >                     This is a secure message chain, protected by Virtru.
>> >
>> >                     I'm on a Ubuntu 14.04 machine, and I've followed the
>> >                     instructions on
>> https://code.google.com/p/tesseract-ocr/
>> >                     wiki/Compiling
>> >
>> >
>> >                 and there is written: "If you want the training tools
>> >                 (3.03)..."
>> >                 It means that that instruction are valid for 3.03
>> version and
>> >                 you are compiling 3.02.02 version (where training tools
>> are
>> >                 built automatically).
>> >
>> >
>> >                     - added the libraries, leptonica,
>> >                     wget https://tesseract-ocr.googlecode.com/files/
>> >                     tesseract-ocr-3.02.02.tar.gz
>> >                     config, make, make install, all that seems to work
>> without
>> >                     any error messages.
>> >
>> >                     But when I try
>> >
>> >
>> >                     make training
>> >
>> >
>> >
>> >                     all i get is the message "make: Nothing to be done
>> for
>> >                     `training'."
>> >                     Am I in the wrong folder? What have I missed here?
>> >
>> >                     // Peter
>> >
>> >
>> >                     --
>> >                     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/
>> >                     ac1705f0-ed9e-408e-82a0-b835e4e8ad51%
>> 40googlegroups.com.
>> >                     For more options, visit
>> https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >             --
>> >             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/
>> >             a3af68d5-9a5e-4296-8803-8292e75efeb4%40googlegroups.com.
>> >             For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >     --
>> >     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/ab62eb7f-2370-4d59-9a98-f1029da73500%
>> 40googlegroups.com.
>> >
>> >     For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> > --
>> > 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/
>> > CAJbzG8zRDSb1xbYdzm8KhfjjHvF%2Bvc%2BwpwVU3ASq0pwj_ykD9g%
>> 40mail.gmail.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "tesseract-ocr" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/tesseract-ocr/qav8Xw6fttw/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/20140812152505.GC4889%40manta.lan
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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/CALc7wWWTCtQVMo1FrfCMer610ofThRXa_StkN7afwS-YqY4m5w%40mail.gmail.com
> <https://groups.google.com/d/msgid/tesseract-ocr/CALc7wWWTCtQVMo1FrfCMer610ofThRXa_StkN7afwS-YqY4m5w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAJbzG8yMDZptO3%3DQkRQLScNd1TsjJfphP0-4EDVHoJVkvZusCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to