LKB Compilation from source code

I’m attempting to install the LKB from the FOS version so that I can compile it from source.

I’m creating a fresh installation following the instructions for compilation included in the docs using the installation instructions for the FOS version. I am getting the lkb running in emacs with the functionality (reading grammars/parsing/other basic Lisp functionality) that I am used to, but when I attempt to run (load "lkb/src/general/loadup"), I’m getting the following error:

Couldn't load "lkb/src/general/loadup": file does not exist.

Indeed, in my DELPHINHOME directory ~/delphin, the only directory inside ~/delphin/lkb_fos/src is tsdb. I do not have any of the other directories (especially general) that I expected based on the source code that can be found in the DELPH-IN public repository.

If anyone has suggestions for me, and especially @johnca, if you have time to offer some guidance, I would appreciate it very much.

The instructions at LkbCompilation are only relevant to compiling LKB source code in Franz Allegro Common Lisp with Allegro CLIM, and assume that you are starting from the LOGON source tree.

To build LKB-FOS, start from the source tree at http://svn.delph-in.net/lkb/branches/fos/ and follow the instructions in the build.sh file. At the top of the file it says the build script is work-in-progress but there should be enough there to get you started. You need to do an svn checkout of that whole branch; you can’t start from the LKB-FOS binary distribution.

An alternative approach to building from source is just to use the pre-built LKB-FOS binary as your development environment – it contains a complete Lisp system including compiler, debugger, etc. This is generally sufficient if you’re working on only a single part of the system. I only create a new binary when I make a drastic change (e.g. one that affects the memory layout of an existing data-structure).

I’ll be happy to talk through such issues at the upcoming summit.

Thank you very much for your guidance. I would look forward to discussing options further at the upcoming summit.