Chapter 1. Getting Started

Table of Contents

Obtaining Waf
Installing
Running Waf

Obtaining Waf

The Waf project is located on Google Code The current Waf version requires Python 2.3 compiled with support for the bzip2 compression algorithm. Installing Waf is optional, if you want to install Waf on the system, jump to the next section.

Using the Waf binary

The Waf binary is ready to use and can be executed directly. Just rename it into "waf":

$ wget http://waf.googlecode.com/files/waf-1.5.0
$ mv waf-1.5.0 waf && chmod 755 waf
				

Generating Waf from source

The Waf binary is usually generated from the source distribution:

$ wget http://waf.googlecode.com/files/waf-1.5.0.tar.bz2
$ tar xjvf waf-1.5.0.tar.bz2
$ cd waf-1.5.0
$ ./waf-light --make-waf