Skip to content

Instantly share code, notes, and snippets.

@makotokato
Created June 11, 2019 04:54
Show Gist options
  • Save makotokato/6c4368c0f3c17c30530e956d63dc16e4 to your computer and use it in GitHub Desktop.
Save makotokato/6c4368c0f3c17c30530e956d63dc16e4 to your computer and use it in GitHub Desktop.
Setup NSS build environment on Amazon AMI
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