My solution to the build problem below was, in tcsh, "setenv LIBS - lgif" Perhaps someone can fix this in a future release, or tell me where to add the library. I'm not sure how one modifies the behavior of configure.
I got this from ./configure: checking for pixCreate in -llept... no configure: error: leptonica not found! Choose --without-leptonica if you don't want to use it. I looked in config.log and found this: configure:6861: result: yes configure:7148: checking for pixCreate in -llept configure:7183: g++ -o conftest -g -O2 -L/home/ken/soho/tesseract/ lib -L/home/ken/soho/iulib/lib -L/usr/local/include/liblept/../../lib co\ nftest.cpp -llept -lfst -lpthread -ltesseract_full -lpthread -liulib - ltiff -ljpeg -lpng -lz >&5 /usr/local/include/liblept/../../lib/liblept.a(gifio.o): In function `pixWriteStreamGif': gifio.c:(.text+0x1e9): undefined reference to `MakeMapObject' gifio.c:(.text+0x27b): undefined reference to `EGifOpenFileHandle' gifio.c:(.text+0x2d3): undefined reference to `EGifPutScreenDesc' gifio.c:(.text+0x2ef): undefined reference to `FreeMapObject' gifio.c:(.text+0x2fa): undefined reference to `EGifCloseFile' gifio.c:(.text+0x35f): undefined reference to `FreeMapObject' gifio.c:(.text+0x414): undefined reference to `FreeMapObject' gifio.c:(.text+0x44d): undefined reference to `EGifPutImageDesc' gifio.c:(.text+0x468): undefined reference to `EGifCloseFile' gifio.c:(.text+0x58f): undefined reference to `EGifPutLine' gifio.c:(.text+0x5cc): undefined reference to `EGifCloseFile' gifio.c:(.text+0x638): undefined reference to `FreeMapObject' gifio.c:(.text+0x6ab): undefined reference to `EGifCloseFile' gifio.c:(.text+0x6e6): undefined reference to `EGifCloseFile' gifio.c:(.text+0x721): undefined reference to `EGifCloseFile' /usr/local/include/liblept/../../lib/liblept.a(gifio.o): In function `pixReadStreamGif': gifio.c:(.text+0x795): undefined reference to `DGifOpenFileHandle' gifio.c:(.text+0x7ab): undefined reference to `DGifSlurp' gifio.c:(.text+0x94f): undefined reference to `DGifCloseFile' gifio.c:(.text+0x967): undefined reference to `DGifCloseFile' gifio.c:(.text+0xad7): undefined reference to `DGifCloseFile' gifio.c:(.text+0xb1b): undefined reference to `DGifCloseFile' gifio.c:(.text+0xb4f): undefined reference to `DGifCloseFile' /usr/local/include/liblept/../../lib/liblept.a(gifio.o):gifio.c:(.text +0xb8a): more undefined references to `DGifCloseFile' follow collect2: ld returned 1 exit status --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
