我正在尝试运行 make 命令来安装 supermongo 包:
https://www.astro.princeton.edu/~rhl/sm/sm.html
但我收到此错误:
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
我已经安装了所有必需的库,其中包括libx11-dev
。我还缺少什么?
答案1
(来自命令apt-file search /X.h
)
您缺少的包裹是x11proto-dev。