Last modified 3 years ago
Installing Kite on your system
- Visit DownloadKite and download the latest version for your platform (for the time being, it's only available in source form).
- Install any prerequisites that don't already exist on your system. For more information, visit KitePrerequisites.
- Untar the tarball on your local system. For Unix platforms, run:
tar xvzf kite-version.tar.gz
where version is the latest version.
- There should be a folder with the same name as the tarball (but without the .tar.gz). cd into it.
- (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.
- (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).
- make
- 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.
