Skip to content

Commit

Permalink
Add build-essentials note to build failures doc (#9641)
Browse files Browse the repository at this point in the history
Addresses
#9584 (comment)
  • Loading branch information
zanieb authored Dec 4, 2024
1 parent a6f5180 commit d4d6da1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/reference/build_failures.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,21 @@ If the build error mentions a missing command, for example, `gcc`:
Then, you'll need to install it with your system package manager, e.g., to resolve the error above:

```console
$ apt-get install gcc
$ apt install gcc
```

!!! note
!!! tip

When using the uv-managed Python versions, it's common to need `clang` installed instead of
`gcc`.

Many Linux distributions provide a package that includes all the common build dependencies.
You can address most build requirements by installing it, e.g., for Debian or Ubuntu:

```console
$ apt install build-essential
```

### Header or library is missing

If the build error mentions a missing header or library, e.g., a `.h` file, then you'll need to
Expand Down

0 comments on commit d4d6da1

Please sign in to comment.