mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Note that trusty needs some extra deps
This commit is contained in:
parent
e72e08ea9c
commit
10970be612
1 changed files with 31 additions and 1 deletions
32
README.md
32
README.md
|
@ -97,7 +97,37 @@ Additionally, you'll need a local copy of GStreamer with a version later than 12
|
|||
|
||||
If you are using **Ubuntu 16.04** run `export HARFBUZZ_SYS_NO_PKG_CONFIG=1` before building to avoid an error with harfbuzz.
|
||||
|
||||
If you are on **Ubuntu 14.04** and encountered errors on installing these dependencies involving `libcheese`, see [#6158](https://github.com/servo/servo/issues/6158) for a workaround.
|
||||
If you are on **Ubuntu 14.04** and encountered errors on installing these dependencies involving `libcheese`, see [#6158](https://github.com/servo/servo/issues/6158) for a workaround. You may also need to install gcc 4.9, clang 4.0, and cmake 3.2:
|
||||
|
||||
<details>
|
||||
gcc 4.9:
|
||||
|
||||
```sh
|
||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||
sudo apt-get update
|
||||
sudo apt-get install gcc-4.9 g++-4.9
|
||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
|
||||
```
|
||||
|
||||
clang 4.0:
|
||||
|
||||
```sh
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
sudo apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main"
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y clang-4.0
|
||||
```
|
||||
|
||||
cmake 3.2:
|
||||
|
||||
```sh
|
||||
sudo apt-get install software-properties-common
|
||||
sudo add-apt-repository ppa:george-edison55/cmake-3.x
|
||||
sudo apt-get update
|
||||
sudo apt-get install cmake
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
If `virtualenv` does not exist, try `python-virtualenv`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue