<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.2">
</HEAD>
<BODY>
I'm pretty sure I've got detailed notes in the course forum for UW 2009 LING567. Looking through the archives now...<BR>
<BR>
Ah... there it is. The error I got was:<BR>
<BR>
LKB(12): (lui-initialize)<BR>
#<MULTIPROCESSING:PROCESS LUI(8) @ #x1009a035c2><BR>
LKB(13): /home/cjac/delphin/lkb/bin/linux.x86.64/yzlui: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory<BR>
[NIL] lsp-loop(): premature end of file (read 1 characters)<BR>
<BR>
And I found the 64-bit yzlui library at<BR>
<BR>
<A HREF="http://lingua.bash.info/trollet/">http://lingua.bash.info/trollet/</A><BR>
<BR>
specifically<BR>
<BR>
<A HREF="http://lingua.bash.info/trollet/yzlui-amd64">http://lingua.bash.info/trollet/yzlui-amd64</A><BR>
<BR>
Download that binary and replace the one you have under $DELPHINHOME/lkb/bin/<BR>
<BR>
I think the issue is documented here:<BR>
<BR>
<A HREF="http://wiki.delph-in.net/moin/LkbLui">http://wiki.delph-in.net/moin/LkbLui</A><BR>
<BR>
Cheers,<BR>
<BR>
C.J.<BR>
<BR>
<BR>
On Fri, 2010-09-10 at 13:29 -0700, Dan Flickinger wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Yes, I'm on a 64-bit machine, but don't know where to obtain a 64-bit version of pangolui different from the 32-bit version (the two executables in logon/lingo/lkb/bin/linux.x86.[32|64] are apparently identical).
I also tried (lui-initialize :lui "yzlui") which works a little better (for English) than (lui-initialize :lui "pangolui"): it succeeds in displaying parse trees, the parse chart, and indexed MRSs, but it crashes upon being asked to display AVMs or simple MRSs. Unfortunately, the file /tmp/yzlui.debug.danf does not supply any clue about what goes wrong with AVMs. All I see is the following Lisp message (the same one that pangolui produces when it crashes):
[NIL] lsp-loop(): premature end of file (read 1 characters)
Dan
----- Original Message -----
From: "C.J. Adams-Collier KF7BMP" <<A HREF="mailto:cjac@colliertech.org">cjac@colliertech.org</A>>
To: "Bart Cramer" <<A HREF="mailto:bart.cramer@gmail.com">bart.cramer@gmail.com</A>>
Cc: <A HREF="mailto:developers@delph-in.net">developers@delph-in.net</A>
Sent: Friday, September 10, 2010 6:57:11 PM
Subject: Re: [developers] Logon on Ubuntu 10.04
I think I recall this problem... Are you perhaps running on a 64-bit machine? If I recall correctly, you need to replace the binary in the distribution with a 64-bit version.
On Fri, 2010-09-10 at 10:56 +0200, Bart Cramer wrote:
Dear all,
I am having a bit of a problem running LKB from the LOGON distribution
properly. It seems to load well, and loading a grammar is also no
problem. However, when parsing, things go south:
[NIL] lsp-loop(): premature end of file (read 1 characters)
When trying again, I get the really old-fashioned graphical
representation. Issuing the command (lkb:lui-initialize) works, it
even shows some parse tree after parsing a new sentence, but crashes
when doing a mouse-over.
Is this a known problem, hopefully with a known workaround?
Bart.
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>