26 lines
438 B
Markdown
26 lines
438 B
Markdown
|
|
# Build dependencies
|
||
|
|
|
||
|
|
## macOS
|
||
|
|
|
||
|
|
```sh
|
||
|
|
xcode-select --install
|
||
|
|
```
|
||
|
|
|
||
|
|
Then, download UTHash [here](https://github.com/troydhanson/uthash/archive/master.zip), and copy the contents of the `include` folder to `/usr/local/include`:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
sudo cp (/path/to/uthash-master)/include/* /usr/local/include
|
||
|
|
```
|
||
|
|
|
||
|
|
## Ubuntu/Debian
|
||
|
|
|
||
|
|
```sh
|
||
|
|
sudo apt install gcc git make uthash-dev
|
||
|
|
```
|
||
|
|
|
||
|
|
## Arch Linux
|
||
|
|
|
||
|
|
```sh
|
||
|
|
sudo pacman -S --needed gcc git make uthash
|
||
|
|
```
|