Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 48c22d9

Browse files
authoredMar 26, 2019
Rollup merge of rust-lang#59334 - ewk:readme, r=Mark-Simulacrum
Update build instructions in README.md Add additional instructions when `sudo ./x.py install` fails to complete the build. This resolves issues rust-lang#40108 and rust-lang#49269. r? @steveklabnik
2 parents ec0b940 + 71dfb01 commit 48c22d9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎README.md

+16
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,22 @@ of the rustc-guide instead._
4545
$ ./x.py build && sudo ./x.py install
4646
```
4747

48+
If after running `sudo ./x.py install` you see an error message like
49+
50+
```
51+
error: failed to load source for a dependency on 'cc'
52+
```
53+
54+
then run these two commands and then try `sudo ./x.py install` again:
55+
56+
```
57+
$ cargo install cargo-vendor
58+
```
59+
60+
```
61+
$ cargo vendor
62+
```
63+
4864
> ***Note:*** Install locations can be adjusted by copying the config file
4965
> from `./config.toml.example` to `./config.toml`, and
5066
> adjusting the `prefix` option under `[install]`. Various other options, such

0 commit comments

Comments
 (0)
Please sign in to comment.