M BUZZ CRAZE NEWS
// news

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' failed

I'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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy