Last active
June 19, 2017 15:19
-
-
Save xiangjjj/c96a72e8b5a329f7c4e95067681c837c to your computer and use it in GitHub Desktop.
Build Swig from source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download swig | |
$ wget http://ufpr.dl.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz | |
$ 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