I try to build OCRopus step-by-step on a Debian/ etch box.

This works
CXXFLAGS="-fPIC -O2" ./configure --without-fst --without-leptonica
make check

But this does not work
CXXFLAGS="-fPIC -O2" CPPFLAGS="-I/usr/src/OpenFst/" ./configure --
without-leptonica
with error msg
...
...
checking for pthread_create in -lpthread... (cached) yes
checking how to run the C++ preprocessor... g++ -E
checking fst/lib/fst.h usability... yes
checking fst/lib/fst.h presence... yes
checking for fst/lib/fst.h... yes
checking for main in -lfst... no
configure: error: Could not find openFST! Choose --without-fst if you
do not want to use it.

What am I doing wrong?
Beat
--~--~---------~--~----~------------~-------~--~----~
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