Hello:

I try to install ocropus trought the svn, this is the output when i
execute scons:

r...@us810:~/ocr/appocr/ocropus# scons
scons: Reading SConscript files ...

**********************************************
*** SConstruct is unsupported.             ***
*** The official build system is autoconf. ***
**********************************************

NOTE: compiling for development (slower but safer)
Checking for C++ header file colib.h... yes
Checking for C++ library iulib... yes
Checking for C++ library iulib... yes
Checking for C++ library tesseract_full... yes
Checking for C library pthread... yes
Checking for readline() in C library editline... yes
Checking for C++ library fst... yes
Checking for C library SDL... yes
Checking for C library SDL_gfx... yes
Checking for C library tiff... yes
Checking for C library jpeg... yes
Checking for C library png... yes
Checking for C library lept... yes
ocr-bpnet/grouping.cc:302:dead code [resp: mezhirov, edit: tmbdev]
ocr-bpnet/classify-chars.cc:54:file contains tabs [resp: kapry, edit:
tmbdev]
ocr-utils/logger.h:169:dead code [resp: mezhirov, edit: rangoni.yves]
ocr-utils/ocr-utils.cc:412:dead code [resp: mezhirov, edit: tmbdev]
ocr-utils/grouper.cc:53:dead code [resp: tmb, edit: tmbdev]
ocr-utils/logger.cc:399:dead code [resp: rangoni, edit: tmbdev]
ocr-utils/ocr-utils.h:135:dead code [resp: mezhirov, edit: tmbdev]
all checks completed
scons: done reading SConscript files.
scons: Building targets ...
g++ -o ext/voronoi/bit_func.o -c -g -O -Wall -Wno-sign-compare -Wno-
write-strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/bit_func.cc
g++ -o ext/voronoi/cline.o -c -g -O -Wall -Wno-sign-compare -Wno-write-
strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/cline.cc
g++ -o ext/voronoi/dinfo.o -c -g -O -Wall -Wno-sign-compare -Wno-write-
strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/dinfo.cc
g++ -o ext/voronoi/draw_line.o -c -g -O -Wall -Wno-sign-compare -Wno-
write-strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/draw_line.cc
g++ -o ext/voronoi/edgelist.o -c -g -O -Wall -Wno-sign-compare -Wno-
write-strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/edgelist.cc
g++ -o ext/voronoi/erase.o -c -g -O -Wall -Wno-sign-compare -Wno-write-
strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/erase.cc
g++ -o ext/voronoi/geometry.o -c -g -O -Wall -Wno-sign-compare -Wno-
write-strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/geometry.cc
g++ -o ext/voronoi/hash.o -c -g -O -Wall -Wno-sign-compare -Wno-write-
strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/hash.cc
g++ -o ext/voronoi/heap.o -c -g -O -Wall -Wno-sign-compare -Wno-write-
strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/heap.cc
g++ -o ext/voronoi/img_to_site.o -c -g -O -Wall -Wno-sign-compare -Wno-
write-strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/img_to_site.cc
g++ -o ext/voronoi/label_func.o -c -g -O -Wall -Wno-sign-compare -Wno-
write-strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/label_func.cc
g++ -o ext/voronoi/memory.o -c -g -O -Wall -Wno-sign-compare -Wno-
write-strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/memory.cc
g++ -o ext/voronoi/output.o -c -g -O -Wall -Wno-sign-compare -Wno-
write-strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/output.cc
g++ -o ext/voronoi/read_image.o -c -g -O -Wall -Wno-sign-compare -Wno-
write-strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/read_image.cc
g++ -o ext/voronoi/sites.o -c -g -O -Wall -Wno-sign-compare -Wno-write-
strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/sites.cc
g++ -o ext/voronoi/usage.o -c -g -O -Wall -Wno-sign-compare -Wno-write-
strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/usage.cc
g++ -o ext/voronoi/voronoi-ocropus.o -c -g -O -Wall -Wno-sign-compare -
Wno-write-strings -Wno-deprecated -D__warn_unused_result__=__far__ -
DHAVE_TESSERACT -DLUA_USE_EDITLINE -DHAVE_FST -DHAVE_LEPTONICA -Iext/
tolua++ -Iext/lua -I/usr/local/include -I/usr/local/include/colib -I/
usr/local/include/iulib -I/usr/local/include/tesseract -I/usr/local/
include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/
local/include/leptonica -Iext/voronoi -Iocr-binarize -Iocr-samples -
Iocr-bpnet -Iocr-doc-clean -Iocr-langmods -Iocr-layout-rast -Iocr-
pageseg -Iocr-utils -Iocr-tesseract -Iocr-leptonica -Iocr-deskew-rast
ext/voronoi/voronoi-ocropus.cc
ext/voronoi/voronoi-ocropus.cc: In member function 'virtual void
ocropus::SegmentPageByVORONOI::segment(colib::intarray&,
colib::bytearray&)':
ext/voronoi/voronoi-ocropus.cc:143: error: 'contains_only' was not
declared in this scope
scons: *** [ext/voronoi/voronoi-ocropus.o] Error 1
scons: building terminated because of errors.

It's a bug or something its missing??

Thanks!
--~--~---------~--~----~------------~-------~--~----~
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