habit-vim
habit-vim copied to clipboard
Build error: pty.h: No such file or directory
trafficstars
I just cloned this repo and ran into this error when running make:
$ make
gcc -O2 src/wrapper.c -lutil -o bin/wrapper
src/wrapper.c:15:17: error: pty.h: No such file or directory
make: *** [bin/wrapper] Error 1
Thanks for checking it out. What system/distribution are you using?
I'm on os x.
Sorry, for now I just want to focus on Linux, especially that it does not offer yet any functionality other than keylogging.
You might be able to build it, though, by replacing
#include <pty.h>
with:
#include <util.h>
in src/wrapper.c and then using
gcc -O2 src/wrapper.c -o bin/wrapper
to compile it (note that there is no -lutil)