I'm no expert on compiling and installing 'NIX software for OS X, but I was able to compile on Mac OS X 10.5.6 by making some modifications. This may be helpful to others trying to do the same. Further, some more informed individuals may be able to translate this into appropriate instructions or corrections for a Mac OS install:
I used Fink / Mac Ports to install libpng, libtiff, and then iulib and tesserect, but not FST or Leptonica. It is not clear whether I could have instead linked to system libraries already present. I then ran configure for ocropus 0.3 as follows: CPPFLAGS='-I/sw/include -I/opt/local/include' LDFLAGS='-L/sw/lib -L/ opt/local/lib' ./configure --without-fst --without-leptonica I modified the Makefile in ext/tolua++ so that the ar tool would be called without the "f" option which does not exist in ar on OS X, so instead of $(AR) crf $@ $^ the ext/tolua++/Makefile contained $(AR) cr $@ $^ I modified ext/ocroscript/Makefile so that g++ does not try to pass the option -E to the linker, and used the option "-all_load", so instead of: AM_LDFLAGS = -Wl,-E the ext/ocroscript/Makefile contained AM_LDFLAGS = -Wl,-all_load The software produces expected output on the suggested test given by configure, ocroscript recognize data/pages/alice_1.png I'll amend this if I conclude the installation was not successful after inputtting some of my own files. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
