On Nov 22, 1:45 pm, "Thomas Breuel" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The Subversion tree is being used for active development; it doesn't always
> compile, and even if it does, you should at least know some
> automake/autoconf to be able to cope with problems. Unless you're prepared
> for dealing with problems like this, your best bet is to install a released
> version.
>
> If you do need to use the Subversion version for some reason and you're
> having problems with it, just try going back a few
> Subversion-release-numbers ("-r"). Usually, things don't stay broken too
> long in Subversion.
>
> The file "deprecation.h" has nothing to do with Guile (the set of library
> dependencies is listed on ocropus.org; we don't even use STL). If you look
> in your iulib source tree, you'll find the missing file. The problem was
> simply that the file wasn't installed by the makefile.
still very very confused; here is why:
updatedb && locate deprecation.h
<sourcepath>/guile-1.8.5/libguile/deprecation.h
/usr/include/libguile/deprecation.h
/usr/local/include/libguile/deprecation.h
----------- also --------------
cd ..../iulib/ && find . -name deprecation.h
<nothing found>
(this is iulib-0.3)
-----------------------
Thus, I am finding "deprecation.h" in the libguile source tree, and
not finding it in the iulib source tree. Given your emphatic assurance
that "deprecation.h" has nothing to do with Guile, I am completely
stumped.
-----------------------------
> If you update and
> re-make your make files and configure scripts, you should be fine.
For SVN build 1305 (downloaded 2008-11-24, around 15:00), make fails
with the following new error(s):
<snip preceding>
l/include/iulib -I/usr/local/include/colib -I/usr/local/include/
colib/.. -I./ocr-tesseract -I/usr/local/include/tesseract -
DHAVE_TESSERACT -g -O2 -MT voronoi-ocropus.o -MD -MP -MF ".deps/
voronoi-ocropus.Tpo" -c -o voronoi-ocropus.o `test -f './ext/voronoi/
voronoi-ocropus.cc' || echo './'`./ext/voronoi/voronoi-ocropus.cc; \
then mv -f ".deps/voronoi-ocropus.Tpo" ".deps/voronoi-
ocropus.Po"; else rm -f ".deps/voronoi-ocropus.Tpo"; exit 1; fi
./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
make[1]: *** [voronoi-ocropus.o] Error 1
make[1]: Leaving directory `/data/installers/svn/ocropus-read-only'
make: *** [all-recursive] Error 1
---
I did run "autoconf" in the svn directory, to generate my ./configure.
----------------------------------
Also, i didn't mention it earlier, because i thought it was a separate
thread (and it probably is), but:
In the SVN versions i have tried to build, ./configure complains it
can't find leptonica:
configure: error: leptonica not found! Choose --without-leptonica if
you don't want to use it
Yet, I have leptonlib-1.58.tar.gz compiled and installed (downloaded
from google code)
So, all the make'ing i've referred to so far in this thread have been
after "./confgure --without-leptonica "
--------------------------------------
In addition, I have downloaded and compiled (apparently successfully)
the ocropus-0.3.1 release. HOWEVER: the 0.3.1, like the svn versions,
also can not find my leptonica, and ADDITIONALLY, can't find fst:
configure: error: Could not find openFST! Choose --without-fst if you
do not want to use it.
So, I compiled 0.3.1 with " --without-fst --without-leptonica ".
I am not sure how much functionality/quality/accuracy I lose by not
integrating the FST and leptonica into my build.
And, again, to be clear, the SVN versions do complain about leptonica
and force me to exclude it, but they do NOT complain about FST, like
the 0.3.1 release does.
Thanks again
Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---