doc(README): call out the CGO build error
fixes #6704
Steven Allen committed
Oct 8, 2019 at 12:54 UTC
4a3a7394c069c25044e30b02e90f75efdbc8dc12
1 file changed
+2
README.md
+2
@@ -181,6 +181,8 @@ $ make install
181
182
Alternatively, you can run `make build` to build the go-ipfs binary (storing it in `cmd/ipfs/ipfs`) without installing it.
183
184
+**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.
185
+
186
#### Troubleshooting
187
188
- Separate [instructions are available for building on Windows](docs/windows.md).