I just building tesseract4.0 in CentOS5.5 and with solved a lot of problem
final i run ./configure and have the same problem like you ...
checking for off_t... yes
checking for mbstate_t... yes
./configure: line 17743: syntax error near unexpected token `LEPTONICA,'
./configure: line
Finally, i use the cmake.
mkdir build
cd build
ccmake ..
make
And no more problems !
Le mercredi 26 avril 2017 16:57:46 UTC+2, Jean-Christophe Penalva a écrit :
>
> i've already the PKG_CONFIG_PATH ok !!
>
> env | grep PKG
> PKG_CONFIG_PATH=/./leptonica/1.74.1/lib/pkgconfig
IMHO you need to set PKG_CONFIG_PATH to your custom location of leptonica,
so pkg-config is able to find lept.pc.
Zdenko
On Tue, Apr 25, 2017 at 10:59 PM, Jean-Christophe Penalva <
jeanchristophe.pena...@gmail.com> wrote:
> and in the lib directory of the installed libleptonica, there are
and in the lib directory of the installed libleptonica, there are these
files :
-rw-r--r-- 1 15994844 Apr 25 10:03 liblept.a
-rwxr-xr-x 1 999 Apr 25 10:03 liblept.la
lrwxrwxrwx 116 Apr 25 10:03 liblept.so -> liblept.so.5.0.1
lrwxrwxrwx 116 Apr 25 10:03 liblept.so.5 ->
pkgconfig-0.23-9.1.el6.x86_64
Le mardi 25 avril 2017 19:16:55 UTC+2, zdenop a écrit :
>
> It seems like problem with pkg-config. Do you have it installed?
>
> Zdenko
>
> On Tue, Apr 25, 2017 at 2:16 PM, Jean-Christophe Penalva <
> jeanchristo...@gmail.com > wrote:
>
>> Hello,
>>
>> i've read
It seems like problem with pkg-config. Do you have it installed?
Zdenko
On Tue, Apr 25, 2017 at 2:16 PM, Jean-Christophe Penalva <
jeanchristophe.pena...@gmail.com> wrote:
> Hello,
>
> i've read the doc, but this does'nt work for me.
>
> after the autogen.sh i have the error on leptonica.
Hello,
i've read the doc, but this does'nt work for me.
after the autogen.sh i have the error on leptonica.
Any idea ?
Le mardi 25 avril 2017 13:56:29 UTC+2, shree a écrit :
>
> I built both from source yesterday.
>
> Try the following for building tesseract
>
>
> /autogen.sh
>
I built both from source yesterday.
Try the following for building tesseract
/autogen.sh
./configure
LDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" make
sudo make install
sudo ldconfig
As given in compiling page on wiki
- excuse the brevity, sent from mobile
On 25-Apr-2017 2:14 PM,
Hello,
i try to compile the new version of Tesseract (v4.0x) on a redhat from
source. I've already compile and install the libleptonica, and now i've a
pb during the configure stage of tesseract :
export CFLAGS=-I./leptonica/1.74.1/include
export
9 matches
Mail list logo