habit-vim icon indicating copy to clipboard operation
habit-vim copied to clipboard

Build error: pty.h: No such file or directory

Open nelstrom opened this issue 12 years ago • 3 comments
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

nelstrom avatar May 31 '13 15:05 nelstrom

Thanks for checking it out. What system/distribution are you using?

Baranowski avatar May 31 '13 16:05 Baranowski

I'm on os x.

nelstrom avatar May 31 '13 16:05 nelstrom

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)

Baranowski avatar May 31 '13 17:05 Baranowski