Linux and MacOS build preparation

  • Revision slug: Simple_Firefox_build/Linux_and_MacOS_build_preparation
  • Revision title: Linux_and_MacOS_build_preparation
  • Revision id: 329641
  • Created:
  • Creator: BrianDiPalma
  • Is current revision? No
  • Comment

Revision Content

One-Line Bootstrapping

You can attempt running our system bootstrapping script to install all system dependencies:

wget --no-check-certificate https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py && python bootstrap.py

If this works, great! If not, see the appropriate section below. If you encounter an error, consider filing a bug saying that the bootstrapper didn't work. Please include output and relevant operating system details.

Common Bootstrapper Failures

Missing wget
wget: command not found

If you see the above, you don't have wget installed. Try curl:

curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py > bootstrap.py && python bootstrap.py

If you don't have curl, download the file in your browser and run it by hand:

python bootstrap.py

Linux

The above bootstrap scripts supports popular Linux distributions. If it doesn't work for you, see Linux build prerequisites for more.

Mac

The above bootstrap script should work on OS X 10.6 and newer. If it doesn't, see Mac OS X build prerequisites.

 

Now you are ready to get the Firefox source and build, continue on from Simple Firefox build (Get_the_source).

Revision Source

<h3 id="One-Line_Bootstrapping">One-Line Bootstrapping</h3>
<p>You can attempt running our system bootstrapping script to install all system dependencies:</p>
<pre>
<span class="difflineplus">wget --no-check-certificate https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py &amp;&amp; python bootstrap.py</span></pre>
<p><span class="difflineplus">If this works, great! If not, see the appropriate section below.</span> If you encounter an error, consider <a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&amp;component=Build%20Config" title="https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&amp;component=Build%20Config">filing a bug</a> saying that the bootstrapper didn't work. Please include output and relevant operating system details.</p>
<h4 id="Common_Bootstrapper_Failures">Common Bootstrapper Failures</h4>
<h5 id="Missing_wget">Missing wget</h5>
<pre class="bz_comment_text" id="comment_text_0">
wget: command not found</pre>
<p>If you see the above, you don't have wget installed. Try curl:</p>
<pre class="bz_comment_text" id="comment_text_0">
curl <span class="difflineplus">https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py &gt; bootstrap.py &amp;&amp; python bootstrap.py</span></pre>
<p><span class="difflineplus">If you don't have curl, download the file in your browser and run it by hand:</span></p>
<pre>
<span class="difflineplus">python bootstrap.py</span></pre>
<h3 id="Linux">Linux</h3>
<p>The above bootstrap scripts supports popular Linux distributions. If it doesn't work for you, see <a href="/En/Developer_Guide/Build_Instructions/Linux_Prerequisites" title="https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Linux_Prerequisites">Linux build prerequisites</a> for more.</p>
<h3 id="Mac">Mac</h3>
<p>The above bootstrap script should work on OS X 10.6 and newer. If it doesn't, see <a class="internal" href="/En/Developer_Guide/Build_Instructions/Mac_OS_X_Prerequisites" title="en/Mac_OS_X_Build_Prerequisites">Mac OS X build prerequisites</a>.</p>
<p>&nbsp;</p>
<p>Now you are ready to get the Firefox source and build, continue on from <a href="/en-US/docs/Simple_Firefox_build#Get_the_source" title="/en-US/docs/Simple_Firefox_build#Get_the_source">Simple Firefox build (Get_the_source).</a></p>
Revert to this revision