wiki:InstallationGuide

Installing Kite on your system

  1. Visit DownloadKite and download the latest version for your platform (for the time being, it's only available in source form).
  2. Install any prerequisites that don't already exist on your system. For more information, visit KitePrerequisites.
  3. Untar the tarball on your local system. For Unix platforms, run:
tar xvzf kite-version.tar.gz

where version is the latest version.

  1. There should be a folder with the same name as the tarball (but without the .tar.gz). cd into it.
  2. (Kite 0.1 and 0.2 only) Edit Makefile with your favorite editor. In particular, edit the following to match your system:
CPP = g++
ANTLR = /sw/bin/antlr
INCLUDES = -I/sw/include
LIBS = -L/sw/lib
INSTALLTO = /sw/bin

INCLUDES and LIBS usually correspond to where the ANTLR include files and libraries are located, respectively. Mac OSX (using  Fink) installs ANTLR under /sw, while FreeBSD and most other Unix distributions use /usr/local or similar. INSTALLTO is the folder to install the Kite binary into, usually /usr/local/bin.

  1. (Kite 0.3 and up) Run ./configure to configure the sources for building. You can also specify --with-gc[=/path/to/libgc] to specify a custom path to  Boehm's GC library, or use --without-gc to disable its use. (Kite will link it in if available on the system by default).
  2. make
  3. If the previous step didn't produce any errors, make install. You may also want to run make check as a sanity check to ensure Kite works properly before install.

You're now ready to write your first application.