I need to build tesseract without leptonica dependency for some work(to 
porting using emscripten).
I looked into the make files and it seems tesseract requires leptonica 
header files and lib files in order to build.

Providing header files is not an issue but i can't provide lib files 
because of some reason(emscripten doesn't generate lib files of leptonica). 
and i tried to stop tesseract asking for leptonica by editing make files 
but it seems i'm heading in wrong way. 

I'm very new to make/autotools stuff and what i did was removing $LIB flag 
from "ac_link" variable throughout the script and also in more few places i 
thought it was calling. But i guess these build system might have a way to 
remove dependencies in a cleaner way without editing the arbitrary places 
in configure script(may be some places like makefile.am, or somewhere). Or 
is there any other way i can build tesseract without leptonica and how can 
i exactly do it ?. 

Sorry if i have used wrong terminologies like i said i'm not much familiar 
with above build systems.

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/42ae03ec-f3c1-4703-99eb-a6d4e2aa1179%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to