[tor-commits] [torbrowser/maint-2.4] Add Linux x86 build machine setup description.

mikeperry at torproject.org mikeperry at torproject.org
Thu Jan 24 10:08:51 UTC 2013


commit 687ecf6d39675534d16abe93bdb1d401d0baa123
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Thu Jan 24 02:06:33 2013 -0800

    Add Linux x86 build machine setup description.
    
    Based on email from Erinn. Seems to work for me (save for --enable-optimize
    for Firefox.. But that's probably a Mozilla/Debian/gcc bug).
---
 docs/buildmachine_setups/linux-x86.txt |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/docs/buildmachine_setups/linux-x86.txt b/docs/buildmachine_setups/linux-x86.txt
new file mode 100644
index 0000000..4926e1c
--- /dev/null
+++ b/docs/buildmachine_setups/linux-x86.txt
@@ -0,0 +1,27 @@
+1. Install Debian squeeze (latest stable) on a VM from:
+   http://cdimage.debian.org/debian-cd/6.0.6/i386/iso-cd/debian-6.0.6-i386-netinst.iso
+   # Make sure you have 10gb available.
+   # Make sure you install the desktop environment since it gets a lot of the 
+   # necessary X11 dependencies.
+ 
+2. sudo aptitude install git 
+
+3. git clone https://git.torproject.org/torbrowser.git 
+
+4. cd torbrowser/build-scripts
+
+5. vi linux-alpha.mk
+   # change FETCH_DIR to be something you have access to
+   # like $(HOME)/srv/build-trees
+
+6. Firefox needs a version of yasm only available in Debian unstable:
+   a. edit /etc/apt/sources.list, change 'squeeze' to 'unstable'
+   b. sudo aptitude update && sudo aptitude install yasm
+   c. edit /etc/apt/sources.list and change 'unstable' back to 'squeeze'
+   d. sudo aptitude update again so you'll only install packages from squeeze 
+ 
+10. sudo aptitude build-dep iceweasel
+ 
+11. sudo aptitude install zlib1g-dev g++ libxext-dev cmake autoconf2.13 mesa-common-dev
+ 
+12. make -f linux-alpha.mk build-all-binaries 



More information about the tor-commits mailing list