[developers] Linux and macOS versions of LKB-FOS

John Carroll J.A.Carroll at sussex.ac.uk
Sat Dec 23 12:12:35 CET 2017


Hi Ned,

Thanks for the feedback! And apologies for the problems - but I think both are easily fixable.

Regarding yzlui, its location is getting baked into the Linux binary. This wouldn't show up in a full installation of the LOGON LKB because you get the same files and directory structure as in the build. I fixed the problem in the macOS version of LKB-FOS but forgot about it for the Linux version. Before initialising LUI, execute the following:

(setq make::bin-dir "")

This should work. I'll fix it properly in the next release.

Re SLIME, you shouldn't have to install it, since the CL side is included in the binary and the relevant parts of the emacs side (slime.el etc) are in the directory lkb-fos/emacs/. I had to change the SLIME build files slightly to stop it constantly trying to reinstall itself, but I think this is justifiable since I want LKB-FOS to be trivial to install.

John

On 23 Dec 2017, at 06:16, Ned Letcher <ned at nedned.net<mailto:ned at nedned.net>> wrote:

Hi John,

That's super exciting!

I managed to get it running and parsing on my Ubuntu 17.04 machine. There were a few errors on run of the 'lkb' command from within Emacs. I've included the output below. It looks like there might be some hardcoded paths that don't match my system in the lk-fos binaries. One is failing to pickup yzlui. Would be great to have yzlui support.

It could also be good to add suggestions for installing slime, as I suspect many won't have it on their system. 'sudo apt-get install slime' did the job for me, and I also had success using the Emacs package manager.

(progn (load "/usr/share/common-lisp/source/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/tmp/slime.31486"))

Welcome to LKB 5.5 (beta) (built with SBCL, 04:52:21 7 Dec 2017)

WARNING: #P"/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf" doesn't exist
[NIL] lsp-loop(): premature end of file (read 88 characters)
[NIL] lsp-loop(): read: `"/bin/sh: 1: exec: /home/ubuntu/Documents/delphin/lkb/bin/linux.x86.64/yzlui: not found
"'.
*
; loading #P"/usr/share/common-lisp/source/slime/swank-loader.lisp"
WARNING: redefining SWANK-LOADER::Q in DEFUN
WARNING: redefining SWANK-LOADER::LISP-VERSION-STRING in DEFUN
WARNING: redefining SWANK-LOADER::UNIQUE-DIR-NAME in DEFUN
WARNING: redefining SWANK-LOADER::FILE-NEWER-P in DEFUN
WARNING: redefining SWANK-LOADER::SLIME-VERSION-STRING in DEFUN
WARNING: redefining SWANK-LOADER::DEFAULT-FASL-DIR in DEFUN
WARNING: redefining SWANK-LOADER::BINARY-PATHNAME in DEFUN
WARNING: redefining SWANK-LOADER::HANDLE-SWANK-LOAD-ERROR in DEFUN
WARNING: redefining SWANK-LOADER::COMPILE-FILES in DEFUN
WARNING: redefining SWANK-LOADER::LOAD-USER-INIT-FILE in DEFUN
WARNING: redefining SWANK-LOADER::LOAD-SITE-INIT-FILE in DEFUN
WARNING: redefining SWANK-LOADER::SRC-FILES in DEFUN
WARNING: redefining SWANK-LOADER::APPEND-DIR in DEFUN
WARNING: redefining SWANK-LOADER::CONTRIB-DIR in DEFUN
WARNING: redefining SWANK-LOADER::LOAD-SWANK in DEFUN
WARNING: redefining SWANK-LOADER::DELETE-STALE-CONTRIB-FASL-FILES in DEFUN
WARNING: redefining SWANK-LOADER::COMPILE-CONTRIBS in DEFUN
WARNING: redefining SWANK-LOADER::LOADUP in DEFUN
WARNING: redefining SWANK-LOADER::SETUP in DEFUN
WARNING: redefining SWANK-LOADER::STRING-STARTS-WITH in DEFUN
WARNING: redefining SWANK-LOADER::LIST-SWANK-PACKAGES in DEFUN
WARNING: redefining SWANK-LOADER::DELETE-PACKAGES in DEFUN
WARNING: redefining SWANK-LOADER:INIT in DEFUN
WARNING: redefining SWANK-LOADER:DUMP-IMAGE in DEFUN
WARNING: redefining SWANK-LOADER:LIST-FASLS in DEFUN
WARNING: Not reloading SWANK.  Package already exists.

debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #<THREAD "main thread" RUNNING {1007830083}>: Failed to find the WRITE-DATE of /home/ubuntu/common-lisp/quicklisp/dists/quicklisp/software/slime-v2.20/packages.lisp: No such file or directory

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

((LABELS SB-IMPL::RESOLVE-PROBLEMATIC-SYMLINK :IN SB-IMPL::QUERY-FILE-SYSTEM) NIL)
0]

On Thu, 21 Dec 2017 at 01:55 John Carroll <J.A.Carroll at sussex.ac.uk<mailto:J.A.Carroll at sussex.ac.uk>> wrote:
Hi all,

I'm happy to announce the first co-ordinated Linux and macOS release of the fully open source LKB (LKB-FOS). There's full information at http://moin.delph-in.net/LkbFos, including installation instructions and a summary of improvements over previous versions of the LKB. I have also recently updated http://moin.delph-in.net/LkbWishlist, http://moin.delph-in.net/LkbBugs, and http://moin.delph-in.net/LkbMacintosh

Apart from usability improvements, the most visible change in LKB-FOS is to the type hierarchy display, which shows a target type's ancestors as well as its descendants, and includes commands to zoom in/out and to display type constraints. I hope this will make it easier to debug type hierarchies. I attach a couple of screenshots.

Best wishes of the season,

John

On 1 Sep 2017, at 10:57, John Carroll <J.A.Carroll at sussex.ac.uk<mailto:J.A.Carroll at sussex.ac.uk>> wrote:

Hi,

I’ve just uploaded a new macOS version of the LKB with improved Unicode support and much faster GLB computation. This version addresses most of the points in "Proper support in the display/entry for non-ascii encodings" athttp://moin.delph-in.net/LkbWishlist .

The main highlights are:

* The macOS 'Input Sources' menu can be used to switch between language scripts, and the 'Keyboard Viewer' provides convenient multilingual text entry.

* Window titles are now able to show any Unicode character.

* Grammar and lexicon files are no longer subject to Unicode NFC normalisation.

* Much faster GLB computation for large type partitions.

The download link and installation instructions are at http://moin.delph-in.net/LkbMacintosh . I’ve still got a long list of suggested enhancements from the DELPIN Summit and subsequently. I’m working on them, and I also hope to make a Linux version soon.

John




<sign_min_zoomed.png><localcons_defns.png>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20171223/d0c98531/attachment.html>


More information about the developers mailing list