From a18702e89277e2833294f8de41f4a794d2a63711 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Tue, 8 Oct 2019 12:54:03 +0900 Subject: [PATCH] doc(README): call out the CGO build error fixes #6704 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6cecd707923..2f137e8b7ff 100644 --- a/README.md +++ b/README.md @@ -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).