Once I got iulib working, I tried leptonica.  It's annoying that you
can't say, --with-leptonica=/local/include/leptonica, for instance.
But I got that squared away:

./build --prefix=/local --with-iulib=/local --without-SDL --without-
tesseract leptheaders=/local/include/leptonica

Only to experience this, when I tried building:
g++ -DPACKAGE_NAME=\"ocropus\" -DPACKAGE_TARNAME=\"ocropus\" -
DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"ocropus\ 0.3\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ocropus\" -DVERSION=\"0.3\" -
DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -
DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOAT_H=1 -DHAVE_STDINT_H=1 -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -
DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -
DHAVE_LIBIULIB=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBLEPT=1 -DHAVE_LIBBLAS=1
-DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -
DHAVE_WORKING_FORK=1 -DHAVE_DUP2=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 -
DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -I.  -I./include -I./
ocr-utils -I/local/include -I   -I/local/include/leptonica -
DHAVE_LEPTONICA -I/local/include -g -O2 -Wall -Wno-sign-compare -Wno-
write-strings -Wno-deprecated -g -O2 -MT ocr-text-image-seg-
leptonica.o -MD -MP -MF .deps/ocr-text-image-seg-leptonica.Tpo -c -o
ocr-text-image-seg-leptonica.o `test -f './ocr-leptonica/ocr-text-
image-seg-leptonica.cc' || echo './'`./ocr-leptonica/ocr-text-image-
seg-leptonica.cc
./ocr-leptonica/ocr-text-image-seg-leptonica.cc:46:49: error:
allheaders.h: No such file or directory

But:

% ls -l /local/include/leptonica/allheaders.h
-r--r--r--  1 root  admin  1115 Jan 27 18:18 /local/include/leptonica/
allheaders.h
%

What the hey?

Bill


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocropus" 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/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to