[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-talk] Building Tor Browser on ARM
- To: tor-talk@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [tor-talk] Building Tor Browser on ARM
- From: Mirimir <mirimir@xxxxxxxxxx>
- Date: Wed, 8 May 2019 10:39:03 -0700
- Autocrypt: addr=mirimir@xxxxxxxxxx; prefer-encrypt=mutual; keydata= xsBNBFEN49cBCADWl1VZKYO8L+f/65G2nBWzh41VTAZDcJSxMWXrBSvpJzzLt6sJf0L0Rjmy W4VPxJMCm/32auRAp8Xx1iNmBpvYENSM1YJVWfk43tlSOY8CR3TVODMxWPhUu48Pb9OKSntz WHGwdZmOr14zF9vr4PaS9A6+Hyt9FPKuGcQFw7K8jK1Hpp5XgdY/DMHKeaJykJ8JH1HBTFTT OJdxIWu6cZ+spNaNfKdnNjk98hMPw69isVGzcm7b3lJUsjVnMSqnrtZ8CSIv1njyxJH7NB5n LzrE7EiXR37k+4Poc9/DeLSAKrq5N3ZMpX1EDOoXFa8lLVGWHBTwVN/tl7FLM0NmVuL5ABEB AAHNHG1pcmltaXIgPG1pcmltaXJAcmlzZXVwLm5ldD7CwIEEEwECACsCGyMGCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAAhkBBQJafNQ7BQkNMVdkAAoJEGINZVEXwuQ+5LoIAKyZQDkNqj+Y E26o1bdEQlmOLhhXev45euNCnaFrnbOyKLivHdF4vvXyWBTzJmCsoRxTJ0A3Zmwa3ZihbKaU FCAdRgspLfA+TGICVYOztB+faWV18k5OTCk7ZiBQ/mOMQA4p3RPOV+UCgdelvZRHrFdUgHro dho/FqZhRoPdsPPB08QBisDO7SfFMMe9U9EZ03n4f2TvMgaTjK/kZCopwgLj2nB11SnCYfWJ jxUFDs+VFObf/jSK8T0SX9O6p430NWZm30vutUVac9lfodMjBcJqTnFxmZrwQomlCYGvSqNw 4Xy5+/gBzv/flXHngQSU053smHRtrMlGK5OU1RSixDfOwE0EUQ3j1wEIAMDcexhcaIO5jpl+ SHM14zuBvF2QG61IpH4Lag6nQmSMTljizuJg2kLaLbfc69AxmjuL5obqYi5ywXn4kQKqiwfa OHvVlKn662/J5YgXuc8tRLyqvgb+hibtAnlhWAuusP0eoQQP6SAASRjtrb8RVapTzJXy2Snf PtkcdtkTLLLcyeGoDOkpPkspnnp8avvI9ayzhGFLg9qNWaIuBMudxT6oHK4rZH+Sv6km9viI /ziV6E8Z+PpvMsGdebeYBLQA7ueuTbyOGbDyProwvocrKynI/UM40VYS8bS1PjWtljUlj7Vx 8C/746hnfdge0m24jnaWfu5UDjwpsHzs/JXqklsAEQEAAcLAZQQYAQIADwIbDAUCWnzURgUJ DTFXbwAKCRBiDWVRF8LkPsCjCACNvnnmpcDwEbtXUFZD/+ewNlPfM9o0mIXgi7DIVR9MVCw/ u14+mJUlQny4jPRV+hv/erjbiqEcVPZ296J3I4kUvO4slI+ZyODsRQSzwMz6ihwC6nN1xove YSBzVKKQrV+FDHVk6dJVLtgPdewOR9ZAar7mEbCLTJZ/e5aVb+NrlC1jWx3V3mMGCKOsEHhu 97cu3AswlxhzqPjczTo3rjtcfxdjeGU6mIEEAlhUlVDdfbGLODIyCXrP39zYxYXFFpVcbGAu +cndl1AQkIXUiMoJuzTMU8TQ+zz8yLof9fB7Y8O8VbmZBPQqN2IiHPeGbfqZjk/uHjJQUayI +beL0kxL
- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Wed, 08 May 2019 16:04:50 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1557337148; bh=mwGvSk0Xei5ZK3NyIQe/BOo9180M2dtzCID0vL5MIoU=; h=Subject:To:References:From:Date:In-Reply-To:From; b=VRDlt88Jy/MvO+Gn7FIg8DA56sgfPeDIx1bauWtkt7GDed4B/scJKEAOOA+6Zt7Sm OYW/0bXS1NtMZmUbDiQYB24eWraYC+xV7hUi6F9KSSaNzJKO1jBIY5IpbJBOwweZfi 1l0uhmsnxNpMMTRUgAl4E0o4PlbbQIHTsun16lfM=
- In-reply-to: <tJL5YN0GfOxzu7BWGfBa2dRZTsYExgcHAzMRftOB4EAjbIUbPHzRIgJhZsIKvNiZIbkZUAA0gCS93q3pUwhYhao8P-LGiEZx152JgLfMILs=@existent.tech>
- List-archive: <http://lists.torproject.org/pipermail/tor-talk/>
- List-help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
- List-id: "all discussion about theory, design, and development of Onion Routing" <tor-talk.lists.torproject.org>
- List-post: <mailto:tor-talk@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
- Openpgp: preference=signencrypt
- References: <tJL5YN0GfOxzu7BWGfBa2dRZTsYExgcHAzMRftOB4EAjbIUbPHzRIgJhZsIKvNiZIbkZUAA0gCS93q3pUwhYhao8P-LGiEZx152JgLfMILs=@existent.tech>
- Reply-to: tor-talk@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-talk" <tor-talk-bounces@xxxxxxxxxxxxxxxxxxxx>
On 05/07/2019 11:37 AM, J.S. Evans wrote:
> Hi all,
>
> I'm attempting to build Tor Browser on an ARM64 machine. However, the install tool requires that you download some x64 packages which of course breaks the build. The following has details where it is breaking: https://pastebin.com/11EFY1sQ Any suggestions for a workaround?
>
> Jason
Some years ago, I built Tor browser on a Pi2. Maybe things have changed,
but here's what I did:
The Tor Project does not distribute Tor Browser for Raspbian wheezy, and
the Debian/Ubuntu version doesn't work. And so you will need to build
from source. That's actually (truly!) not very hard, because the
instructions at
https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking are
clear, and work.
First install required packages.
$ sudo apt-get install --no-install-suggests --no-install-recommends zip
unzip libglib2.0-dev libgtk2.0-dev libdbus-1-dev libdbus-glib-1-dev yasm
libasound2-dev libcurl4-openssl-dev libxt-dev mesa-common-dev autoconf
autoconf2.13 libtool hardening-wrapper libgstreamer-plugins-base0.10-dev
pkg-config g++ libpulse-dev
Then clone the Tor Browser source.
$ git clone https://git.torproject.org/tor-browser.git
Don't worry about the "can't checkout" error, because git branch -a
handles that.
$ cd tor-browser
$ git branch -a
$ git checkout remotes/origin/tor-browser-31.5.0esr-4.5-1
Generate the configure scripts.
$ make $CONFIGURE_ARGS -f client.mk configure
CONFIGURE_ARGS="--with-tor-browser-version=4.5a4
--enable-update-channel=alpha"
Disable Tor Browser update, because none is available.
nano /home/pi/tor-browser/.mozconfig
...
#ac_add_options --enable-tor-browser-update
...
Compile. It should take 6-7 hours at 100% CPU. I recommend cooling the
Pi 2 with a small fan, to prevent overheating and self-protective shutdown.
$ make $MAKEOPTS -f client.mk build
Now make Tor Browser (Firefox).
$ make -C obj-* package INNER_MAKE_PACKAGE=true
It will be at
/home/pi/tor-browser/obj-armv7l-unknown-linux-gnueabihf/dist/firefox.
Download tor-browser-linux32-4.5a4_en-US.tar.xz and extract in /home/pi/.
$ mv /home/pi/tor-browser-linux32-4.5a4_en-US.tar.xz /home/pi/
$ tar xvfJ tor-browser-linux32-4.5a4_en-US.tar.xz
$ cp -a
/home/pi/tor-browser/obj-armv7l-unknown-linux-gnueabihf/dist/firefox/*
/home/pi/tor-browser_en-US/Browser/
$ /home/pi/tor-browser_en-US/start-tor-browser
--
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk