Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Cédric Castanet" <cedriccastanet@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] probleme building tesseract-ocr
Date: Thu, 07 May 2015 18:02:27 +0200	[thread overview]
Message-ID: <1431014547.27289.16.camel@halley> (raw)

Hello,
I started recently to use buildroot for a Pi Target.
I'm not sure i'm on the right place to ask for support, if not please
tel where to post.

after somme succes building target whith simple custom package, I succed
in adding leptonica (leptonica.org) as autotools-package, but i find a
probleme for adding tesseract-ocr as autotools-package: 
during the build process, it include file
from /usr/local/include/leptonica in place of $STAGING_DIR/... !!!
so there is a warning for this during compilation then an error probably
du to this.

ex : arm-none-linux-gnueabi-g++: WARNING: unsafe header/library path
used in cross-compilation: '/usr/local/include/leptonica'

here is my .mk file : 

################################################################################
#
# TESSERACT_OCR
#
################################################################################

# TESSERACT_OCR_VERSION = 53eab2ee9239a2400f97c6194207432e5837aede
TESSERACT_OCR_SITE = https://code.google.com/p/tesseract-ocr/
TESSERACT_OCR_SITE_METHOD = git
TESSERACT_OCR_VERSION = d508751e585559e2bfe1dcb1c460cba765470884
TESSERACT_OCR_LICENSE = Apache
TESSERACT_OCR_AUTORECONF = YES
TESSERACT_OCR_AUTORECONF_ENV = ./autogen.sh
TESSERACT_OCR_INSTALL_STAGING = YES
TESSERACT_OCR_DEPENDENCIES = leptonica

$(eval $(autotools-package))


I've found the right includes in the staging directory. I ned help to
solve my problem.
regards 

             reply	other threads:[~2015-05-07 16:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-07 16:02 Cédric Castanet [this message]
2015-05-08 20:20 ` [Buildroot] probleme building tesseract-ocr Gilles Talis
2015-07-14 22:04   ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1431014547.27289.16.camel@halley \
    --to=cedriccastanet@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox