mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Auto merge of #26127 - dralley:readme, r=jdm
Update README instructions for Fedora, remove Ubuntu 14.04 workarounds Fedora 31+ doesn't have python2-virtualenv, so using Python 3 with ```mach``` is required. Fedora 30 will be EOL within the next 6 weeks. Ubuntu 14.04 is no longer receiving upstream support: https://www.omgubuntu.co.uk/2019/04/ubuntu-14-04-end-of-life
This commit is contained in:
commit
2eb7c8c080
1 changed files with 3 additions and 35 deletions
38
README.md
38
README.md
|
@ -86,46 +86,14 @@ If you are using **Ubuntu 16.04** or **Linux Mint 18.*** run `export HARFBUZ
|
||||||
|
|
||||||
If you get an undefined symbol error on `gst_player_get_config` try removing `gir1.2-gst-plugins-bad-1.0` and all old versions of clang, see [#22016](https://github.com/servo/servo/issues/22016)
|
If you get an undefined symbol error on `gst_player_get_config` try removing `gir1.2-gst-plugins-bad-1.0` and all old versions of clang, see [#22016](https://github.com/servo/servo/issues/22016)
|
||||||
|
|
||||||
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>
|
|
||||||
|
|
||||||
#### On Fedora
|
#### On Fedora
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
sudo dnf install python2 python2-virtualenv python2-pip
|
sudo dnf install python3 python3-virtualenv python3-pip
|
||||||
./mach bootstrap
|
python3 ./mach bootstrap
|
||||||
```
|
```
|
||||||
|
|
||||||
If `./mach bootstrap` doesn't work, file a bug, and, run the commands below:
|
If `python3 ./mach bootstrap` doesn't work, file a bug, and, run the commands below:
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
sudo dnf install curl libtool gcc-c++ libXi-devel libunwind-devel \
|
sudo dnf install curl libtool gcc-c++ libXi-devel libunwind-devel \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue