Your guess was correct, you don't have the right files. The easiest way to get a copy of libutf is to use the following command:
hg clone http://hg.suckless.org/libutf As it's a mercurial repository. That will leave you with a libutf directory with it all in. Delete the one with HTML in, and copy the mercurial one, and run the cc command again. Nick On Sat, Sep 15, 2012 at 06:46:20PM -0700, Donaldo wrote: > Hi, Nick > > Thanks for your help. I am afraid it did not work. I ran the command and got > about 150 lines of errors starting with: > > libutf/utf.c:1:1: error: expected identifier or ( before < token > libutf/utf.c:10:1: error: stray @ in program > libutf/utf.c:10:22: error: invalid suffix "df3c4ba5e72" on integer constant > libutf/utf.c:45:2: error: stray # in program > libutf/utf.c:45:11: error: expected identifier or ( before & token > libutf/utf.c:45:11: error: stray # in program > libutf/utf.c:45:17: error: expected identifier or ( before & token > libutf/utf.c:45:17: error: stray # in program > libutf/utf.c:45:23: error: expected identifier or ( before & token > > The strange thing is that utf.c is an xml file. I expected a C program. It > starts: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/ > xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> > <head> > <link rel="icon" href="http://hg.suckless.org/static/hgicon.png" type="image/ > png" /> > <meta name="robots" content="index, nofollow"/> > <link rel="stylesheet" href="http://hg.suckless.org/static/style-gitweb.css" > type="text/css" /> > > > <title>libutf: utf.c@9df3c4ba5e72</title> > <link rel="alternate" type="application/atom+xml" > href="/libutf/atom-log" title="Atom feed for libutf"/> > <link rel="alternate" type="application/rss+xml" > href="/libutf/rss-log" title="RSS feed for libutf"/> > </head> > <body> > > Have I got the correct files? > Thanks > Donaldo > > > -- > You received this message because you are subscribed to the Google > Groups "tesseract-ocr" 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/tesseract-ocr?hl=en -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" 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/tesseract-ocr?hl=en

