Tesseract version 2.00 with gutsy

Bruce Bales bbales at cox.net
Tue Dec 11 22:50:13 UTC 2007


On Tuesday 11 December 2007 16:24:24 James Tappin wrote:
> 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.

Yep, that did it.  Just restarted the konsole and everything works right now. 

Thanks a bunch, James.
bruce




More information about the kubuntu-users mailing list