nlf / git-gh

github extensions for git
17 stars 2 forks source link

Error message when attempting to make #24

Closed sockdrawermoney closed 9 years ago

sockdrawermoney commented 9 years ago
gcc -Wall -O2 -std=gnu99 -c src/git-accept.c -o src/git-accept.o
src/git-accept.c:3:10: fatal error: 'json-c/json.h' file not found
#include <json-c/json.h>
         ^
1 error generated.
make: *** [src/git-accept.o] Error 1
sockdrawermoney commented 9 years ago

Still having this issue. Confirmed I attempted to install json-c with brew:

➜  git-gh (master) » brew install json-c iniparser
Warning: json-c-0.11 already installed
Warning: iniparser-3.1 already installed
➜  git-gh (master) » make                         
gcc -Wall -O2 -std=gnu99 -I/usr/local/Cellar/json-c/0.11/include/json-c  -c src/git-accept.c -o src/git-accept.o
src/git-accept.c:3:10: fatal error: 'json-c/json.h' file not found
#include <json-c/json.h>
         ^
1 error generated.
make: *** [src/git-accept.o] Error 1