Create a gist now

Instantly share code, notes, and snippets.

@xiangdal /build_swig
Last active Jun 19, 2017

What would you like to do?
Build Swig from source
# download swig
$ wget
$ tar xzf swig-3.0.12.tar.gz # decompress
# configure swig
$ cd swig-3.0.12/
$ ./configure --prefix=$HOME/swig
# install swig
$ make clean && make && make install
# set up environment variable
$ export SWIG_PATH=$HOME/swig/bin/swig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment