The IDA/AIICS Course on Artificial Intelligence and Lisp - 2010

Notes about Installing Leonardo


How to install VMWare tools in Ubuntu

When you have started your virtual machine and it is waiting on the desktop, select (in the host) the menu Virtual Machine and then select Install VMware Tools. You will now get a window inside your virtual machine. Double click the compressed archive and extract the contents a location of your choice (perhaps the Desktop).

Now start a terminal and change directory to the one you just extracted. Here you type:

   sudo ./vmware-install.pl
Enter the password leo. If you have changed it, you enter that instead.

It will now go ahead and ask you a lot of questions where to put configuration files and such. Just select the default answer by pressing enter at every question.

When this has finished, you are complete. Now restart the virtual machine and you will have a lot better graphical and mouse support. You will also be able to use drag and drop between your host system and the virtual machine.

This was tested on VMware Fusion on a Mac, if you run into inconsistencies, please let us know and we will correct it!

How to start the Leonardo agent

Navigate into your agent's Process/main folder. From there you can start the agent in three ways.

In Windows, run startleo.bat

In Linux, run linuleo.lex

If none of the other works type it manually like this: (path to AllegroCL)/mlisp -locale latin1 -L Boot/cl/startleo.leos

Error while loading indivmap-kb

There can be several causes to this but the most probable one is that the path for your Allegro Common Lisp installation is wrong or non-existant.

Navigate to Renius/Indivmap and open the file hosts-catal.leo in a text editor of your choice. The last entity in that file should be the one with your hostname. Inside that entity is an attribute named has-allegro-path. Edit the path in that attribute so it points to your Allegro Common Lisp installation. Make sure that it ends with a slash or backslash. See the examples below.

   [: has-allegro-path "C:\Progra~1\acl80\"]
   [: has-allegro-path "/sw/allegro-8.2/"]
   [: has-allegro-path "/Applications/AllegroCL/"]

How to register your agent

Start the orange agent and fill in the requested information. Then load the knowledge blocks indivmap-kb, indiv-kb and servdefs-kb. After this has been done run the command regag.


Posted on 2010-09-10 as part of the TDDC65 website.