Created
June 11, 2019 04:54
-
-
Save makotokato/6c4368c0f3c17c30530e956d63dc16e4 to your computer and use it in GitHub Desktop.
Setup NSS build environment on Amazon AMI
This file contains 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
sudo yum groupinstall "Development Tools" | |
sudo yum install ninja-build | |
wget https://www.mercurial-scm.org/release/mercurial-5.0.1.tar.gz | |
tar xf mercurial-5.0.1.tar.gz | |
cd mercurial-5.0.1.tar.gz | |
make all | |
sudo make install | |
cd .. | |
/usr/local/bin/hg clone https://hg.mozilla.org/projects/nspr | |
/usr/local/bin/hg clone https://hg.mozilla.org/projects/nss | |
git clone https://chromium.googlesource.com/external/gyp.git gyp | |
cd gyp | |
sudo python setup.py install | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment