Skip to content

Commit

Permalink
doc(README): call out the CGO build error
Browse files Browse the repository at this point in the history
fixes ipfs#6704
  • Loading branch information
Stebalien authored and Walter Beegle committed Jun 6, 2020
1 parent db63cea commit a18702e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ $ make install

Alternatively, you can run `make build` to build the go-ipfs binary (storing it in `cmd/ipfs/ipfs`) without installing it.

**NOTE:** If you get an error along the lines of "fatal error: stdlib.h: No such file or directory", you're missing a C compiler. Either re-run `make` with `CGO_ENABLED=0` or install GCC.

#### Troubleshooting

- Separate [instructions are available for building on Windows](docs/windows.md).
Expand Down

0 comments on commit a18702e

Please sign in to comment.