This does not work either
CXXFLAGS="-fPIC -O2" ./configure --without-fst -> no errors here

however, error when running make
./ocr-leptonica/ocr-text-image-seg-leptonica.cc:101: error:
‘pixExpandBinaryPower2’ was not declared in this scope
./ocr-leptonica/ocr-text-image-seg-leptonica.cc:104: error:
‘pixGetDimensions’ was not declared in this scope
make[1]: *** [ocr-text-image-seg-leptonica.o] Error 1
make[1]: Leaving directory `/usr/src/ocropus-0.3'
make: *** [check-recursive] Error 1

Any suggestions?
Beat

On Jan 20, 8:44 am, bnaef <[email protected]> wrote:
> 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