servo: Merge #12740 - Update readme to tell users how to overcome compile error on OS X (from changm:readme); r=pcwalton
authorMason Chang <mchang@mozilla.com>
Sun, 07 Aug 2016 21:06:13 -0500
changeset 388427 3478aa8b5033c884bdb72670183941a31e3833dd
parent 388426 324e067acd6c7a79a24779001920d42bbe88c9ea
child 388428 fbff82db52716111ef49973d0185f1c63e647941
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspcwalton
servo: Merge #12740 - Update readme to tell users how to overcome compile error on OS X (from changm:readme); r=pcwalton <!-- Please describe your changes on the following line: --> Just updates the README.md on how to get libavformat to link correctly on OS X for some systems. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ X] `./mach build -d` does not report any errors - [ X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ X] These changes do not require tests because it's a readme. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: fab2ab8b9e2c7f7a200f11a2b0ead259beac97df
servo/README.md
--- a/servo/README.md
+++ b/servo/README.md
@@ -29,16 +29,26 @@ sudo port install python27 py27-virtuale
 
 On OS X 10.11 (El Capitan), you also have to install openssl:
 
 ``` sh
 brew install openssl
 brew link --force openssl
 ```
 
+If you get this error:
+``` sh
+"Couldn't find libavformat", do the following:
+
+brew uninstall ffmpeg
+brew install ffmpeg --build-from-source
+./mach clean
+./mach build
+```
+
 If you've already partially compiled servo but forgot to do this step, run ./mach clean, link openssl, and recompile.
 
 On Debian-based Linuxes:
 
 ``` sh
 sudo apt-get install git curl freeglut3-dev autoconf \
     libfreetype6-dev libgl1-mesa-dri libglib2.0-dev xorg-dev \
     gperf g++ build-essential cmake virtualenv python-pip \