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 CPPFLAGS=-I......../leptonica/1.74.1/include
export LDFLAGS=-L......./leptonica/1.74.1/lib
./configure --prefix=......./tesseract/4.0 --with-extra-includes=......./leptonica/1.74.1/include --with-extra-libraries=......../leptonica/1.74.1/lib
...
....
checking for long long int... yes
checking for off_t... yes
checking for mbstate_t... yes
./configure: line 16347: syntax error near unexpected token `LEPTONICA,'
./configure: line 16347: `PKG_CHECK_MODULES(LEPTONICA, lept >= 1.74, have_lept=true, have_lept=false)'
I search for a this message ... but nothing. Is it possible to install tesseract from sources (and from sources of leptonica too) ?