doc(README): call out the CGO build error

fixes #6704
This commit is contained in:
Steven Allen 2019-10-08 12:54:03 +09:00
parent a8bcecefdd
commit 4a3a7394c0

View File

@ -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).