安装mupdf时出错

时间:2015-12-01 04:42:18

标签: git glfw mupdf

我在centos 6.5上安装mupdf,我运行了这些git命令     git clone git://git.ghostscript.com/mupdf.gitgit submodule update --init

这些成功运行。但是在命令中

make prefix=/usr/local install

我收到错误说

thirdparty/glfw/src/x11_platform.h:38:33: error: X11/Xcursor/Xcursor.h: No such file or directory
thirdparty/glfw/src/x11_platform.h:47:37: error: X11/extensions/Xinerama.h: No such file or directory.

我尝试从这里http://rpm.pbone.net/index.php3/stat/26/dist/79/size/324562/name/libXcursor-1.1.14-2.1.el6.src.rpm安装包libXcursor-1.1.14-2.1.el6.src.rpm,但没有运气。有什么建议吗?

1 个答案:

答案 0 :(得分:1)

尝试直接从存储库

安装软件包
sudo dnf install libXcursor libXcursor-devel libXinerama libXinerama-devel