make does not find X11 library (Ubuntu 18.04.3 LTS)
By David Jones •
I'm trying to run the make command to install the supermongo package:
but I get this error:
In file included from x11.c:20:0:
/usr/include/X11/Xlib.h:44:10: fatal error: X11/X.h: No such file or directory #include <X11/X.h> ^~~~~~~~~
compilation terminated.
Makefile:5: recipe for target 'x11.o' failedI've already installed all the required libraries, among which libx11-dev.
What am I missing?
1 Answer
(From the command apt-file search /X.h)
The package you're missing is x11proto-dev.
5