Ocropus on Fedora 10 from Mercurial: error: cannot find input file: Makefile.in

21 views
Skip to first unread message

jrobinson852

unread,
May 18, 2009, 4:26:48 PM5/18/09
to ocropus
Hello, All:

I'm trying to take a look at the latest version of Ocrupus from
Mercurial on Fedora 10.
I'm following the directions at http://sites.google.com/site/ocropus/install-mercurial

I am able to pull the iulib ad ocrupus directories from Mercurial, but
when I try to configure uilib, I get:

config.status: error: cannot find input file: Makefile.in

How can I work around this? Thanks in advance! I'm very interested in
getting the new version of Ocropus going!

jrobinson852

Tom

unread,
May 18, 2009, 11:51:54 PM5/18/09
to ocr...@googlegroups.com
jrobinson852 wrote:
> I'm trying to take a look at the latest version of Ocrupus from
> Mercurial on Fedora 10.
> I'm following the directions at http://sites.google.com/site/ocropus/install-mercurial
>
> I am able to pull the iulib ad ocrupus directories from Mercurial, but
> when I try to configure uilib, I get:
>
> config.status: error: cannot find input file: Makefile.in
>

You can either build with SCons (that should run on Fedora), or you need
to run the full automake/autoconf pipeline (in fact, you may need to
build the automake input files with "python buildAM.py" if they're out
of date).

Tom

Josh Rabinowitz

unread,
May 21, 2009, 2:37:46 PM5/21/09
to ocr...@googlegroups.com
Hello, Tom and everyone:

Thanks for your response, Tom. I've installed scons and was able to get farther. iulib did build and install.

I also installed tesseract from the F10 RPMs using
  # yum install 'tesseract*'

which installs
 tesseract                   i386         2.03-1.fc10        fedora       1.8 M
 tesseract-devel             i386         2.03-1.fc10        fedora       242 k
 tesseract-langpack-de       noarch       2.00-2.fc8         fedora       1.3 M
 tesseract-langpack-es       noarch       2.00-2.fc8         fedora       1.3 M
 tesseract-langpack-fr       noarch       2.00-2.fc8         fedora       982 k
 tesseract-langpack-it       noarch       2.00-2.fc8         fedora       952 k
 tesseract-langpack-nl         noarch       2.00-2.fc8         fedora       1.3 M

The problem I'm having now is this:
% cd ocropus
% scons
...
AssertionError: :
  File "/home/joshr/src/ocropus/ocropus/SConstruct", line 116:
    assert conf.CheckLibWithHeader('tesseract_full', 'tesseract/baseapi.h', 'C++')

but I do see the file tesseract/baseapi.h in /usr/include/tesseract/baseapi.h

???

Thanks in advance for assistance,
 jrobinson852

Thomas Breuel

unread,
May 21, 2009, 9:08:43 PM5/21/09
to ocr...@googlegroups.com
tesseract_full is just a single library containing all of Tesseract;
the Ubuntu package contains it--Fedora may have removed it for some
reason.

The latest Mercurial version has removed the dependency on Tesseract
from ocropus, not just because of this issue, but also because
Tesseract causes dynamic loading to fail. So, updating and rebuilding
may solve your problem.

(Tesseract for line recognition will be available again separately.)

Tom
Reply all
Reply to author
Forward
0 new messages