X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=VSiC0g00EX2sVOMT
	pZ8jvQtMUDwgotGH2AXNG5SYCkhxoU3Lx3+HbuXysJreUpGPR+JSqvU5sZgaS1jg
	qyf5PLEoss16avOz+AzmxVfC8sUb/AeH7aGKgvfb07o8I/kY2MqhGdZwH+T6Gpms
	/TATvXNfmEIJ3i5CKhf1O+Vy5RM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=ZRvZv4Bif91MTsn6jgFqej
	2KoEc=; b=Emu5+I5VbTTOyyQYBhf3nYixP3CZCzXwHcHPs0DGfU1UFbad7iOWUr
	511CyQVjB7cftQjXbMgaCrsUE1FJH1I5QxpgWzGjm/pkiG31+8ZB0Y+qLOG6L53o
	KDyE2/NdIVrqvO/nANaKfsVjI4TCWYavxlpmreUo2nVXWwXf+Nrnc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-wi0-f170.google.com
X-Received: by 10.180.92.225 with SMTP id cp1mr21274716wib.2.1442938527638;        Tue, 22 Sep 2015 09:15:27 -0700 (PDT)
Subject: Re: AW: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox
To: "Schmitz, Marco" <marco.schmitz@adesso-mobile.de>,
        "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <D347C6895A0AB142BAA2D2F876C96CAA83360F13@ex2010-db01> <560010D0.4010903@gmail.com> <D347C6895A0AB142BAA2D2F876C96CAA83361896@ex2010-db01> <D347C6895A0AB142BAA2D2F876C96CAA83361900@ex2010-db01>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <56017E9C.8060501@gmail.com>
Date: Tue, 22 Sep 2015 18:15:24 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <D347C6895A0AB142BAA2D2F876C96CAA83361900@ex2010-db01>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 22/09/2015 14:18, Schmitz, Marco wrote:
> Okay, my shell script problem "not finding makebox" was a line ending problem (CR+LF).
>
> But how about TESSDATA_PREFIX ?
>
> -----Ursprüngliche Nachricht-----
> Von: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] Im Auftrag von Schmitz, Marco
> Gesendet: Dienstag, 22. September 2015 13:23
> An: Marco Atzeri <marco.atzeri@gmail.com>; cygwin@cygwin.com
> Betreff: AW: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox
>
> Hi Marco,
>
> without setting TESSDATA_PREFIX (neither Windows environment variables nor .bash_profile) I get:
>
> $ tesseract --list-langs
> Error opening data file C:\DEV\tesseract\Tesseract-OCR\tessdata/eng.traineddata

This file path is surely not coming from cygwin tesseract default.
have you another version around in the path ?

  $ which tesseract
/usr/bin/tesseract

$ tesseract --version
tesseract 3.04.00
  leptonica-1.72
   libgif 4.1.6(?) : libjpeg 8d (libjpeg-turbo 1.3.1) : libpng 1.6.17 : 
libtiff 4.0.3 : zlib 1.2.8 : libwebp 0.4.3


As reported on https://www.cygwin.com/problems.html please

Run cygcheck -s -v -r > cygcheck.out and include that file as an 
attachment in your report. Please do not compress or otherwise encode 
the output. Just attach it as a straight text file so that it can be 
easily viewed.

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

