Did you compile tesseract by yourself? If yes, did you use standard
compilation process(autotools)? What kind of options you used? Can you
send me config.log? Or did you used version from your distribution?
Do you have only one installation of tesseract in your system?
--
Zdenko
On 18.11.2012 01:19, Linda Li wrote:
> Here are some more details
>
>
> (1)
> Use the original svutill.cpp (not remove ">/dev/null 2>&1" )
> export SCROLLVIEW_PATH
> then run:
> tesseract temp.jpg output segdemo inter
>
> The terminal ouput is:
> ----------------------------
> Tesseract Open Source OCR Engine v3.02.02 with Leptonica
> ScrollView: Waiting for server...
> ScrollView: Waiting for server...
> ----------------------------
>
> The viewerdebugging window pops out, but with no segmentation picture in it.
> see the attachment.
>
> I use Ctrl+C to terminate the procedure.
> I use quit of the icon of the ViewerDebugging window to close the window.
>
> I run the command on terminal:
> java -Xms512m -Xmx1024m -Djava.library.path=$SCROLLVIEW_PATH -cp
> $SCROLLVIEW_PATH/ScrollView.jar:$SCROLLVIEW_PATH/piccolo-1.2.jar:$SCROLLVIEW_PATH/piccolox-1.2.jar
> com.google.scrollview.ScrollView
> The output is:
> ----------------------------
> java.net.BindException: Address already in use
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at
> java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
> at java.net.ServerSocket.bind(ServerSocket.java:336)
> at java.net.ServerSocket.<init>(ServerSocket.java:202)
> at java.net.ServerSocket.<init>(ServerSocket.java:114)
> at com.google.scrollview.ScrollView.main(ScrollView.java:397)
> ----------------------------
>
> Now if I try to input the command "tesseract temp.jpg output segdemo inter"
> again, the window will not pop out any more.
>
> I log out, then log in.
>
> (2)
> Now I have logged in again.
> export SCROLLVIEW_PATH=/home/tesseract-ocr-3.02.02/java
>
> Now following the troubleshooting instruction I remove ">/dev/null 2>&1" in
> the svutill.cpp file.
> It would be like below.
> ----------------------------
> const char* cmd_template = "-c \"trap 'kill %1' 0 1 2 ; java "
> "-Xms1024m -Xmx2048m -Djava.library.path=%s -cp %s/ScrollView.jar:"
> "%s/piccolo-1.2.jar:%s/piccolox-1.2.jar"
> " com.google.scrollview.ScrollView"
> " & wait\"";
> ----------------------------
>
> The output in the terminal window is:
> ----------------------------
> Tesseract Open Source OCR Engine v3.02.02 with Leptonica
> ScrollView: Waiting for server...
> ----------------------------
>
> The viewerdebugging window pops out, but with no segmentation picture in it.
> Same as the one in (1) (in attachment)
>
> (3)
> Have no idea what is wrong. Thanks in advance.
>
>
>
> On Friday, November 16, 2012 2:37:26 PM UTC-6, zdenop wrote: