So I skipped the "make check" phase, and just installed it with "make
install". Then I tried to run the check that the "build" phase said I
could run:
% which ocroscript
/local/bin/ocroscript
% ocroscript recognize data/pages/alice_1.png
ocroscript: [string "require(arg_script_name)"]:1: module 'recognize'
not found:
no field package.preload['recognize']
no file '/usr/local/share/ocropus/scripts//recognize.lua'
no file './recognize.lua'
no file '/usr/local/share/lua/5.1/recognize.lua'
no file '/usr/local/share/lua/5.1/recognize/init.lua'
no file '/usr/local/lib/lua/5.1/recognize.lua'
no file '/usr/local/lib/lua/5.1/recognize/init.lua'
no file './recognize.so'
no file '/usr/local/lib/lua/5.1/recognize.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
%
It's no longer "data/pages/alice_1.png", it's "data/testimages/
alice_1.png". Even so, ocroscript seems to be seriously broken.
Bill
> I used gcc-4.2 (gcc-4.01 is the default on OS X -- the configure
> script should check this and fix it if necessary), and got further.
>
> After applying the "genAM.py" fix in iulib, and the "environ" fix in
> ocropus, and the "dgraphics_nosdl.cc" fix in iulib, I get to this:
>
> % make check
> ...
> # running tests
> ./test-binarize-sauvola ./data/testimages
> ./test-narray-io ./data/testimages
> terminate called after throwing an instance of 'char*'
> make: *** [check] Abort trap
> %
>
> Bill
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---