Tesseract version 2.00 with gutsy
James Tappin
sjt at star.sr.bham.ac.uk
Tue Dec 11 22:24:24 UTC 2007
On Tue, 11 Dec 2007 16:16:27 -0600
Bruce Bales <bbales at cox.net> wrote:
BB> I just installed tesseract on my gutsy machine and it works great.
BB> But even though my PATH lists /usr/local/bin, when I try to run
BB> tesseract I get
BB>
BB> bruce at blacky:~/docs/temp$ tesseract fay22.tif fay.test
BB> bash: /usr/bin/tesseract: No such file or directory
BB>
BB> It works perfectly if I type in the full path:
BB> /usr/local/bin/tesseract fay22.tif fay.test
BB>
BB> It works if I do sudo tesseract, even though the tesseract
BB> executable has execute for others.
BB>
BB> ls -l /usr/local/bin/tes*
BB> -rwxr-xr-x 1 root root 5822282 2007-12-11 13:46 tesseract
BB>
BB> I guess I could fix it with a symbolic link, but would someone
BB> explain why my path doesn't make this work?
It would appear that at some time you must have had a version of
tesseract in /usr/bin, which is then cached. For [t]csh the rehash
command will reset things, for [ba]sh there is something similar but I
can't recall the command offhand -- alternatively starting a new
terminal window ought to solve the problem, and logging out and logging
back certainly should.
--
+------------------------+-------------------------------+---------+
| James Tappin | School of Physics & Astronomy | O__ |
| sjt at star.sr.bham.ac.uk | University of Birmingham | -- \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722 | |
+--------------------------------------------------------+---------+
More information about the kubuntu-users
mailing list