I am using tiff-3.8.2 which I compiled using:

./configure --disable-shared ; make ; make install

Now, here is some of the content of the config.log file after
running ./configure for tessearct:

configure:7222: checking for Leffler libtiff library
configure:7320: checking linking with -ltiff
configure:7353: g++ -o conftest.exe -g -O2    conftest.cc -lpthread -
ljpeg -lpng -lz  -ltiff -lm >&5
/usr/local/lib/libtiff.a(tif_pixarlog.o): In function
`PixarLogSetupDecode':
/cygdrive/c/development/cpp/build_ocropus/tiff-3.8.2/libtiff/
tif_pixarlog.c:679: undefined reference to `_inflateInit_'
/usr/local/lib/libtiff.a(tif_pixarlog.o): In function
`PixarLogPreDecode':
/cygdrive/c/development/cpp/build_ocropus/tiff-3.8.2/libtiff/
tif_pixarlog.c:700: undefined reference to `_inflateReset'
/usr/local/lib/libtiff.a(tif_pixarlog.o): In function
`PixarLogDecode':
/cygdrive/c/development/cpp/build_ocropus/tiff-3.8.2/libtiff/
tif_pixarlog.c:739: undefined reference to `_inflate'
/cygdrive/c/development/cpp/build_ocropus/tiff-3.8.2/libtiff/
tif_pixarlog.c:747: undefined reference to `_inflateSync'
/usr/local/lib/libtiff.a(tif_pixarlog.o): In function
`PixarLogSetupEncode':

conftest.cc is created on the fly by the configure process. libtiff.a
is in /usr/local/lib folder

I tried:
1. ./configure --with-libtiff=/usr/local/lib
2. I used: export LIBTIFF_LIBS=/usr/local/lib/libtiff.a and then ./
configure

Every time, I get:

checking for Leffler libtiff library... checking linking with /usr/
local/lib/libtiff.a... no
configure: WARNING: TIFF support is disabled

It is very frustrating! What is wrong ?!

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tesseract-ocr?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to