Re:Feeling safer online with Firefox
by sp332 on Friday January 13, 2017 @07:10PM
(#13395938)
Replying to myself: ok so I just tried this and it's not that easy. The bootstrap script installed a bunch of dependencies but didn't install rust for some reason. Also Ubuntu 14.04 doesn't have the right version of gcc available so you have to get that basically too. The hg clone operation took forever and timed out a few times. Then my computer ran out of RAM during the build and I had to close some programs and start it up again. Pretty much a giant pain, and I don't even want to try Windows where the first step is "install Visual Studio"!
[ Parent
| on HN ]
FWIW, on a fresh ubuntu 16.04 install, this is what needs to be run:
sudo apt update && sudo apt install python build-essential -y
wget -O bootstrap.py https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py && python bootstrap.py
cd mozilla-unified/
./mach buildThat takes care of rust too?
re: hg clone timeouts, you can download a leaner hg bundle over HTTP and then "unbundle" it:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...
mozilla-central is just such a big repository that it pushes the usual cloning process to its limits.
The Rust dependency was added to Firefox very recently, so I guess with the holidays it hasn't made it into the bootstrap script and docs yet.