Step X: Install swig
To compile swig, you first need to install PCRE:
Download the PCRE 8.3.1 package
Unarchive the download, and change directory into the new folder, called pcre-8.31.
Configure, as follows:
./configure
Watch the configuration script working, and then compile and install:
sudo make install
Now we are ready for swig:
Download SWIG 2.0.8
Unpack the download, change directory into the new folder, called swig-2.0.8, and configure:
./configure
Watch the configuration script working, and then compile and install:
sudo make install